Branch: refs/heads/master Author: oco oco@newmail.ru Committer: Matthew Brush matt@geany.org Date: Fri, 17 Aug 2012 01:35:27 Commit: e20a57927dc6b760611c8ea2fb72bd43ffc507b4 https://github.com/geany/geany/commit/e20a57927dc6b760611c8ea2fb72bd43ffc507...
Log Message: ----------- Use all supported keyword sets for Scintilla Forth lexer
Submitted on geany-devel mailing list
Modified Paths: -------------- data/filetypes.forth src/highlightingmappings.h
Modified: data/filetypes.forth 8 files changed, 6 insertions(+), 2 deletions(-) =================================================================== @@ -16,8 +16,12 @@ locale=other
[keywords] # all items must be in one line -primary=ABORT EXIT DO LOOP UNLOOP BEGIN UNTIL WHILE REPEAT EXIT IF ELSE THEN CASE ENDCASE OF ENDOF - +primary=abort exit do loop unloop begin until while repeat exit if else then case endcase of endof again leave +keyword=require included decimal hex also only previous +defword=create does> variable value 2variable constant , 2, c, +string=." " s" c" abort" +preword1=dup drop swap over pick roll 2dup 2drop 2swas 2over +preword2=! c! @ c@ 2! 2@ and or xor invert negate / /mod mod rshift lshift
[settings] # default extension used when saving files
Modified: src/highlightingmappings.h 7 files changed, 6 insertions(+), 1 deletions(-) =================================================================== @@ -546,7 +546,12 @@ }; static const HLKeyword highlighting_keywords_FORTH[] = { - { 0, "primary", FALSE } + { 0, "primary", FALSE }, + { 1, "keyword", FALSE }, + { 2, "defword", FALSE }, + { 3, "preword1", FALSE }, + { 4, "preword2", FALSE }, + { 5, "string", FALSE } }; #define highlighting_properties_FORTH EMPTY_PROPERTIES
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).