Kaydet (Commit) dbb805a0 authored tarafından Nick Treleaven's avatar Nick Treleaven

Improve wrong brace highlighting of non-brace character.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3958 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 093bb17b
......@@ -6,6 +6,8 @@
(thanks).
* src/filetypes.c:
Reload filetypes.common after saving it.
* src/editor.c:
Improve wrong brace highlighting of non-brace character.
2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
......
......@@ -3059,6 +3059,9 @@ static gboolean delay_match_brace(G_GNUC_UNUSED gpointer user_data)
return FALSE;
}
}
if (!utils_isbrace(sci_get_char_at(editor->sci, brace_pos), editor_prefs.brace_match_ltgt))
return FALSE;
end_pos = sci_find_matching_brace(editor->sci, brace_pos);
if (end_pos >= 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment