<a href="http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-1000864" rel="nofollow">Phillippe</a>, I kind of like the hyphenation in the textarea. It’s an interesting effect. It’s true that most people probably want to do as you suggest, though. I think the concern with code hyphenation is that something like <code>repeating-linear-gradient</code> could end up displayed as <code>re-peating-linear-gradient</code> and thus be unnecessarily confusing. And imagine the results if extra hyphens strayed into a UNIX command line example! Sure, that would likely be no problem if the user selects-and-copies, as both of us pointed out, but if someone retypes it…yikes.
↧