! Syntax Highlighting Patterns for Forth ! ! For NEdit 5.0 and above ! ! Contributed by Reuben Thomas (rrt@sc3d.org); this is just the beginning of a ! patterns set, but it's already quite useful, and anyway, a Forth patterns set ! should surely be small! ! ! In NEdit Version 5.0.1 and beyond, load this pattern by starting nedit with: ! ! nedit -import ! ! Then, check that the patterns were loaded correctly, and choose Save Defaults ! from the Preferences menu. The new patterns will now be incorporated into ! your own .nedit file, so the next time you start NEdit, you will no longer ! need to use -import. ! nedit.highlightPatterns: \ Forth:1:0{\n\ Comment 1:"^\\(|[\\t ]\\([\\t ]|\\($":"\\)"::Comment::\n\ Comment 2:"^\\\\|[\\t ]\\\\[\\t ]":"$"::Comment::\n\ } nedit.languageModes: Forth:.fs .fr .fth .4th:::::3: