RackTables: master 5ceaa179

Author Committer Branch Timestamp Parent
infrastation infrastation master 2017-05-26 19:07:34 master 03102e0e
Changeset improve CodeMirror integration

Reimplement the RackCode language mode in rackcode.js using simpler
JavaScript code and define a standalone "rackcode" theme in rackcode.css
instead of overriding the default theme. In renderRackCodeEditor() pass
more properties to CodeMirror constructor and make minor HTML fixups.
In renderRackCodeViewer() rewrite the code to use CodeMirror in read-only
mode and to scroll to requested line on request. Amend the URL format in
refRCLineno() respectively.
mod - wwwroot/js/codemirror/rackcode.js Diff File
mod - ChangeLog Diff File
mod - wwwroot/inc/code.php Diff File
mod - wwwroot/css/codemirror/rackcode.css Diff File
mod - wwwroot/inc/interface-config.php Diff File