The Cat ate my mouse

Richmond Mathewson richmondmathewson at gmail.com
Sat Jun 16 19:54:06 CEST 2018


So I am trying to make a text editor in LiveCode that
NEVER uses a mouse (pace the late, great Jeff Raskin).

Not a big problem selecting fields, and positions inwith text in fields 
using
keyUps trapping F-keys.

What IS a problem is HOW to select an word either before or after where
the insertion point has been positioned.

3 glasses of dry white wine fantasy in best alcoholic pseudocode following:

on rawKeyUp RUP
   if RUP = 65470 then
      select after word 1 of field "TEKST"
select the word before the selected
      delete
  else
  pass rawKeyUp
  end if

Richmond.


More information about the use-livecode mailing list