@elextr commented on this pull request.
In src/editor.c:
> static void auto_close_chars(ScintillaObject *sci, gint pos, gchar c) { const gchar *closing_char = NULL; - gint end_pos = -1; - - if (utils_isbrace(c, 0)) - end_pos = sci_find_matching_brace(sci, pos - 1);
I investigated what Eclipse does, it autocompletes {
only when return is typed after it so
if(blah){
becomes
if(blah){
|
}
where | is cursor.
This works pretty well, for me anyway, but its significantly different to the current Geany autocomplete. Maybe the second commit using return after {
can be modified to do autocomplete instead of on {
additional alternative to current behaviour.
—
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.