internal Lexing(Scintilla scintilla) : base(scintilla) { _keywords = new KeywordCollection(scintilla); // Language names are a superset lexer names. For instance the c and cs (c#) // langauges both use the cpp lexer (by default). Languages are kind of a // SCite concept, while Scintilla only cares about Lexers. However we don't // need to explicetly map a language to a lexer if they are the same name // like cpp. _lexerLanguageMap.Add("cs", "cpp"); _lexerLanguageMap.Add("html", "hypertext"); _lexerLanguageMap.Add("xml", "hypertext"); }