Computer Science Canada colouring a single word |
Author: | josh [ Mon Apr 12, 2004 9:06 am ] | ||
Post subject: | colouring a single word | ||
How do you make it so that one word in a sentance is differnt than the next?
How would I make the word "went" a different colour than the rest of the sentance? |
Author: | Raugrist [ Mon Apr 12, 2004 9:22 am ] | ||||
Post subject: | Re: colouring a single word | ||||
rhysticlight wrote: How do you make it so that one word in a sentance is differnt than the next?
How would I make the word "went" a different colour than the rest of the sentance? Like this pretty much:
Which sucks pretty much. You could also (maybe) split the setence up into an array where each cell is a word, but that's pretty ugly. But why do you want each word in a sentence to be a different colour? That could have a really ugly look. |
Author: | Paul [ Mon Apr 12, 2004 9:23 am ] |
Post subject: | |
put "bob".. colour(10)put" went".. colour (1)put " to the house." |
Author: | josh [ Mon Apr 12, 2004 9:50 am ] |
Post subject: | |
kk thanx I jsut want to colour one word in a sentancde like bolding it to make it stand out. |
Author: | Delos [ Tue Apr 13, 2004 4:36 pm ] | ||
Post subject: | |||
Will only work for one incidence of 'key'. |
Author: | josh [ Tue Apr 13, 2004 4:47 pm ] |
Post subject: | |
that seems like alot of work to just bold one owrd, but thanx for the sugestion. I already did it the other way and it worked. |