don't break colour on empty lines
EditBox is the Eclipse plugin for source code background highlighting.
Brought to you by:
mentos13
an empty line within a code block gets the same colour as the level below, e.g.
{
foo();
bar();
}
shows foo(); as one box in a new colour, and bar() in a separate box in the same colour. But the empty line in between the two shares the colour with the level up (the same background colour as the curly braces). This introduces a visual break in the same block of code - just due to the empty line - making it look like they're actually two different blocks.
I have modified the SourceCode, because I wanted the same.... no unneeded box-breaking. Goto OpenDiscussion here, I posted details.
Use Java box builder (set it in editbox preferences).
Sorry for late answer but somehow I didn't noticed that post before.