#4047 CodeMirror off breaks the script


So, recently there have been some changes made with using CodeMirror for syntax highlighting in the GUI. (for example pull request #399 on git).

Situation before (I think):
- CodeMirror is used for 'edit query'
- Syntax highlighting for the query shown when you for example browse a table is done with PHP (not sure, but I guess so).

Situation after:
- CodeMirror is used for both.

Now the problem is that I have codemirror disabled since I don't like it in my edit box.
Before the queries that are executed would be nicely highlighted, now I get a javascript error (fixed this in pull request #570).

However what I'd ideally see is that when CodeMirror is disabled in the options, my executed queries still get highlighted like they used to. With my fix I get the query just in plain text, not nicely formatted like before.


  • Marc Delisle

    Marc Delisle - 2013-09-21

    Sorry but we decided to stop maintaining the code at the PHP level that was doing syntax highlighting, and removed this code for the upcoming 4.1 version.

  • Marc Delisle

    Marc Delisle - 2013-09-21
    • status: open --> wont-fix

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks