Feature Requests item #3185867, was opened at 2011-02-18 16:28
Message generated for change (Comment added) made by nijel
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=377411&aid=3185867&group_id=23067
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Interface Improvements
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nicolas Toniazzi (drgang)
Assigned to: Nobody/Anonymous (nobody)
Summary: SQL syntax highlighting
Initial Comment:
I thought it would be interesting to have a syntax highlighter in the SQL query window. I made a quick patch to add CodeMirror (http://codemirror.net/).
Before submitting a patch, I'd like to know I there are some rules concerning the use of external libraries, and where to put them in the source tree.
----------------------------------------------------------------------
>Comment By: Michal Čihař (nijel)
Date: 2011-03-02 15:36
Message:
We anyway need to choose "the best" solution to provide by default.
The editArea looked also pretty easy to integrate when I tried, but I have
not found enough time to prepare it for 3.4 release.
----------------------------------------------------------------------
Comment By: Nicolas Toniazzi (drgang)
Date: 2011-02-21 11:29
Message:
Actually I don't. I tried to find something easy to use as a developer, and
found CodeMirror. The result was satisfying enough for me.
So unfortunately I don't have any objective comparing information, but I
think they could be defined as plugins and used alternatively. I managed to
add CodeMirror in an almost non-intrusive way. It was for an older version
of phpmyadmin and I need to change some things then I will submit a patch.
----------------------------------------------------------------------
Comment By: Michal Čihař (nijel)
Date: 2011-02-20 14:31
Message:
I was thinking about using http://www.cdolivet.com/index.php?page=editArea
for such functionality. Do you have any information which one is better and
why?
----------------------------------------------------------------------
Comment By: Marc Delisle (lem9)
Date: 2011-02-18 18:59
Message:
Licensing rule: must be GPL 2 compatible.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=377411&aid=3185867&group_id=23067
|