Home Download Buy Blog Forum Support

Perl/Highlight issue

Perl/Highlight issue

Postby dxartem on Thu Aug 02, 2012 4:11 pm

You can see, that string in FilesMatch is wrapped in quotes ", but for some reason all other part of file highlighted as a string till the next quote.
see attached screenshot

P.S. highlighting as PERL

---------------------------
#
# Apache/PHP/Drupal settings:
#

# Protect files and directories from prying eyes.
<FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$">
Order allow,deny
</FilesMatch>

asdfasf asdffasdfasdfsfsaf
RewriteCond %{REQUEST_FILENAME}\.gz -s
RewriteRule ^(.*)\.js $1\.js\.gz [QSA]

# Serve correct content types, and prevent mod_deflate double gzip.
RewriteRule \.css\.gz$ - [T=text/css,E=no-gzip:1]
RewriteRule \.js\.gz$ - [T=text/javascript,E=no-gzip:1]

<FilesMatch "(\.js\.gz|\.css\.gz)$">
# Serve correct encoding type.
Header set Content-Encoding gzip
# Force proxies to cache gzipped & non-gzipped css/js files separately.
Header append Vary Accept-Encoding
</FilesMatch>
</IfModule>
</IfModule>
Attachments
highlight_sublime.png
highlight_sublime.png (53.91 KiB) Viewed 375 times
dxartem
 
Posts: 1
Joined: Thu Aug 02, 2012 4:03 pm

Re: Perl/Highlight issue

Postby nick. on Thu Aug 02, 2012 5:53 pm

Seems to work in my custom Perl syntax. See link in my sig.

This isn't Perl though, so that's really just a coincidence.
nick.
 
Posts: 266
Joined: Wed Jan 18, 2012 3:45 am


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 28 guests