Menu

#66 Advanced Syntax Highlighting

open
nobody
4
2002-08-21
2002-06-11
No

Several requests have been made for more emacs/JDE-like
syntax highlighting, which would involve more syntax
analysis in the reduced model. Pending a refactoring
of the reduced model, it would be nice to have things
like variable and method names highlighted in a
different color, and perhaps definining instances in
bold. Other highlighting suggestions are welcome
here...

Discussion

  • Peter Centgraf

    Peter Centgraf - 2002-06-12

    Logged In: YES
    user_id=431096

    I'd like to see paren- and bracket-matching to work in both directions, forwards and backwards. As of this posting, the matching only works backwards.

    While we're at it, it would be nice to have different modes for the matching indicators, i.e. highlight region, highlight parens, blink parens, etc. It might also be nice to match block comment open and close tags. This would require checking more than a single character for a potential trigger.

     
  • Charles Reis

    Charles Reis - 2002-08-21
    • priority: 5 --> 4
     
  • Peter Centgraf

    Peter Centgraf - 2004-01-18

    Logged In: YES
    user_id=431096

    I've implemented forward highlighting for open braces and
    parens. The new code is committed as of 20040118-1041.

    I realize now that highlighting block comment tags is kind of
    silly, since the text is already marked when it's inside a
    comment. The only case where you couldn't do a quick scan
    is if there are single-line comments following the block
    comment.