text color

Mike Bonner bonnmike at gmail.com
Mon Nov 21 20:31:15 EST 2011


you can "set the textcolor of the selection to red"

Be aware though, if you just have an insertion point in the field, and set
the textcolor of the selection to red, any typing done afterwards will be
red.  If this isn't what you desire you'll probably want to check to see
what is selected so you can avoid this behavior.

On Mon, Nov 21, 2011 at 6:31 PM, John Brozycki <johnb at hvc.rr.com> wrote:

> Is it possible to select text in a field and change the text or highlight
> color of JUST the selected text?  I realize I could do this with HTML (
> such as
> <FONT COLOR="#000000">) but what if you are trying to highlight and
> display HTML source, and thus the field is plaintext so that HTML commands
> display instead of being rendered in the field?
>
> find string... - only provides a highlight box around sequential searches
> for the text, and in the same color of the text.
>
> set the textColor of field x... - changes the color for the entire field.
>
> Any suggestions greatly appreciated!
>
> Thanks,
> John
> _______________________________________________
> 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