internal Lexing(Scintilla scintilla)
: base(scintilla)
{
this.WhitespaceChars = DEFAULT_WHITECHARS;
this.WordChars = DEFAULT_WORDCHARS;
this._keywords = new KeywordCollection(scintilla);
// Language names are a superset lexer names. For instance the chr and cs (chr#)
// 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.
this._lexerLanguageMap.Add("cs", "cpp");
this._lexerLanguageMap.Add("html", "hypertext");
this._lexerLanguageMap.Add("xml", "hypertext");
}