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

Fix segfault when setting Lua filetype.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1184 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 23d856ae
......@@ -3,6 +3,8 @@
* src/treeviews.c, src/treeviews.h, src/symbols.c, po/POTFILES.in:
Move treeviews_init_tag_list() and symbol list GtkTreeIters to
symbols.c.
* src/highlighting.c:
Fix segfault when setting Lua filetype.
2007-01-13 Enrico Tröger <enrico.troeger@uvena.de>
......
......@@ -2899,7 +2899,7 @@ void styleset_lua(ScintillaObject *sci)
SSM(sci, SCI_SETKEYWORDS, 6, (sptr_t) style_sets[GEANY_FILETYPES_LUA].keywords[6]);
SSM(sci, SCI_SETKEYWORDS, 7, (sptr_t) style_sets[GEANY_FILETYPES_LUA].keywords[7]);
set_sci_style(sci, STYLE_DEFAULT, GEANY_FILETYPES_VHDL, 0);
set_sci_style(sci, STYLE_DEFAULT, GEANY_FILETYPES_LUA, 0);
set_sci_style(sci, SCE_LUA_DEFAULT, GEANY_FILETYPES_LUA, 0);
set_sci_style(sci, SCE_LUA_COMMENT, GEANY_FILETYPES_LUA, 1);
set_sci_style(sci, SCE_LUA_COMMENTLINE, GEANY_FILETYPES_LUA, 2);
......
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