Warning: The author of this contribution does not provide support for it anymore.
Syntax Highlighter 3 using autoloader
- Mon Jan 21, 2013 11:06 pm
- File size:
- 252.36 KiB
- Validated for:
- phpBB 3.0.11
- MD5 checksum:
- Install Time
- About 2 Minute(s)
- Install Level
Please check the FAQ for Update info and tweaks.
42 brushes covering 60'ish syntax included. This mod uses autoloader.js to dynamically load brushes as and when they are called instead of each brush being permanently embedded and loaded in the page source.
Works with automod on a phpbb3 3.0.11 and should be pretty much update proof and backward compatible with older versions since there are only 4 simple edits. and no phpbb 3 core code is edited or changed.
This version uses the scripts from the github repo for Alex's Syntax Highlighter 3. There are a few tweaks and fixes over the normal files found on his website, such as the use of XRegExp 3.0
Themes can be easily changed via the ACP. Includes custom themes as long as they are uploaded to the existing themes folder.
Manually applied fixes
Bash brush improvements #75
improved C Sharp bush #111
shAutoloader.js duplicate loading and html-script support #139
(Java multiline comment greedy Regexp) #150
fix stripCData('ab')=='' #153
a = '"' was starting a multiline string, but it should not have #112
Modified keywords, strings, and value in Python brush #155
multiline comments for SQL #156
Add missing C++11 keywords #158
PHP brush updated functions, keywords, constants & variable #159
Perl Fix syntax highlighting for adjacent pod blocks #163
Perl Correctly highlight dereferenced vars (double sigils) #164
custom fix for 2 phpbb 3 issues. the replacement of
and unindents/tabs see support section of this mod.
Biferno Brush #66 dlan brush #154 haze brush #151 logtalk brush #118 lasso brush #124
ACTIONSCRIPT ADA ASSEMBLER_ASM ASSEMBLER_NASM ASSEMBLER_MASM APPLESCRIPT AUTOHOTKEY
BASH BIFERNO BATCH
CSHARP CPLUSPLUS CLOJURE CMD COCOA COFFEE_SCRIPT COLDFUSION CSS
D DELPHI DIFF
LASSO LATEX LOGTALK LSL LUA
PASCAL PERL PHP PLAIN_TEXT POWERSHELL PROCESSING PYTHON PYTHON3
ROUTEROS RPG ILE_RPG RUBY
SAHI SASS SCALA SHELL SQL
XHTML XML XSLT