Comment (by psprint):
A short demo: https://asciinema.org/a/JGe9zeiPly6CfIG49sA6Y7r30
--
Ticket URL: <http://www.midnight-commander.org/ticket/4492#comment:1>
Midnight Commander <https://midnight-commander.org>
Midnight Development Center
Comment (by ossi):
your example is kinda counter-productive, as code is the exact thing one
usually ''shouldn't'' soft-wrap.
that also illustrates that the setting needs to be switchable via a
hotkey, as it is in the viewer.
another aspect is that a good soft-wrap implementation (*) somehow
visualizes the continued lines, which is particularly important for text
without indentation. this can be easily done by visualizing line breaks
along with other whitespace (see libreoffice) when soft-wrapping is
enabled. another style is to indent everything, and put some marker in
front of continuation lines. yet another style i've seen (in kate or qt
creator) is indenting the continuation lines like their "parent" lines and
filling the leading whitespace with a grey-ish pattern, but this obviously
doesn't work for non-indented text.
(*) the textedit i'm just entering this into clearly ''isn't'' a good
implementation ...
--
Ticket URL: <http://www.midnight-commander.org/ticket/4492#comment:3>
* status: new => closed
* resolution: => duplicate
* milestone: Future Releases =>
Comment:
Closed as duplicate of #1447.[[BR]]I can't believe that you didn't find
#1447
--
Ticket URL: <http://www.midnight-commander.org/ticket/4492#comment:4>