httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1330241 - /httpd/httpd/trunk/docs/manual/style/scripts/prettify.js
Date Wed, 25 Apr 2012 12:33:44 GMT
Author: humbedooh
Date: Wed Apr 25 12:33:44 2012
New Revision: 1330241

URL: http://svn.apache.org/viewvc?rev=1330241&view=rev
Log:
Make the lexer only highlight enclosures in config syntax if they are whole words, and update
to also recognize FilesMatch, LocationMatch, Limit etc.

Modified:
    httpd/httpd/trunk/docs/manual/style/scripts/prettify.js

Modified: httpd/httpd/trunk/docs/manual/style/scripts/prettify.js
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/scripts/prettify.js?rev=1330241&r1=1330240&r2=1330241&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/scripts/prettify.js (original)
+++ httpd/httpd/trunk/docs/manual/style/scripts/prettify.js Wed Apr 25 12:33:44 2012
@@ -887,7 +887,7 @@ var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?
     fallthroughStylePatterns.push(
         // TODO(mikesamuel): recognize non-latin letters and numerals in idents
         [PR_LITERAL,     /^@[a-z_$][a-z_$@0-9]*|NULL/i, null],
-        [PR_TAG,     /^Directory|Location|VirtualHost|If|Else|ElseIf|Proxy|LoadBalancer/i,
null],
+        [PR_TAG,     /^Directory|DirectoryMatch|Location|LocationMatch|VirtualHost|If|Else|ElseIf|Proxy|LoadBalancer|Files|FilesMatch|Limit|LimitExcept|IfDefine|IfModule/i,
null],
         [PR_TYPE,        /^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_(t|req)\b)/, null],
         [PR_TAG,     /^apr_[a-z_0-9]+|ap_[a-z_0-9]+/i, null],
         [PR_PLAIN,       /^[a-z_$][a-z_$@0-9]*/i, null],



Mime
View raw message