[Phpmyadmin-devel] Syntax highlighted SQL editor
rouslan at placella.com
Tue Jul 26 12:29:47 CEST 2011
On Mon, 2011-07-25 at 22:47 +0300, Tyron Madlener wrote:
> On Thu, Jun 2, 2011 at 4:15 PM, Michal Čihař <michal at cihar.com> wrote:
> > Hi all
> > as of now, the master branch contains CodeMirror 2  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 :-).
> > :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:
> 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.
More information about the Developers