Removing text styles

Jeanne A. E. DeVoto jeanne at runrev.com
Tue Jun 10 01:16:19 EDT 2003


At 8:31 AM -0700 6/5/03, Jim Hurley wrote:
>When I run the following handler, the style of the text is not plain.
>It retains the text shift.

The textShift isn't affected by the textStyle; they're independent properties.

To get rid of superscripting and subscripting, set the textShift of the
chunk to zero:

  set the textShift of char 3 of field 1 to zero

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - Software at the Speed of Thought
http://www.runrev.com/





More information about the use-livecode mailing list