On Sun, Feb 21, 2010 at 1:49 PM, Tony Rick <[email protected]> wrote:

> On Sun, Feb 21, 2010 at 1:29 PM, Lex Trotman <[email protected]> wrote:
>
>>
>>> Weird, never noticed that finishing the input with Space works as well.
>>> Anyway, the note about unbinding Ctrl-Shift-u in the preferences was
>>> added because in older versions we accidently used Ctrl-Shift-u as
>>> default for another keybinding. Maybe the note could be changed to
>>> reflect that.
>>> However, I don't get it to insert a line break even when using
>>> Enter/Return to finish the Unicode input.
>>>
>>
>>
>> Enrico, I think the problem is that the manual says let go ctrl-shift
>> before typing return, holding ctrl-shift and typing return inserts the
>> Unicode point without the return but any character, including return, typed
>> after releasing the ctrl-shift inserts the Unicode point and itself.  I
>> thought this was a feature :-D
>>
>> Cheers
>> Lex
>>
>
> I realized about holding ctrl-shift for the Enter/Return, and just figured
> that I mis-read the the manual (without actually checking), but Lex beat me
> to the punch. I guess this is a doc modification, too.  I'll do it, unless
> somebody else beat me to that, too.
>
> - tony
>
>

...and here's the patch for the manual (against revision 4688).

- tony
Index: geany.txt
===================================================================
--- geany.txt	(revision 4688)
+++ geany.txt	(working copy)
@@ -1064,14 +1064,18 @@
 
 With GTK 2.10 and above, you can insert Unicode code points by hitting
 Ctrl-Shift-u, then still holding Ctrl-Shift, type some hex digits representing
-the code point for the character you want, then let go of Ctrl-Shift and
-hit Enter or Return.
+the code point for the character you want and hit Enter or Return (still
+holding Ctrl-Shift). If you release Ctrl-Shift before hitting Enter or Return
+(or any other character), the code insertion is completed, but the typed
+character is also entered.  In the case of Enter/Return, it is a newline, as
+you might expect.
+ 
 
-For this to work in Geany, you'll need to first unbind Ctrl-Shift-u
+In some earlier versions of Geany, you might need to first unbind Ctrl-Shift-u
 in the `keybinding preferences`_, then select *Tools->Reload Configuration*
 or restart Geany. Note that it works slightly differently from other GTK
 applications, in that you'll need to continue to hold down the Ctrl and Shift
-keys while typing the code point hex digits.
+keys while typing the code point hex digits (and the Enter or Return to finish the code point).
 
 For GTK < 2.10, it is also possible, but typing the first Ctrl-Shift-u
 is not necessary. One problem is that you may find the alphabetic
_______________________________________________
Geany-devel mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Reply via email to