Undos (vs. text alignment) [was: Script Editor]

Richmond Mathewson geradamas at yahoo.com
Sun May 25 10:03:41 EDT 2008


If I use the following script:

get the selectedText of fld "fTEXT"
  set the textColor of the selectedText to green

it does what I expect it to (sets the textColor to the
selected part of the text in fld "fTEXT" to green)

BUT the following script:

get the selectedText of fld "fTEXT"
  set the textAlign of the selectedText to right

does NOT do what I expect it to (right-align the
selected part of the text in fld "fTEXT")

which is a bit of a b****r, and seems a bit
inconsistent.

sincerely, Richmond Mathewson

____________________________________________________________

A Thorn in the flesh is better than a failed Systems Development Life Cycle.
____________________________________________________________


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html



More information about the use-livecode mailing list