Back Arrow
J. Landman Gay
jacque at hyperactivesw.com
Sun Mar 31 15:15:54 EDT 2013
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 | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list