On Thu, Jun 2, 2011 at 4:15 PM, Michal Čihař
<michal(a)cihar.com> wrote:
Hi all
as of now, the master branch contains CodeMirror 2 [1] editor which is
being used for SQL editing. Please test and report any failures with it.
The MySQL mode was written by me and keywords list is based on our SQL
parser, so if something is missing there, most likely our SQL parser
misses it as well :-).
[
1]:http://codemirror.net/
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.
Codemirror also doesn't work properly in RTL mode as far as I can tell.
Rouslan