Change colours and bold flag for the extended_* and id styles (thanks to Jason Oster for his suggestions).
Use CSS-specific symbol type names. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3140 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
f0f13bbec6
commit
7c65b2f5cc
@ -13,9 +13,13 @@
|
||||
* src/highlighting.c, data/filetypes.css:
|
||||
Fix typo in 'pseudo_elements' keyword type name.
|
||||
Change style for pseudo elements to bold and italic.
|
||||
Change colours and bold flag for the extended_* and id styles
|
||||
(thanks to Jason Oster for his suggestions).
|
||||
* src/about.c:
|
||||
Use a GeanyWrapLabel for the label holding the "Some contributors"
|
||||
text to fix dialog oversize problems with some localisations.
|
||||
* src/symbols.c:
|
||||
Use CSS-specific symbol type names.
|
||||
|
||||
|
||||
2008-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
@ -14,15 +14,15 @@ doublestring=0x330066;0xffffff;false;false
|
||||
singlestring=0x330066;0xffffff;false;false
|
||||
attribute=0x007f00;0xffffff;false;false
|
||||
value=0x303030;0xffffff;false;false
|
||||
id=0x7f0000;0xffffff;false;false
|
||||
id=0xff9000;0xffffff;true;false
|
||||
identifier2=0x6b6bff;0xffffff;true;false
|
||||
important=0x990000;0xffffff;true;false
|
||||
directive=0x006bff;0xffffff;false;true
|
||||
identifier3=0x00c8ff;0xffffff;false;false
|
||||
pseudoelement=0x666610;0xffffff;true;true
|
||||
extended_identifier=0x666610;0xffffff;false;false
|
||||
extended_pseudoclass=0x660010;0xffffff;true;false
|
||||
extended_pseudoelement=0x660010;0xffffff;true;true
|
||||
extended_identifier=0x9090a0;0xffffff;true;false
|
||||
extended_pseudoclass=0x907080;0xffffff;true;true
|
||||
extended_pseudoelement=0x909080;0xffffff;true;true
|
||||
|
||||
[keywords]
|
||||
# CSS 1 properties
|
||||
@ -42,7 +42,7 @@ browser_pseudo_elements=
|
||||
#extension=css
|
||||
|
||||
# the following characters are these which a "word" can contains, see documentation
|
||||
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
|
||||
#wordchars=_-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
|
||||
|
||||
# if only single comment char is supported like # in this file, leave comment_close blank
|
||||
comment_open=/*
|
||||
|
@ -1938,15 +1938,15 @@ static void styleset_css_init(gint ft_id, GKeyFile *config, GKeyFile *config_hom
|
||||
get_keyfile_hex(config, config_home, "styling", "singlestring", "0x330066", "0xffffff", "false", &style_sets[GEANY_FILETYPES_CSS].styling[10]);
|
||||
get_keyfile_hex(config, config_home, "styling", "attribute", "0x007f00", "0xffffff", "false", &style_sets[GEANY_FILETYPES_CSS].styling[11]);
|
||||
get_keyfile_hex(config, config_home, "styling", "value", "0x303030", "0xffffff", "false", &style_sets[GEANY_FILETYPES_CSS].styling[12]);
|
||||
get_keyfile_hex(config, config_home, "styling", "id", "0x7f0000", "0xffffff", "false", &style_sets[GEANY_FILETYPES_CSS].styling[13]);
|
||||
get_keyfile_hex(config, config_home, "styling", "id", "0xff9000", "0xffffff", "true", &style_sets[GEANY_FILETYPES_CSS].styling[13]);
|
||||
get_keyfile_hex(config, config_home, "styling", "identifier2", "0x6b6bff", "0xffffff", "true", &style_sets[GEANY_FILETYPES_CSS].styling[14]);
|
||||
get_keyfile_hex(config, config_home, "styling", "important", "0x990000", "0xffffff", "true", &style_sets[GEANY_FILETYPES_CSS].styling[15]);
|
||||
get_keyfile_hex(config, config_home, "styling", "directive", "0x006bff", "0xffffff", "false", &style_sets[GEANY_FILETYPES_CSS].styling[16]);
|
||||
get_keyfile_hex(config, config_home, "styling", "identifier3", "0x00c8ff", "0xffffff", "false", &style_sets[GEANY_FILETYPES_CSS].styling[17]);
|
||||
get_keyfile_hex(config, config_home, "styling", "pseudoelement", "0x666610", "0xffffff", "true", &style_sets[GEANY_FILETYPES_CSS].styling[18]);
|
||||
get_keyfile_hex(config, config_home, "styling", "extended_identifier", "0x666610", "0xffffff", "false", &style_sets[GEANY_FILETYPES_CSS].styling[19]);
|
||||
get_keyfile_hex(config, config_home, "styling", "extended_pseudoclass", "0x660010", "0xffffff", "true", &style_sets[GEANY_FILETYPES_CSS].styling[20]);
|
||||
get_keyfile_hex(config, config_home, "styling", "extended_pseudoelement", "0x660010", "0xffffff", "true", &style_sets[GEANY_FILETYPES_CSS].styling[21]);
|
||||
get_keyfile_hex(config, config_home, "styling", "extended_identifier", "0x9090a0", "0xffffff", "true", &style_sets[GEANY_FILETYPES_CSS].styling[19]);
|
||||
get_keyfile_hex(config, config_home, "styling", "extended_pseudoclass", "0x907080", "0xffffff", "true", &style_sets[GEANY_FILETYPES_CSS].styling[20]);
|
||||
get_keyfile_hex(config, config_home, "styling", "extended_pseudoelement", "0x909080", "0xffffff", "true", &style_sets[GEANY_FILETYPES_CSS].styling[21]);
|
||||
|
||||
style_sets[GEANY_FILETYPES_CSS].keywords = g_new(gchar*, 9);
|
||||
get_keyfile_keywords(config, config_home, "keywords", "primary", GEANY_FILETYPES_CSS, 0, "");
|
||||
|
@ -662,7 +662,6 @@ static void init_tag_list(GeanyDocument *doc)
|
||||
NULL);
|
||||
break;
|
||||
}
|
||||
/*
|
||||
case GEANY_FILETYPES_CSS:
|
||||
{
|
||||
tag_list_add_groups(tag_store,
|
||||
@ -671,7 +670,6 @@ static void init_tag_list(GeanyDocument *doc)
|
||||
&(tv_iters.tag_struct), _("Type Selectors"), "classviewer-struct", NULL);
|
||||
break;
|
||||
}
|
||||
*/
|
||||
case GEANY_FILETYPES_REST:
|
||||
{
|
||||
tag_list_add_groups(tag_store,
|
||||
|
Loading…
x
Reference in New Issue
Block a user