![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

Good day!
I did some improvements for syntax highlighting in UltraEdit, I have version
14 of text-editor.
It has some limitation:
1) I am not quite well with regular expressions, perhaps more skilful
person can correct the problem. So to have word name in function list you have
to place one word definition per line, and after the name there should be a
space.
2) NOCASE should be in this register to convert to upper case.
3) There is problem with word ?( and Block Comments symbols when I use
NestBlockComments command.
/L14"SwiftForth" NOCASE Line Comment = \ Line Comment Alt = \\
NestBlockComments Block Comment On = ( Block Comment Off = ) Block Comment On
Alt = { Block Comment Off Alt = }
String Char = " File Extensions = F FTH 4 4TH
/Delimiters = :;{} ()
/Function String = "%[ ^t]++:[ ^t]+^(*^) "
/Indent Strings = ":" "CLASS" "SUBCLASS" "IF" "ELSE" "CASE" "OF" "BEGIN"
"WHILE" "DO" "?DO"
/Unindent Strings = ":" ";" "END-CLASS" "ELSE" "THEN" "ENDCASE" "OF" "ENDOF"
"UNTIL" "WHILE" "REPEAT" "AGAIN" "LOOP"
/Open Brace Strings = ":" "IF" "CLASS" "SUBCLASS" "CASE" "DO" "?DO" "DO"
"?DO" "{" "("
/Close Brace Strings = ";" "THEN" "END-CLASS" "END-CLASS" "ENDCASE" "LOOP"
"LOOP" "+LOOP" "+LOOP" "}" ")"
/Open Fold Strings = "CLASS" "SUBCLASS"
/Close Fold Strings = "END-CLASS"
...
Alexander
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and
bug reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Sun May 04 2008 - 02:14:30 PDT
This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:44 PST