Soft Wrapping and Indentation
Joerg Fischer
jf505 at gmx.de
Tue Jul 25 12:05:48 CEST 2006
Hi,
I think the continuous wrapping in nedit lacks an option to display
files with indentation more nicely. This is the way nedit displays
two lines in continuous wrapping:
1 AAAAAAAAAAAAA
AAAAAAAAAAAAAAAA
AAAAAAAA
2 BBBBBBBBBBBBB
BBBBBBBBBBBBBBBB
BBBBBBBB
An alternative (and IMO better) option would be
1 AAAAAAAAAAAAA
xxxAAAAAAAAAAAAA
xxxAAAAAAAAAAA
2 BBBBBBBBBBBBB
xxxBBBBBBBBBBBBB
xxxBBBBBBBBBBB
where a darker background color (indicated with x) could/should be
used to distinguish the "empty" indentations (those inside the
lines) from the real ones (those at the start of the lines).
Empty means that there should be no white spaces in the buffer.
Only the line is continued with an empty indentation of the length
given by the indentation of the line start - like one can choose
the length to be displayed for tab character that in reality is
always one char.
Cheers,
Jörg
More information about the Discuss
mailing list