SF.net SVN: geany:[4642] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sat Feb 6 16:14:58 UTC 2010


Revision: 4642
          http://geany.svn.sourceforge.net/geany/?rev=4642&view=rev
Author:   eht16
Date:     2010-02-06 16:14:41 +0000 (Sat, 06 Feb 2010)

Log Message:
-----------
Adjust style for secondary keywords to be less aggressive.
Add Python 2.5 builtins keywords.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/data/filetypes.python

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-02-06 16:00:11 UTC (rev 4641)
+++ trunk/ChangeLog	2010-02-06 16:14:41 UTC (rev 4642)
@@ -3,6 +3,9 @@
  * src/document.c:
    Allow saving remote files using g_file_set_contents() as well
    (patch by Алексей Антипов, thanks).
+ * data/filetypes.python:
+   Adjust style for secondary keywords to be less aggressive.
+   Add Python 2.5 builtins keywords.
 
 
 2010-02-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/data/filetypes.python
===================================================================
--- trunk/data/filetypes.python	2010-02-06 16:00:11 UTC (rev 4641)
+++ trunk/data/filetypes.python	2010-02-06 16:14:41 UTC (rev 4642)
@@ -15,14 +15,15 @@
 identifier=0x000000;0xffffff;false;false
 commentblock=0x808080;0xffffff;false;false
 stringeol=0x000000;0xe0c0e0;false;false
-word2=0xdd00a6;0xffffff;true;false
+word2=0x9f0200;0xffffff;false;false
 decorator=0x808000;0xffffff;false;false
 
 [keywords]
 # all items must be in one line
 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
 # additional keywords, will be highlighted with style "word2"
-identifiers=
+# these are the builtins for Python 2.5 created with ' '.join(dir(__builtins__))
+identifiers=ArithmeticError AssertionError AttributeError BaseException DeprecationWarning EOFError Ellipsis EnvironmentError Exception False FloatingPointError FutureWarning GeneratorExit IOError ImportError ImportWarning IndentationError IndexError KeyError KeyboardInterrupt LookupError MemoryError NameError None NotImplemented NotImplementedError OSError OverflowError PendingDeprecationWarning ReferenceError RuntimeError RuntimeWarning StandardError StopIteration SyntaxError SyntaxWarning SystemError SystemExit TabError True TypeError UnboundLocalError UnicodeDecodeError UnicodeEncodeError UnicodeError UnicodeTranslateError UnicodeWarning UserWarning ValueError Warning ZeroDivisionError _ __debug__ __doc__ __import__ __name__ abs all any apply basestring bool buffer callable chr classmethod cmp coerce compile complex copyright credits delattr dict dir divmod enumerate eval execfile exit file filter float frozenset getattr globals hasattr hash help hex id input int intern isinstance issubclass iter len license list locals long map max min object oct open ord pow property quit range raw_input reduce reload repr reversed round set setattr slice sorted staticmethod str sum super tuple type unichr unicode vars xrange zip
 
 [lexer_properties]
 fold.comment.python=1


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