Re: The Cat ate my mouse

2018-06-16 Thread Richmond Mathewson via use-livecode
Thanks. Richmond. On 16/6/2018 10:47 pm, dunbarxx via use-livecode wrote: Richmond. Say you have a field 1 with text in it. on mouseUp select after char 12 of fld 1 put the number of words of char 1 to (word 2 of the selectedChunk)of fld 1 into numWords select before word numWords o

Re: The Cat ate my mouse

2018-06-16 Thread dunbarxx via use-livecode
Richmond. Say you have a field 1 with text in it. on mouseUp select after char 12 of fld 1 put the number of words of char 1 to (word 2 of the selectedChunk)of fld 1 into numWords select before word numWords of fld 1 -- or after end mouseUp -- Sent from: http://runtime-revolution.27830

The Cat ate my mouse

2018-06-16 Thread Richmond Mathewson via use-livecode
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 inserti