Menu

#53 Changing way EOL are displayed when VIEWEOL used

Committed
closed
3
2022-09-05
2003-02-26
Dan Petitt
No

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?

Discussion

  • Neil Hodgson

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

    Neil Hodgson - 2003-03-01

    Logged In: YES
    user_id=12579

    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.

     
  • Zufu Liu

    Zufu Liu - 2022-04-09
    • labels: --> Scintilla, eol
    • Group: --> Initial
     
  • Neil Hodgson

    Neil Hodgson - 2022-09-05
    • status: open --> closed
    • Group: Initial --> Committed
     
  • Neil Hodgson

    Neil Hodgson - 2022-09-05

    This was implemented as character representations.

     

Log in to post a comment.