4 ms·
> endlessly long lines in a browser text area I don't understand. Text wraps automatically inside a textarea without any newlines, and HN textarea is not endle
by raquo 12y ago
> endlessly long lines in a browser text area
I don't understand. Text wraps automatically inside a textarea without any newlines, and HN textarea is not endlessly long, it's 485px wide which pretty much matches your manual newline splitting.
- ColinWright 12y ago>> endlessly long lines in a browser text area > I don't understand. Text wraps automatically > inside a textarea without any newlines, ... That depends. Once upon a time not all browsers had the feature of auto-wrapping text in a TEXTAREA element, and many people grew up with the habit of putting line-feeds into their text as a matter of course. It made the text readable as it was typed, and avoided the problems caused by some browsers deliberately inserting CR or LF into long text lines. For many, the habit persists, and for me (for example) it would be extremely annoying to have CR or LF from the text preserved as it gets converted into HTML.
- raquo 12y ago> Once upon a time not all browsers had the feature of auto-wrapping text in a TEXTAREA element Ha. That explains it. I wasn't on the internet when this was going on.