Menu

Syntax Highlighting Plugin

Plugins
Anonymous
2004-09-02
2004-09-04
  • Anonymous

    Anonymous - 2004-09-02

    hi,
    i want to add syntax highlighting for another language. is it possible to write a plugin for this? maybe someone can direct me to the code location i should look at.

    thanks
    martin

     
    • Daniel Pozmanter

      That would be rather cool (what language?).

      I would suggest looking at the setupPrefs function in drText.py, and drKeywords.py, as well as the STC Styling documentation (www.wxwidgets.org -> Documentation -> Styled Text Control -> Styling).

      It tells you which languages the stc component supports, which have issues, and how to set it up.

      Cheers,
      Dan

       

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.