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

Changed foreground colour for LaTeX sytle "math" to differentiate it from the "comment" style.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@870 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst ac359bc3
......@@ -4,6 +4,9 @@
* src/filetypes.c, src/document.c:
Implemented simple "shebang" detection. It is used prior to the
filename extension detection.
* src/highlighting.c, data/filetypes.latex:
Changed foreground colour for LaTeX sytle "math" to differentiate it
from the "comment" style.
2006-10-04 Enrico Tröger <enrico.troeger@uvena.de>
......
......@@ -4,7 +4,7 @@
default=0x00002f;0xffffff;false;false
command=0xff0000;0xffffff;true;false
tag=0x007f7f;0xffffff;true;false
math=0x007f00;0xffffff;false;false
math=0x00007f;0xffffff;false;false
comment=0x007f00;0xffffff;false;true
[keywords]
......
......@@ -858,7 +858,7 @@ static void styleset_latex_init(void)
get_keyfile_hex(config, config_home, "styling", "default", "0x00002f", "0xffffff", "false", &style_sets[GEANY_FILETYPES_LATEX].styling[0]);
get_keyfile_hex(config, config_home, "styling", "command", "0xff0000", "0xffffff", "true", &style_sets[GEANY_FILETYPES_LATEX].styling[1]);
get_keyfile_hex(config, config_home, "styling", "tag", "0x007f7f", "0xffffff", "true", &style_sets[GEANY_FILETYPES_LATEX].styling[2]);
get_keyfile_hex(config, config_home, "styling", "math", "0x007f00", "0xffffff", "false", &style_sets[GEANY_FILETYPES_LATEX].styling[3]);
get_keyfile_hex(config, config_home, "styling", "math", "0x00007f", "0xffffff", "false", &style_sets[GEANY_FILETYPES_LATEX].styling[3]);
get_keyfile_hex(config, config_home, "styling", "comment", "0x007f00", "0xffffff", "false", &style_sets[GEANY_FILETYPES_LATEX].styling[4]);
style_sets[GEANY_FILETYPES_LATEX].keywords = g_new(gchar*, 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