Revision: 5889 http://geany.svn.sourceforge.net/geany/?rev=5889&view=rev Author: colombanw Date: 2011-08-18 23:01:45 +0000 (Thu, 18 Aug 2011)
Log Message: ----------- Add Cython filetype
Patch by Matthew Brush, thanks.
Also remove the Cython keywords from Python filetype.
Modified Paths: -------------- trunk/ChangeLog trunk/data/filetype_extensions.conf trunk/data/filetypes.python
Added Paths: ----------- trunk/data/filetypes.Cython.conf
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2011-08-15 19:26:36 UTC (rev 5888) +++ trunk/ChangeLog 2011-08-18 23:01:45 UTC (rev 5889) @@ -1,3 +1,10 @@ +2011-08-19 Colomban Wendling <colomban(at)geany(dot)org> + + * data/filetype_extensions.conf, data/filetypes.Cython.conf, + data/filetypes.python: + Add Cython filetype (patch by Matthew Brush, thanks). + + 2011-08-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* doc/plugins.dox:
Modified: trunk/data/filetype_extensions.conf =================================================================== --- trunk/data/filetype_extensions.conf 2011-08-15 19:26:36 UTC (rev 5888) +++ trunk/data/filetype_extensions.conf 2011-08-18 23:01:45 UTC (rev 5889) @@ -14,6 +14,7 @@ COBOL=*.cob;*.cpy;*.cbl;*.cobol; Conf=*.conf;*.ini;config;*rc;*.cfg;*.desktop; CSS=*.css; +Cython=*.pyx;*.pxd;*.pxi; D=*.d;*.di; Diff=*.diff;*.patch;*.rej; Docbook=*.docbook; @@ -59,7 +60,7 @@
# Note: restarting is required after editing groups [Groups] -Programming=Genie;Scala; +Programming=Cython;Genie;Scala; Script= Markup= Misc=
Added: trunk/data/filetypes.Cython.conf =================================================================== --- trunk/data/filetypes.Cython.conf (rev 0) +++ trunk/data/filetypes.Cython.conf 2011-08-18 23:01:45 UTC (rev 5889) @@ -0,0 +1,16 @@ +[styling=Python] + +[keywords] +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 api by cdef cimport cpdef ctypedef enum extern gil include inline nogil property public readonly struct union DEF IF ELIF ELSE NULL bint char Py_ssize_t short size_t void +identifiers=ArithmeticError AssertionError AttributeError BaseException BufferError BytesWarning 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__ __package__ abs all any apply basestring bin bool buffer bytearray bytes callable chr classmethod cmp coerce compile complex copyright credits delattr dict dir divmod enumerate eval execfile exit file filter float format frozenset getattr globals hasattr hash help hex id input int intern isinstance issubclass iter len license list locals long map max min next object oct open ord pow print 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 + +[settings] +lexer_filetype=Python +tag_parser=Python +extension=pyx +comment_single=# + +[build-menu] +FT_00_LB=_Compile +FT_00_CM=cython "%f" +FT_00_WD=
Modified: trunk/data/filetypes.python =================================================================== --- trunk/data/filetypes.python 2011-08-15 19:26:36 UTC (rev 5888) +++ trunk/data/filetypes.python 2011-08-18 23:01:45 UTC (rev 5889) @@ -21,7 +21,7 @@
[keywords] # all items must be in one line -primary=and as assert break cdef cimport class continue cpdef 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 +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" # these are the builtins for Python 2.5 created with ' '.join(dir(__builtins__)) identifiers=ArithmeticError AssertionError AttributeError BaseException BufferError BytesWarning 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__ __package__ abs all any apply basestring bin bool buffer bytearray bytes callable chr classmethod cmp coerce compile complex copyright credits delattr dict dir divmod enumerate eval execfile exit file filter float format frozenset getattr globals hasattr hash help hex id input int intern isinstance issubclass iter len license list locals long map max min next object oct open ord pow print 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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.