CudaText icon indicating copy to clipboard operation
CudaText copied to clipboard

viewer: render 'LF', 'CRLF', 'CR' for linebreaks in Text/Unicode viewer modes

Open Alexey-T opened this issue 6 months ago • 1 comments

Point 1 from https://github.com/Alexey-T/CudaText/discussions/5968 . Maybe todo for later time.

for soft-wrap (when viewer forces line wrapping when it does not exist) we can render some symbol too, e.g. 'S'.

Alexey-T avatar Jun 04 '25 05:06 Alexey-T

I can provide reference images showing the line break symbols in Notepad3 and Notepad4. These are very clear and convenient. It would be great if they could be displayed in both the editor and viewer!

Image Image

sr79368142 avatar Jun 04 '25 11:06 sr79368142

looked at the code of viewer. it is hard yet to render separate marks LF/ CRLF / CR for linebreaks. not sure I will rework the code to render them, sorry.

Alexey-T avatar Jun 13 '25 09:06 Alexey-T