google-code-export / sqlite-manager

Automatically exported from code.google.com/p/sqlite-manager
1 stars 0 forks source link

Request: Syntax highlighting #239

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It's probably a difficult thing, but I'd really like syntax highlighting
for SQL statements.

Original issue reported on code.google.com by igi...@gmail.com on 6 Feb 2009 at 1:17

GoogleCodeExporter commented 9 years ago
difficult indeed.
I will leave it as new, but I am not attending to it.

Original comment by mrinal.k...@gmail.com on 7 Mar 2009 at 2:08

GoogleCodeExporter commented 9 years ago
I think you'd be able to use CodeMirror http://marijn.haverbeke.nl/codemirror/ 
to do 
syntax highlighting. 

Just as Rainbow adds Javascript syntax highlighting to Firebug.

Original comment by igi...@gmail.com on 19 Mar 2009 at 7:46

GoogleCodeExporter commented 9 years ago
Thanks for the hint. Let me see the links.

Original comment by mrinal.k...@gmail.com on 19 Mar 2009 at 8:58

GoogleCodeExporter commented 9 years ago
I think a simplified version of the SPARQL highlighter will do the trick.

Original comment by igi...@gmail.com on 19 Mar 2009 at 9:02

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Proof of concept of syntax highlihting using CodeMirror with MS SQL plugin. The 
parser should be adjusted for Sqlite, but this is just to show how it could 
work. I'm not an expert in XUL design, so the codemirror files are probably in 
the wrong place.

Original comment by igi...@gmail.com on 16 Aug 2010 at 12:09

Attachments:

GoogleCodeExporter commented 9 years ago
Please change this to InProgress as opposed to WontFix?

Original comment by igi...@gmail.com on 30 Aug 2010 at 9:58

GoogleCodeExporter commented 9 years ago
I am yet to take a look at what you have attached here.
However, thanks in advance.
Being very busy in my day job which extends to in the night too, this may take 
some time.

Original comment by mrinal.k...@gmail.com on 30 Aug 2010 at 11:18

GoogleCodeExporter commented 9 years ago
New patch using CodeMirror v2, and based on Sqlite Manager v0.7.7. Please apply.

Original comment by igi...@gmail.com on 24 Mar 2012 at 2:46

Attachments:

GoogleCodeExporter commented 9 years ago
Updated patch to highlight currently selected line.

Original comment by igi...@gmail.com on 24 Mar 2012 at 3:27

Attachments:

GoogleCodeExporter commented 9 years ago
Very useful enhancement. Count of type-mistakes go away, day by day. 

Original comment by shepelin...@gmail.com on 4 Apr 2012 at 10:49

GoogleCodeExporter commented 9 years ago
@igitur: Thanks for your effort. I hope you have tested the changes. I am 
unable to merge the patch to my git repo.

Please send me a pull request on github 
(https://github.com/lazierthanthou/sqlite-manager). I will merge it immediately

Original comment by mrinal.k...@gmail.com on 4 Apr 2012 at 5:46

GoogleCodeExporter commented 9 years ago
Any updates on this?
Per the last comment in April, this was only waiting for a merge...

Also, have yet to review the implementation, but if it uses class names that 
would lend to having a sensible default and simple user css modifications for 
personal themes...

Original comment by linux.us...@gmail.com on 26 Sep 2012 at 7:50

GoogleCodeExporter commented 9 years ago
True, I have to merge it on github. Just have to get myself up to speed with 
how Github works. Will try over the weekend. My implementation is based on 
CodeMirror 2, which is themeable, so look up the documentation there.

Original comment by igi...@gmail.com on 26 Sep 2012 at 8:09

GoogleCodeExporter commented 9 years ago
So any updates on this one?

Original comment by pmav99@gmail.com on 7 Oct 2013 at 2:31

GoogleCodeExporter commented 9 years ago
This is make or break for me, as I'm looking for a cross-platform SQLite 
teaching platform.  Any updates here?

Original comment by alexsto...@gmail.com on 17 Nov 2014 at 5:10