Re: [etoys-dev] How can I color one character of text?
Steve Thomas <sthomas1-gQhbkF4bah9Wk0Htik3J/[email protected]> Thu, 14 Mar 2013 21:57:21 -0400
| Newsgroups | gmane.comp.lang.smalltalk.squeak.squeakland |
|---|---|
| Message-ID | <CAGa9PAYu8EAXEnqJvsG4iy8eQfK13xMOcJ-npFnK4pq99Z+_2A@mail.gmail.com> |
Version 2 - Picture Words Steve Thomas<http://www.youtube.com/user/sthomastt?feature=em-share_video_user> has shared a video with you on YouTube Version 2 - Picture Words <http://www.youtube.com/watch?v=hrav83VWg3A&feature=em-share_video_user> Picture Words <http://www.youtube.com/watch?v=hrav83VWg3A&feature=em-share_video_user> by Steve Thomas<http://www.youtube.com/user/sthomastt?feature=em-share_video_user> Type in the Word represented by the Picture Help center <http://support.google.com/youtube/> • Email options<http://www.youtube.com/account_notifications?feature=em-share_video_user> • Report spam<http://www.youtube.com/email_spam?v=1a&c=SZIbb_-aEl_Y-S-kQQ9nYSHOT_P995nnHfCqUBTvhPJQNAk14x_EfiaQiR20St_cSL_tkVul5XK4glbv87ErFsgC5VIOinSZpKFcN4nUcaUIRxdTiUBXoswUdzIIOItMxL_4tt7VtnFi1QEa3IV3vGkskVYyDJJEWzEn7S_ym8UnhcOLILKZqF9Kap_Gn_SDiaukmeP6yu04BkobQT0TXm4F1M6PnlYzvkOEo0jl-14cZquOsqMFEw==> ©2013 YouTube, LLC 901 Cherry Ave, San Bruno, CA 94066 On Thu, Mar 14, 2013 at 8:58 PM, Steve Thomas <sthomas1-gQhbkF4bah9Wk0Htik3J/[email protected]> wrote: > > > Steve Thomas<http://www.youtube.com/user/sthomastt?feature=em-share_video_user> has > shared a video with you on YouTube > Thank you Bert!!! > <http://www.youtube.com/watch?v=fm0ZG7rOX2M&feature=em-share_video_user> > Word Balloons in Etoys > <http://www.youtube.com/watch?v=fm0ZG7rOX2M&feature=em-share_video_user> > by Steve Thomas<http://www.youtube.com/user/sthomastt?feature=em-share_video_user> > Teachers and Students can enter a list of words to practice typing, word > and letter recognition. > Help center <http://support.google.com/youtube/> • Email options<http://www.youtube.com/account_notifications?feature=em-share_video_user> > • Report spam<http://www.youtube.com/email_spam?v=1a&c=cGPZIB4swwbpICNhBVyoE9ta0uEuqwXB3IHhYCkxkUkYexAmNgUhHCAUMJPKWolK0-11otHt6ONzRzcesTdK2rCL6ySzbATxAjE01XXBIoJqsN2rvmG_yYZo56TVscrrnOacR5YseKWMXMtCuClsKZ0WlgMGK0i5_ls_aVqbeVwOEJX5zXf4NL9oVa7oIF3bsde7N8K5cL_qDHq_y5maUbUsCieMGl68> > ©2013 YouTube, LLC 901 Cherry Ave, San Bruno, CA 94066 > > On Thu, Mar 14, 2013 at 8:25 PM, Bert Freudenberg <[email protected]>wrote: > >> On 2013-03-15, at 01:05, Steve Thomas <sthomas1-gQhbkF4bah9Wk0Htik3J/[email protected]> wrote: >> >> I am working on a word recognition/typing program in Etoys for Haiti. >> (and anyone else who needs it). >> >> I need to be able to change the color of the character at cursor. >> >> How can I do this? (squeak code is fine) >> >> >> >> >> >> setColorAtCursor: color >> | m | >> m := self costume renderedMorph. >> m text >> addAttribute: (TextColor color: color) >> from: m cursor >> to: m cursor. >> m changed >> >> - Bert - >> >> >> > _______________________________________________ squeakland mailing list [email protected] http://lists.squeakland.org/mailman/listinfo/squeakland
PastedGraphic-14.png
(image/png, 37.3 KB) - not displayed