Menu

#3296 Syntax highlighting for MySQL SQL comments incorrect

Duplicate
nobody
None
Defect
2013-07-26
2013-07-25
Anonymous
No

Originally created by: jelle.ra... (code.google.com)@gmail.com

If you enter the following in a query tab:

--TEST

The entire line is greyed out, indicating this would be a comment. However, MySQL only accepts comments if there's a space after the dashes:

-- TEST

The syntax highlighting should only indicate a comment in the last case.

I use HeidiSQL 8.0.0.4468.

Related

Tickets: #2631

Discussion

  • Anonymous

    Anonymous - 2013-07-25

    Originally posted by: a...@anse.de

    This is an old issue in the underlying SynEdit component. You could post that to their bugtracker.

    Status: Upstream

     
  • Anonymous

    Anonymous - 2013-07-25

    Originally posted by: jelle.ra... (code.google.com)@gmail.com

    The last version of SynEdit is dated 2007-07-11... I don't think upstream development is active at all?

    Would you mind another issue addressing the fact that the 6-year old editor component should be replaced or forked? I'm not aware of the reasons or sentiments regarding the usage of this project.

     
  • Anonymous

    Anonymous - 2013-07-25

    Originally posted by: a...@anse.de

    Please see the discussion in issue #2631.

    Mergedinto: 2631
    Status: Duplicate

     

    Related

    Tickets: #2631

  • Anonymous

    Anonymous - 2013-07-25

    Originally posted by: a...@anse.de

    By the way, HeidiSQL currently uses [r100] from the SynEdit's Subversion repository. [r100] is from Jan 10, 2013, so it's quite newer than what you found. And they have commits up to [r110] now, latest is from May this year. Where did you see that date from 2007?

     

    Related

    Commit: [r100]
    Commit: [r110]

  • Anonymous

    Anonymous - 2013-07-26

    Originally posted by: i...@augusoft.nl

    I was looking at the releases, sorry. Their SVN is quite a few years past 2007 :)

     
  • Anonymous

    Anonymous - 2013-07-26

    Originally posted by: a...@anse.de

    Thanks for feedback.

    Indeed SynEdit is not *very* actively developed, and I'm not quite happy with that situation. However, Scintialla lacks some features which I relied on per SynEdit, for example the search/replace dialog. If I would switch to Scintilla, I would have to redo all the work for that search/replace and probably more. Finally I will have a different  component a) which I have zero experience with and b) which most probably has other draw backs than SynEdit. So my decision is to stick to SynEdit for now.

     
MongoDB Logo MongoDB