On 3/26/17 7:14 AM, Richmond Mathewson via use-livecode wrote:
Cripes . . . Now how was I to know that:
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?
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/ f