! Syntax Highlighting Patterns for Apache configuration files ! (httpd.conf, access.conf, srm.conf). ! ! Author : Christian Denat (christian.denat@wanadoo.fr) ! ! 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: \ Apache:1:0{\n\ comment:"^[\\s]*#\\s*(.*)$":::Comment::\n\ Directive_name_value:"^\\s*(ErrorDocument|Group|User|require|Action|BrowserMatch|[Aa]llow|Deny|CustomLog|Add\\w*|SetEnvIf\\w*|\\w*Script\\w*|\\w*Alias\\w*)\\s+([^""]\\S+|"".+"")\\s+(.+)":::Keyword::\n\ Directive_value:"^\\s*(\\w)+\\s+(.+)":::Keyword::\n\ name:"\\2":""::Text Key:Directive_name_value:C\n\ value:"\\3":""::Text Arg:Directive_name_value:C\n\ _value:"\\2":""::Text Arg:Directive_value:C\n\ container:"^\\s*\\":::Preprocessor::\n\ containerName:"\\1":""::Text Arg:container:C\n\ } nedit.languageModes: Apache:.conf::::::