! Syntax highlighting patterns for X Resources ! ! INSTALLATION ! ! 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. ! ! These comments will not appear in your ~/.nedit ! nedit.highlightPatterns: X Resources:1:0{\n\ Preprocessor:"^[ \\t]*#":"$"::Preprocessor::\n\ Preprocessor Wrap:"\\\\\\n":::Preprocessor1:Preprocessor:\n\ Comment:"^[ \\t]*!":"$"::Comment::\n\ Comment Wrap:"\\\\\\n":::Comment:Comment:\n\ Resource:"^[ \\t]*[^: ]+[ \\t]*:":"$"::Plain::\n\ Resource Esc Chars:"\\\\.":::Text Arg2:Resource:\n\ Resource Space Warning:"[^ \\t]+[ \\t]+$":::Flag:Resource:\n\ Resource Name:"&":""::Storage Type:Resource:C\n\ Resource Wrap:"\\\\\\n":::Text Arg1:Resource:\n\ Free Text:"^.*$":::Flag::\n\ } nedit.languageModes: X Resources:.Xresources .Xdefaults .nedit:"^[!#].*([Aa]pp|[Xx]).*[Dd]efaults"::::: ! generated with ./extract_lang.pl version 0.1