Menu

#771 Background color of editor based on nesting depth

Won't_Implement
open
Scintilla (391)
2
2011-01-22
2011-01-21
Anonymous
No

Hi,

It might be a useful syntax highlighting feature to be able to have a different background color based on the level of nesting. IE, normal background may be white, a class definition may be light grey, a public function in that class might be a darker grey, an if statement in that might... etc etc

The only example I can think of where this can be seen is Xcode.

I had a look at some of the lexing code myself, but I fear it's over my head..

Discussion

  • Neil Hodgson

    Neil Hodgson - 2011-01-22

    This is difficult in the current Scintilla design.

    There was a project called SinkWorld for looking at these sorts of features but it became too complex so was dropped:
    http://www.scintilla.org/TentacleW.png

     
  • Neil Hodgson

    Neil Hodgson - 2011-01-22
    • assigned_to: nobody --> nyamatongwe
    • priority: 5 --> 2
    • milestone: --> Won't_Implement
    • labels: --> Scintilla
     

Log in to post a comment.