SF.net SVN: geany: [389] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Jun 2 12:45:49 UTC 2006


Revision: 389
Author:   eht16
Date:     2006-06-02 05:45:42 -0700 (Fri, 02 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/geany/?rev=389&view=rev

Log Message:
-----------
improved colouring

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/data/filetypes.css
    trunk/src/highlighting.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2006-06-02 12:00:33 UTC (rev 388)
+++ trunk/ChangeLog	2006-06-02 12:45:42 UTC (rev 389)
@@ -1,3 +1,8 @@
+2006-06-02  Enrico Troeger  <enrico.troeger at uvena.de>
+
+ * src/highlighting.c, data/filetypes.css: improved colouring
+
+
 2006-06-01  Nick Treleaven  <nick.treleaven at btinternet.com>
 
  * src/dialogs.c: Fix dialog path warnings for command-line files.

Modified: trunk/data/filetypes.css
===================================================================
--- trunk/data/filetypes.css	2006-06-02 12:00:33 UTC (rev 388)
+++ trunk/data/filetypes.css	2006-06-02 12:45:42 UTC (rev 389)
@@ -1,19 +1,19 @@
 # For complete documentation of this file, please see Geany's main documentation
 [styling]
 # foreground;background;bold;italic
-default=0x000000;0xffffff;false;false
+default=0x993300;0xffffff;false;false
 comment=0x808080;0xffffff;false;false
-tag=0x00007F;0xffffff;true;false
-class=0x991111;0xffffff;true;false
-pseudoclass=0x991111;0xffffff;true;true
-unknown_pseudoclass=0x0000ff;0xffffff;false;false
-unknown_identifier=0x0000ff;0xffffff;false;false
+tag=0xa46621;0xffffff;true;false
+class=0x007f00;0xffffff;true;false
+pseudoclass=0x100066;0xffffff;true;true
+unknown_pseudoclass=0x990000;0xffffff;false;false
+unknown_identifier=0x990000;0xffffff;false;false
 operator=0x101030;0xffffff;false;false
-identifier=0x100000;0xffffff;false;false
-doublestring=0x1E90FF;0xffffff;false;false
-singlestring=0x1E90FF;0xffffff;false;false
+identifier=0x990000;0xffffff;true;false
+doublestring=0x660033;0xffffff;false;false
+singlestring=0x660033;0xffffff;false;false
 attribute=0x007F00;0xffffff;false;false
-value=x7F7F00;0xffffff;false;false
+value=0x303030;0xffffff;false;false
 
 [keywords]
 primary=color background-color background-image background-repeat background-attachment background-position background font-family font-style font-variant font-weight font-size font word-spacing letter-spacing text-decoration vertical-align text-transform text-align text-indent line-height margin-top margin-right margin-bottom margin-left margin padding-top padding-right padding-bottom padding-left padding border-top-width border-right-width border-bottom-width border-left-width border-width border-top border-right border-bottom border-left border border-color border-style width height float clear display white-space list-style-type list-style-image list-style-position list-style

Modified: trunk/src/highlighting.c
===================================================================
--- trunk/src/highlighting.c	2006-06-02 12:00:33 UTC (rev 388)
+++ trunk/src/highlighting.c	2006-06-02 12:45:42 UTC (rev 389)
@@ -1671,19 +1671,19 @@
 	g_key_file_load_from_file(config_home, f, G_KEY_FILE_KEEP_COMMENTS, NULL);
 
 	types[GEANY_FILETYPES_CSS] = g_new(style_set, 1);
-	styleset_get_hex(config, config_home, "styling", "default", "0x000000", "0xffffff", "false", types[GEANY_FILETYPES_CSS]->styling[0]);
+	styleset_get_hex(config, config_home, "styling", "default", "0x993300", "0xffffff", "false", types[GEANY_FILETYPES_CSS]->styling[0]);
 	styleset_get_hex(config, config_home, "styling", "comment", "0x808080", "0xffffff", "false", types[GEANY_FILETYPES_CSS]->styling[1]);
-	styleset_get_hex(config, config_home, "styling", "tag", "0x00007F", "0xffffff", "true", types[GEANY_FILETYPES_CSS]->styling[2]);
-	styleset_get_hex(config, config_home, "styling", "class", "0x991111", "0xffffff", "true", types[GEANY_FILETYPES_CSS]->styling[3]);
-	styleset_get_hex(config, config_home, "styling", "pseudoclass", "0x991111", "0xffffff", "true", types[GEANY_FILETYPES_CSS]->styling[4]);
-	styleset_get_hex(config, config_home, "styling", "unknown_pseudoclass", "0x0000ff", "0xffffff", "false", types[GEANY_FILETYPES_CSS]->styling[5]);
-	styleset_get_hex(config, config_home, "styling", "unknown_identifier", "0x0000ff", "0xffffff", "false", types[GEANY_FILETYPES_CSS]->styling[6]);
+	styleset_get_hex(config, config_home, "styling", "tag", "0xa46621", "0xffffff", "true", types[GEANY_FILETYPES_CSS]->styling[2]);
+	styleset_get_hex(config, config_home, "styling", "class", "0x007f00", "0xffffff", "true", types[GEANY_FILETYPES_CSS]->styling[3]);
+	styleset_get_hex(config, config_home, "styling", "pseudoclass", "0x100066", "0xffffff", "true", types[GEANY_FILETYPES_CSS]->styling[4]);
+	styleset_get_hex(config, config_home, "styling", "unknown_pseudoclass", "0x990000", "0xffffff", "false", types[GEANY_FILETYPES_CSS]->styling[5]);
+	styleset_get_hex(config, config_home, "styling", "unknown_identifier", "0x990000", "0xffffff", "false", types[GEANY_FILETYPES_CSS]->styling[6]);
 	styleset_get_hex(config, config_home, "styling", "operator", "0x101030", "0xffffff", "false", types[GEANY_FILETYPES_CSS]->styling[7]);
-	styleset_get_hex(config, config_home, "styling", "identifier", "0x100000", "0xffffff", "false", types[GEANY_FILETYPES_CSS]->styling[8]);
-	styleset_get_hex(config, config_home, "styling", "doublestring", "0x1E90FF", "0xffffff", "false", types[GEANY_FILETYPES_CSS]->styling[9]);
-	styleset_get_hex(config, config_home, "styling", "singlestring", "0x1E90FF", "0xffffff", "false", types[GEANY_FILETYPES_CSS]->styling[10]);
+	styleset_get_hex(config, config_home, "styling", "identifier", "0x990000", "0xffffff", "true", types[GEANY_FILETYPES_CSS]->styling[8]);
+	styleset_get_hex(config, config_home, "styling", "doublestring", "0x660033", "0xffffff", "false", types[GEANY_FILETYPES_CSS]->styling[9]);
+	styleset_get_hex(config, config_home, "styling", "singlestring", "0x660033", "0xffffff", "false", types[GEANY_FILETYPES_CSS]->styling[10]);
 	styleset_get_hex(config, config_home, "styling", "attribute", "0x007F00", "0xffffff", "false", types[GEANY_FILETYPES_CSS]->styling[11]);
-	styleset_get_hex(config, config_home, "styling", "value", "0x7F7F00", "0xffffff", "false", types[GEANY_FILETYPES_CSS]->styling[12]);
+	styleset_get_hex(config, config_home, "styling", "value", "0x303030", "0xffffff", "false", types[GEANY_FILETYPES_CSS]->styling[12]);
 
 	types[GEANY_FILETYPES_CSS]->keywords = g_new(gchar*, 4);
 	styleset_get_keywords(config, config_home, "keywords", "primary", GEANY_FILETYPES_CSS, 0,


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list