Change SQL Hilight syntax

Marco Ceca
2013-02-12
2013-02-17
  • Marco Ceca
    Marco Ceca
    2013-02-12

    I would like to add the commentLine char but I\'m getting crazy trying to edit xml files all around the world.

    My SQL engine uses '//' to comment lines, so I've edited

    1. langs.xml file (in user, appdata, roaming..)
    2. langs.model.xml (in program filex x86\notepad++)

    <Language name="sql" ext="sql" commentLine="//" commentStart="/" commentEnd="/">

    but nothing changes. How should I do it?

     
  • cchris
    cchris
    2013-02-17

    I haven't updated the list of lexer properties in a while, but there doesn't seem to be a way to change the comment construct. The lexer doesn't know about //, and langs.xml purpose is to tell N++ what the lexer does, not the other way around (apart from some word lists).
    So this is to be asked to the Scintilla project I think.

    CChris