Fix VHDL comments highlighting
Comments styles in stylers.model.xml are inconsistent with Scintilla's states described in /scintilla/include/SciLexer.h. Moreover, block comments are highlighted with not the same style as line comments, but with style used for "COMMENT LINE BANG" in other languages. I eliminated the "COMMENT LINE" style, which Scintilla does not generate, fixed the "COMMENT BLOCK" style to be the same as regular "COMMENT", and added a separate style, "COMMENT LINE BANG", for special comments. Close #10748
This commit is contained in:
parent
32d5307edd
commit
8c3c30efae
|
@ -1325,8 +1325,8 @@
|
|||
<LexerType name="vhdl" desc="VHDL" ext="">
|
||||
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||
<WordsStyle name="COMMENT LIne" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||
<WordsStyle name="COMMENT BLOCK" styleID="15" fgColor="008080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||
<WordsStyle name="COMMENT LINE BANG" styleID="2" fgColor="008080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||
<WordsStyle name="COMMENT BLOCK" styleID="15" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||
<WordsStyle name="NUMBER" styleID="3" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||
<WordsStyle name="STRING" styleID="4" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||
<WordsStyle name="STRING EOL" styleID="7" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||
|
|
Loading…
Reference in New Issue