#842 folding in code hides underscores

Interface (176)

When code is folded in, the divider is drawn on the bottom pixel of the current line, completely obscuring underscores in many fonts, making the underscores appear to be spaces instead.

To reproduce:
Use the Ubuntu Sans Mono font or any other affected font.
Create a new C source file.
Write a simple function with an underscore in the declaration.
Fold in the function by clicking the "-" next to the declaration.
All of the underscores in the declaration should look like spaces instead of underscores.

Potential solution:
Add a few pixels of padding between the bottom of the line and the divider.

Reproducible with a fresh build from the git repo.

OS: Ubuntu 10.04 Server
Version: 1.22 (built on 3/26)


  • Comment has been marked as spam. 

    You can see all pending comments posted by this user  here

    Anonymous - 2012-03-27

    Picture of the bug in action

  • Lex Trotman

    Lex Trotman - 2012-03-28

    A quick check showed that this happens to most fonts as the size gets smaller. Whilst we might be able to add a setting for extra spacing you could just as well use a bigger font size in the meantime.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks