For a fluent coding I love to not change my hand position to use the arrow keys! I realy like auto-closing.
If I activate the auto closing brackets, braces, parenthesis and quotes feature, the closing characters are inserted, but to continue after these, the arrow keys are necessary.
The modification I made: if autoclosing AND consuming is activated in options, if a closing character is typed and the following character matches this, not both characters stay - one deleted - curr pos afterwards.
Example: the | marks the curr position:
"|" "hallo|" [Then the " is hit] "hallo"|
The " is reachable without changing hand pos. Same for the other "autoclosers".
I saw this in other IDEs and I want it in my Geany.
I don't know about internationatlization, so this is an incomplete feature. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2122
-- Commit Summary --
* Consume closing brackets, braces, parenthesis, single and double quotes
-- File Changes --
M data/geany.glade (239) M scintilla/include/Scintilla.h (1) M scintilla/src/Editor.cxx (5) M src/editor.c (67) M src/editor.h (1) M src/keyfile.c (2) M src/prefs.c (43) M src/sciwrappers.c (9) M src/sciwrappers.h (3)
-- Patch Links --
https://github.com/geany/geany/pull/2122.patch https://github.com/geany/geany/pull/2122.diff