Here's an idea that I had for a feature that I think would be handy that's a bit of a departure from anything I've seen before. I would like it if I could see if code indentation is different and I would like it differentiated from other whitespace. For example, suppose the following two blocks of code are compared:
I think it would be nice to see a vertical rectangle showing the difference in indentation:
I have wanted something like that on more than one occasion.
Code:
if (x) { if (y) { doit(); } } ================ if (x && y) { doit(); }
Code:
if (x) { [COLOR="Magenta"]##[/COLOR]if (y) [COLOR="Magenta"]##[/COLOR]{ [COLOR="Magenta"]##[/COLOR] doit(); [COLOR="Magenta"]##[/COLOR]} }
Comment