Paste Text and impossibility of changing the foregroundcolor

Reinhold Venzl-Schubert r.venzl-schubert at macbay.de
Wed Jul 21 10:20:48 EDT 2010


Hi!

I needed long a time until I found the reason why I can not change the foregroundcolor (textcolor) of a textfield.
When I simply insert text with "paste text" into a textfield, the font of the field will be ignored. Only when I use "paste unformatted" the text get the font that is adjusted in the field properties.

Is there any possibility to use unformatted pasting all time as preference to avoid those mistakes?
There is no shortcut to use "paste unformatted"
It is very circumstantially to change the textfont subsequently. A field that has got pasted one time by an formatted test is like infected by this format. You cannot simple delete the text and paste again unformatted. It does not help. Sometimes it helps to copy the content of a not infected field into it. Very often the only possibility is to delete the whole card and create a new one.

Do anybody knows some code to fix this nervy thing?

Thanks
Reinhold




More information about the use-livecode mailing list