Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Syntax highlighting generic categories

2005-06-10
2012-11-13
  • Alvaro Segura
    Alvaro Segura
    2005-06-10

    To configure syntax highlighting there should be several generic categories common to most formats. For example, the Global Style should include categories such as Comment, String, Number, Keyword, Character and maybe Preprocessor. Then specific languages would add specific categories such as Target (in Makefiles), Section (in Ini files).

    This way it is easier to keep consistency: i.e. comments are green for every language and strings are red and bold always.

    Right now one has to define colors for comments in every language independently. (Any one knows KWrite for KDE?)