On 3/31/13 9:34 AM, Richmond wrote:
In Unicode textField the back arrow won't send the cursor back (i.e.
leftwards) where a character
has a subscripted character: that is to say, one character followed by
another that is offset to appear
below rather than after the preceding one.
Is it just me, or what with font substitution in Windows and the back
arrow thing, something
is not quite right?
I tried this:
on rawKeyDown RAWK
set the useUnicode to true
switch RAWK
case 65361
set the unicodeText of the selectedText to numToChar(65361)
break
default
pass rawKeyDown
end switch
end rawKeyDown
and on pressing the back arrow a 'q' appears in a daft place in the text
. . . very jolly!
Probably because you aren't passing the rawKeyDown after changing the
text. That may not fix the display issue but it should work to recognize
the arrow key.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode