The Geany automatic closing of typed ", ', (, [ and { isn't working very well.
For e.g. typing

void main() {
}

results in

void main() {
    })

Above the automatically inserted closing parenthesis stays after the cursor when I type the closing parenthesis and so it is moving while typing at the very end, after the curly braces.

Or typing the following, the automatically inserted closing double quote moves with the cursor.
std::string d = "asdf";
results in
std::string d = "asdf";""

This is only circumventable with using the arrow keys or clicking with the mouse after the automatically inserted closing character.

Furthermore automatically inserting isn't working if Geany somehow finds a closing character somewhere else, e.g. inside the above example curly braces void main() {} typing:
if() {
doesn't add an closing brace as it find the closing from the main.

As I love to use Geany in my everday work this would be a very valuable improvement. So I wouldn't need need to compile my own better Geany every now and then.


You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/2943

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.