codebrainz commented on this pull request.
@@ -2289,6 +2290,32 @@ static gint get_fold_header_after(ScintillaObject *sci, gint line)
}
+/* returns the line after following all brace match for @brace on @line */ +static gint resolve_matching_braces(ScintillaObject *sci, gint line, gint brace)
The `brace` parameter could be a `gchar` even though it's passed an int (char constant) below, it's always ASCII `(` and compared below against a `char` returned from `sci_get_char_at()`. No big deal though, obviously, just a `gchar` is more readable since it's semantically a character and not an int (which is used in Geany for lots of other stuff, sizes, byte offsets, enums, etc).