Revision: 970 http://svn.sourceforge.net/geany/?rev=970&view=rev Author: eht16 Date: 2006-11-06 12:56:18 -0800 (Mon, 06 Nov 2006)
Log Message: ----------- Added Java keywords true and false. Converted "NULL" to lower case.
Modified Paths: -------------- trunk/ChangeLog trunk/data/filetypes.java trunk/src/highlighting.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-11-05 21:20:22 UTC (rev 969) +++ trunk/ChangeLog 2006-11-06 20:56:18 UTC (rev 970) @@ -1,3 +1,10 @@ +2006-11-06 Enrico Tröger enrico.troeger@uvena.de + + * data/filetypes.java, src/highlighting.c: + Added Java keywords true and false. + Converted "NULL" to lower case. + + 2006-11-05 Enrico Tröger enrico.troeger@uvena.de
* src/sci_cb.c: Fixed (hopefully) wrong indentation in some cases when
Modified: trunk/data/filetypes.java =================================================================== --- trunk/data/filetypes.java 2006-11-05 21:20:22 UTC (rev 969) +++ trunk/data/filetypes.java 2006-11-06 20:56:18 UTC (rev 970) @@ -22,9 +22,9 @@ globalclass=0x0000d0;0xffffff;true;false
[keywords] -primary=abstract assert break case catch class const continue default do else extends final finally for future generic goto if implements import inner instanceof interface native new outer package private protected public rest return static super switch synchronized this throw throws transient try var volatile while -secondary=boolean byte char double float int long null short void NULL -doccomment=return param author +primary=abstract assert break case catch class const continue default do else extends final finally for future generic goto if implements import inner instanceof interface native new outer package private protected public rest return static super switch synchronized this throw throws transient try var volatile while true false null +secondary=boolean byte char double float int long null short void +doccomment=return param author throws typedefs=
Modified: trunk/src/highlighting.c =================================================================== --- trunk/src/highlighting.c 2006-11-05 21:20:22 UTC (rev 969) +++ trunk/src/highlighting.c 2006-11-06 20:56:18 UTC (rev 970) @@ -1132,7 +1132,7 @@ if (style_sets[GEANY_FILETYPES_XML].styling == NULL) styleset_markup_init();
// don't set keywords for plain XML - if(set_keywords) + if(set_keywords) { SSM(sci, SCI_SETKEYWORDS, 0, (sptr_t) style_sets[GEANY_FILETYPES_XML].keywords[0]); SSM(sci, SCI_SETKEYWORDS, 1, (sptr_t) style_sets[GEANY_FILETYPES_XML].keywords[1]); @@ -1366,9 +1366,9 @@ generic goto if implements import inner instanceof interface \ native new outer package private protected public rest \ return static super switch synchronized this throw throws \ - transient try var volatile while"); - get_keyfile_keywords(config, config_home, "keywords", "secondary", GEANY_FILETYPES_JAVA, 1, "boolean byte char double float int long null short void NULL"); - get_keyfile_keywords(config, config_home, "keywords", "doccomment", GEANY_FILETYPES_JAVA, 2, "return param author"); + transient try var volatile while true false null"); + get_keyfile_keywords(config, config_home, "keywords", "secondary", GEANY_FILETYPES_JAVA, 1, "boolean byte char double float int long null short void"); + get_keyfile_keywords(config, config_home, "keywords", "doccomment", GEANY_FILETYPES_JAVA, 2, "return param author throws"); get_keyfile_keywords(config, config_home, "keywords", "typedefs", GEANY_FILETYPES_JAVA, 3, ""); style_sets[GEANY_FILETYPES_JAVA].keywords[4] = NULL;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.