Migrate from GitHub to SourceForge with this tool. Check out all of SourceForge's recent improvements.

#53 Changing way EOL are displayed when VIEWEOL used

Dan Petitt

I would really like the ability to view EOL markers in my
app but don't like the CRLF black blocks.

I know I can set a character to use (but it is also used
for other unknown control characters, which I would like
to not display at all - but that is a separate point) but
this then gives you two of those characters one
for CR and one for LF again with a black background
which I cant change.

I just want to view (not on a black background, but in
grey text) a simple paragraph symbol like you see in
MS Word or other editors.

I tried looking at the code but got a bit lost and
confused around the area I think it is.

Could anyone give some advice on what code to look
into if this wont be implemented?


  • Neil Hodgson

    Neil Hodgson - 2003-03-01
    • priority: 5 --> 3
    • assigned_to: nobody --> nyamatongwe
  • Neil Hodgson

    Neil Hodgson - 2003-03-01

    Logged In: YES

    The easy bit is adding in some code to Editor::DrawLine or
    Editor::DrawEOL to draw the symbol. The more difficult part
    is to ensure that this symbol's size is accounted for when
    laying out the line in Editor::LayoutLine. Note that the symbol
    should wrap just like the current CR/LF/CRLF does.


Log in to post a comment.