Hi
Dne Mon, 25 Jul 2011 22:47:38 +0300
Tyron Madlener <tyronx(a)gmail.com> napsal(a):
I really like codemirror but it's current version
currently has a huge
drawback: no line wrapping.
When a user copy&paste a long query into the the editor it becomes an
unnerving hassle to edit the query. Like in my example:
http://www.tyron.at/tmp/codemirror_linewrap.png
It results in the codemirror extending extending really far
horizontally and you get 2 scrollbars. And whenever you type something
the scrollbars shift to the left again, somehow.
Maybe there's some plugin available we could use to remedy that.
Unfortunately CodeMirror does not (and probably will not) support
wrapping:
http://codemirror.net/internals.html#summary
So we either accept it as it is or will look for other editor.
--
Michal Čihař |
http://cihar.com |
http://blog.cihar.com