Menu

#6 don't break colour on empty lines

open
nobody
None
5
2014-05-21
2011-04-01
No

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.

Discussion

  • Wock

    Wock - 2013-12-05

    I have modified the SourceCode, because I wanted the same.... no unneeded box-breaking. Goto OpenDiscussion here, I posted details.

     
  • Piotr

    Piotr - 2014-05-21

    Use Java box builder (set it in editbox preferences).
    Sorry for late answer but somehow I didn't noticed that post before.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.