[etoys-dev] How can I color one character of text?

Steve Thomas sthomas1 at gosargon.com
Thu Mar 14 21:57:21 EDT 2013


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 at gosargon.com> 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 <bert at freudenbergs.de>wrote:
>
>> On 2013-03-15, at 01:05, Steve Thomas <sthomas1 at gosargon.com> 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 -
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakland.org/pipermail/etoys-dev/attachments/20130314/b6f87b6a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-14.png
Type: image/png
Size: 38203 bytes
Desc: not available
URL: <http://lists.squeakland.org/pipermail/etoys-dev/attachments/20130314/b6f87b6a/attachment-0001.png>


More information about the etoys-dev mailing list