#1509 MSSQL Lexer: ';' not styled as an operator


It's deliberately styled as DEFAULT. In a language like this only white-space should be styled as default. Attachment w/ patch on the way.


  • Eric Promislow

    Eric Promislow - 2013-08-02

    patch enclosed

  • Neil Hodgson

    Neil Hodgson - 2013-08-03

    The patch adds '{}[]:;?.' to the set of characters treated as operators. Square brackets '[]' were explicitly handled but the others are now seen as operators. Couldn't find an MS SQL example using ':' which is used for bind variables in other SQL dialects. '{}' are for ODBC escape sequences. There are examples of the others ';?.' in similar roles to operators.

    Committed as [b8e130] although ':' may be wrong.

    MS SQL syntax
    ODBC escape sequences



    Commit: [b8e130]

  • Neil Hodgson

    Neil Hodgson - 2013-08-03
    • labels: --> scintilla, lexer, sql
    • status: open --> open-fixed
    • assigned_to: Neil Hodgson
  • Neil Hodgson

    Neil Hodgson - 2013-08-31
    • status: open-fixed --> closed-fixed

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

No, thanks