Mark Smith wrote:

> here’s an odd pasting issue I ran into the other day. To cut to the
> chase, basically I can make a field become unmodifiable with respect
> to TEXT parameters (excluding align) by pasting anything from Apples
> TextEdit tool into the field.

By what means were you attempting to modify the text styles?

If you modify the text styling properties of the field object itself, remember that style runs within the field will override those.

You could have your script paste with putting the clipboardData["text"] into the selection, and you can strip style runs to inherit field properties with "put fld X into fld X".

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to