Re:When 13.3 is greater than 14
by munificent on Friday November 13, 2020 @04:53PM
(#25087960)
Word processors soft wrap text to whatever window width you want. Code editors need to be as wide as the code.
[ Parent
| on HN ]
In the office I have two 1080x1920 panels, which can each display two columns of code with room to spare. I use the X11 6x13 “fixed” font, and emacs with fringes but without scrollbars, so each column is a few more than 80 characters wide.
At home I have two 1200x1920 panels, a bit more horizontal breathing room, but my code is still less than 80 wide :-)
Re:When 13.3 is greater than 14
by emayljames on Friday November 13, 2020 @05:21PM
(#25088238)
Atom, VSCode, Dreamweaver and others also use soft wrap by default.
Soft-wrapped code tends to be pretty difficult to read though. Certainly much more difficult than wrapped prose. Personally I prefer horizontal scrolling over wrapping code pretty much always (at least on a mac where horizontal scrolling is easy).
Xcode used to be really good at softwrapping code. It was so useful with the assistant editor on a laptop screen. It got worse at some point around Xcode 8 or 9, which was a shame.
(further to this, I realised earlier that it got better again in Xcode 11 - it no longer double-indents wrapped lines)