Colouring words
    dunbarx at aol.com 
    dunbarx at aol.com
       
    Mon Aug 10 12:53:03 EDT 2015
    
    
  
Richmond.
I see, you wanted to use the literal word as a chunk expression. But you surely know this is not valid in LC, and will have to use the wordOffset or something similar so you can get an actual valid chunk.
Craig
-----Original Message-----
From: Richmond <richmondmathewson at gmail.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Mon, Aug 10, 2015 7:40 am
Subject: Colouring words
what is wrong with this:
if line 5 of fld "WHAT" contains "only" then
      
set the textColor of "only" in line 5 of fld "WHAT" to red
          end
if
???
I would like to set certain phrases in a sentence to a different
textColor to the other words . . .
. . . should be dead
easy.
Richmond.
_______________________________________________
use-livecode
mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe,
unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
 
    
    
More information about the use-livecode
mailing list