Kaydet (Commit) ca464c2c authored tarafından Enrico Tröger's avatar Enrico Tröger

Fix regression: clear all styles for filetype None to not break the 'invert_all' option.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3071 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 42cd5f15
2008-10-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c:
Fix regression: clear all styles for filetype None to not break
the 'invert_all' option.
2008-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/search.c:
......
......@@ -1914,6 +1914,10 @@ static void styleset_none(ScintillaObject *sci)
set_sci_style(sci, STYLE_DEFAULT, GEANY_FILETYPES_NONE, GCS_DEFAULT);
/* we need this to clear any other styles than STYLE_DEFAULT, otherwise the
* "invert_all" option breaks */
SSM(sci, SCI_STYLECLEARALL, 0, 0);
SSM(sci, SCI_SETWORDCHARS, 0, (sptr_t) common_style_set.wordchars);
SSM(sci, SCI_SETWHITESPACECHARS, 0, (sptr_t) whitespace_chars);
}
......
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