[Phpmyadmin-devel] Syntax highlighted SQL editor

Madhura Jayaratne madhura.cj at gmail.com
Thu Jun 2 15:56:57 CEST 2011


On Thu, Jun 2, 2011 at 6:45 PM, Michal Čihař <michal at 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/
>
> Hi Michal,

This is a great feature that was missing in PMA and glad it has finally been
added. It would be even better if we can extend this someday to
highlight/underline syntax errors, as we normally get in IDEs.

However the editor does not seem to add vertical scrollbars when a lengthy
SQL is entered. The SQL falls out of the editor window. Tested with both FF
and Chrome.

-- 
Thanks and Regards,

Madhura Jayaratne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20110602/657a21fa/attachment.html>


More information about the Developers mailing list