[Phpmyadmin-devel] Syntax highlighted SQL editor

Michal Čihař michal at cihar.com
Tue Aug 2 15:29:50 CEST 2011


Hi

Dne Mon, 25 Jul 2011 22:47:38 +0300
Tyron Madlener <tyronx at 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
-------------- 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/20110802/cbdc9ad9/attachment.sig>


More information about the Developers mailing list