[Phpmyadmin-devel] Syntax highlighted SQL editor

Michal Čihař michal at cihar.com
Thu Jun 2 16:13:21 CEST 2011


Hi

Dne Thu, 2 Jun 2011 16:06:34 +0200
Tyron Madlener <tyronx at gmail.com> napsal(a):

> On Thu, Jun 2, 2011 at 3:15 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/
> 
> Thats nice, is the autocomplete feature disabled? 

Autocompletion needs to be implemented separately.

> And what does the
> Clear Button do? It seems to have no effect for me.

It should work as before - clear the text.

> Also I think the line number could be omitted.

I find it useful when I get some error message, though it would be
better to directly highlight problematic line. Again something what
needs to be implemented.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20110602/dfbd40f5/attachment.sig>


More information about the Developers mailing list