#402 behaviour when inserting Unicode chars with CTRL+SHIFT+U

closed-works-for-me
nobody
None
5
2012-09-14
2009-11-20
u.l.m.o
No

GTK apps let you input Unicode characters directly using CTRL+SHIFT+U+<keycode>. This works in Geany, too, but the behaviour is different from other GTK apps and could be improved.

other GTK apps:
Press and hold CTRL+SHIFT. Press and release U to start 'unicode input mode'. Now type <keycode>, still holding CTRL+SHIFT. Release CTRL+SHIFT to leave the input mode and the character will appear.

Geany:
Exactly the same as above, but after releasing CTRL+SHIFT you have to confirm your input with ENTER.

Clearly, the last keypress (ENTER) isn't needed, as the release of CTRL+SHIFT already indicates that the keycode sequence is finished.

---
geany 0.18 (built on Aug 24 2009 with GTK 2.17.7, GLib 2.21.4), Xubuntu 9.10

Discussion

  • Enrico Tröger

    Enrico Tröger - 2010-01-24

    The described behaviour only affects the editor widget. Other widgets like the search field in the toolbar or other text fields in various dialogs and the scribble in the messages window behave correctly (like default GTK).

    The reason is that the Unicode input method is differently implemented in Scintilla. If ever, this has to be changed in Scintilla. So it'd be cool if you could replay this request to the Scintilla project. Thanks.

    For the time being, the difference in behaviour is already documented in Geany's documentation which doesn't solve the problem but at least tells how to use it.

     
  • Lex Trotman

    Lex Trotman - 2012-09-14

    On Geany 1.23 (git >= c05f1bd) on Linux Mint both behaviors work, <ctrl>+<shift>u and hold the <ctrl>+<shift> while typing the code enters the character when <ctrl>+<shift> is released, typing <ctrl>+<shift>+u then releasing the <ctrl>+<shift> and typing the code requires the return to signal the code end.

     
  • Lex Trotman

    Lex Trotman - 2012-09-14
    • status: open --> closed-works-for-me
     

Log in to post a comment.