Cripes . . . Now how was I to know that:
onrawKeyUp KUP
switchKUP
case65288
iffld "Blah" is empty then
--do nix---
else
deletetheselectedText
endif
break
default
passrawKeyUp
endswitch
endrawKeyUp
would work, while the same nonsense inside a rawKeyDown thing ended up
with egg salad?
Talk about "under-documented".
Further muffled, rude noises, Richmond.
On 3/26/17 3:05 pm, Richmond Mathewson wrote:
Good! That caught your attention!
But, something a lot more prosaic, but important nonetheless:
If I have a SWITCH like this:
on rawKeyDown RAWK
switch RAWK
case 65288
set the text of the selectedText to numToCodepoint(65288)
break
end switch
end rawKeyDown
why do I get a /space/ followed by "(", and NOT a simple case of
the preceding character being deleted?
8.1.3 Mac OS 10.7.5
Muffled rude noises in background, Richmond.
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode