Menu

#1 Automatically load the stylesheet

SHJS
open
nobody
SHJS (4)
5
2009-09-17
2009-09-17
Bogdan Ursu
No

The sh_highlightDocument function accepts two new parameters, besides the language prefix and suffix.
The third parameter is the style name. It assumes the CSS filename is sh_<style_name>.css. The style name is mandatory.
The fourth parameter is the CSS file URL prefix. This is not mandatory. If it does not exist, the CSS is loaded from the same folder as the language file.

Discussion

  • gnombat

    gnombat - 2009-09-17

    Can you re-attach the patched file? This looks like the original version.

     
  • Bogdan Ursu

    Bogdan Ursu - 2009-09-18

    Automatically load the stylesheet

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.