[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3249: Some higlighting is missing "Normal" state


http://gambaswiki.org/bugtracker/edit?object=BUG.3249&from=L21haW4-

Comment #2 by Bruce STEERS:

I mean it does not exist in the States property

This code lists all states for all modes..

    For Each sState As String In TextHighlighter.List
      Print sState, TextHighlighter[sState].States.Join("; ")
    Next

below is output.  some are missing Normal, some have it.


c       Comment; Constant; Datatype; Documentation; Escape; Keyword; Number; Operator; Preprocessor; String; Symbol
cplusplus       Comment; Constant; Datatype; Documentation; Escape; Function; Keyword; Number; Operator; Preprocessor; String; Symbol
css     AtRule; Class; Color; Comment; Constant; Documentation; Escape; Function; Id; Important; Keyword; Number; Operator; Preprocessor; PseudoClass; PseudoElement; String; Symbol; Tag; TagAttribute
csv     Column1; Column2; Column3; Column4; Column5; Column6; Column7; Column8; Normal
diff    Added; Diff; File; Index; Normal; Position; Removed; String
gambas  Comment; Constant; Datatype; Documentation; Error; Escape; Function; Keyword; Label; Normal; Number; Operator; Preprocessor; String; Symbol
highlight       Comment; Escape; Function; Keyword; Normal; Number; Operator; Preprocessor; String
html    Attribute; Comment; Doctype; Entity; Markup; Normal; Value
javascript      Comment; Constant; Documentation; Escape; Keyword; Number; Operator; Preprocessor; RegExp; String; Symbol
json    Constant; Escape; Number; Operator; String; Symbol
settings        Color; Escape; Keyword; Normal; Number; Operator; Slot; String; Symbol
sh      Command; Comment; Escape; Expansion; Keyword; Number; Operator; Shebang; String; Symbol
sql     Comment; Datatype; Documentation; Escape; Function; Keyword; Number; Operator; String; Symbol
webpage Attribute; Comment; Doctype; Documentation; Entity; Markup; Normal; Preprocessor; Value
xml     Attribute; CData; Comment; Entity; Markup; Normal; Prolog; Value



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----