silly text editing question

Richmond Mathewson geradamas at yahoo.com
Thu Mar 19 13:01:39 CDT 2009


This is better:

on returnInField
  put "char" && the mouseChar && "of " && the mouseline into fld "fWHERE"
end returnInField

as it will give a selected character as well as its location.

This is even better:

on returnInField
  put "Text" && quote & the selectedText & quote && "of " && the mouseline into fld "fWHERE"
end returnInField

as it will give selected text as well as its location.

sincerely, Richmond Mathewson.
____________________________________________________________

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


      



More information about the use-livecode mailing list