From 42cf319ea54be6faaae71b016f4dd5598a059a9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Sat, 11 Mar 2006 02:35:18 +0000 Subject: [PATCH] added key "key" to filetype Conf and changed colours to fit with changed lexer git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@248 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- src/highlighting.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/highlighting.c b/src/highlighting.c index 7700c88f..4f2dc3d5 100644 --- a/src/highlighting.c +++ b/src/highlighting.c @@ -1384,8 +1384,9 @@ static void styleset_conf_init(void) styleset_get_hex(config, "styling", "default", "0x00007f", "0xffffff", "false", types[GEANY_FILETYPES_CONF]->styling[0]); styleset_get_hex(config, "styling", "comment", "0x808080", "0xffffff", "false", types[GEANY_FILETYPES_CONF]->styling[1]); styleset_get_hex(config, "styling", "section", "0x900000", "0xffffff", "true", types[GEANY_FILETYPES_CONF]->styling[2]); - styleset_get_hex(config, "styling", "assignment", "0x000000", "0xffffff", "false", types[GEANY_FILETYPES_CONF]->styling[3]); - styleset_get_hex(config, "styling", "defval", "0x7f0000", "0xffffff", "false", types[GEANY_FILETYPES_CONF]->styling[4]); + styleset_get_hex(config, "styling", "key", "0x7f0000", "0xffffff", "false", types[GEANY_FILETYPES_CONF]->styling[3]); + styleset_get_hex(config, "styling", "assignment", "0x000000", "0xffffff", "false", types[GEANY_FILETYPES_CONF]->styling[4]); + styleset_get_hex(config, "styling", "defval", "0x7f0000", "0xffffff", "false", types[GEANY_FILETYPES_CONF]->styling[5]); types[GEANY_FILETYPES_CONF]->keywords = NULL; @@ -1408,8 +1409,9 @@ void styleset_conf(ScintillaObject *sci) styleset_set_style(sci, SCE_PROPS_DEFAULT, GEANY_FILETYPES_CONF, 0); styleset_set_style(sci, SCE_PROPS_COMMENT, GEANY_FILETYPES_CONF, 1); styleset_set_style(sci, SCE_PROPS_SECTION, GEANY_FILETYPES_CONF, 2); - styleset_set_style(sci, SCE_PROPS_ASSIGNMENT, GEANY_FILETYPES_CONF, 3); - styleset_set_style(sci, SCE_PROPS_DEFVAL, GEANY_FILETYPES_CONF, 4); + styleset_set_style(sci, SCE_PROPS_KEY, GEANY_FILETYPES_CONF, 3); + styleset_set_style(sci, SCE_PROPS_ASSIGNMENT, GEANY_FILETYPES_CONF, 4); + styleset_set_style(sci, SCE_PROPS_DEFVAL, GEANY_FILETYPES_CONF, 5); }