SF.net SVN: geany: [1354] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Thu Mar 1 22:16:58 UTC 2007


Revision: 1354
          http://svn.sourceforge.net/geany/?rev=1354&view=rev
Author:   eht16
Date:     2007-03-01 14:16:58 -0800 (Thu, 01 Mar 2007)

Log Message:
-----------
Added missing keywords: as, with, False, None and True.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/data/filetypes.python
    trunk/src/highlighting.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-03-01 21:45:43 UTC (rev 1353)
+++ trunk/ChangeLog	2007-03-01 22:16:58 UTC (rev 1354)
@@ -18,6 +18,8 @@
  * src/build.c, src/tools.c, src/utils.c, src/utils.h:
    Set IO channels for custom commands to blocking mode
    (thanks to Jeff Pohlmeyer).
+ * data/filetypes.python:
+   Added missing keywords: as, with, False, None and True.
    
 
 2007-02-28  Nick Treleaven  <nick.treleaven at btinternet.com>

Modified: trunk/data/filetypes.python
===================================================================
--- trunk/data/filetypes.python	2007-03-01 21:45:43 UTC (rev 1353)
+++ trunk/data/filetypes.python	2007-03-01 22:16:58 UTC (rev 1354)
@@ -18,7 +18,7 @@
 
 [keywords]
 # all items must be in one line
-primary=and assert break class continue def del elif else except exec finally for from global if import in is lambda not or pass print raise return try while yield
+primary=and as assert break class continue def del elif else except exec finally for from global if import in is lambda not or pass print raise return try while with yield False None True
 
 
 [settings]

Modified: trunk/src/highlighting.c
===================================================================
--- trunk/src/highlighting.c	2007-03-01 21:45:43 UTC (rev 1353)
+++ trunk/src/highlighting.c	2007-03-01 22:16:58 UTC (rev 1354)
@@ -1584,7 +1584,7 @@
 	get_keyfile_hex(config, config_home, "styling", "stringeol", "0x000000", "0xe0c0e0", "false", &style_sets[GEANY_FILETYPES_PYTHON].styling[13]);
 
 	style_sets[GEANY_FILETYPES_PYTHON].keywords = g_new(gchar*, 2);
-	get_keyfile_keywords(config, config_home, "keywords", "primary", GEANY_FILETYPES_PYTHON, 0, "and assert break class continue def del elif else except exec finally for from global if import in is lambda not or pass print raise return try while yield");
+	get_keyfile_keywords(config, config_home, "keywords", "primary", GEANY_FILETYPES_PYTHON, 0, "and as assert break class continue def del elif else except exec finally for from global if import in is lambda not or pass print raise return try while with yield False None True");
 	style_sets[GEANY_FILETYPES_PYTHON].keywords[1] = NULL;
 
 	get_keyfile_wordchars(config, config_home,


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