Code editor with special visual effects

I was wondering if anyone has come across a code editor that goes a bit farther visually to distinguish logical blocks of code. For example, most of us indent our code a bit deeper at each block to make the code within the block, and the overall logic flow easier to spot at a glance.

Do any code editors maybe do something like, make the background color behind the code block progressively darker and darker the deeper the block nesting is? Or in some other way visually show depth/height?

While I have never worked with an editor like that. I must say that’s a very good idea. Maybe you should suggest it to vendors and make some cash from it :stuck_out_tongue:

P.S. I use Notepad++ for small projects, while php doesn’t use background, I do see it use background for other language types. No depth precision though.