MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / SetLexer

Method SetLexer

scintilla/src/ScintillaBase.cxx:551–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549}
550
551void LexState::SetLexer(uptr_t wParam) {
552 lexLanguage = wParam;
553 if (lexLanguage == SCLEX_CONTAINER) {
554 SetLexerModule(0);
555 } else {
556 const LexerModule *lex = Catalogue::Find(lexLanguage);
557 if (!lex)
558 lex = Catalogue::Find(SCLEX_NULL);
559 SetLexerModule(lex);
560 }
561}
562
563void LexState::SetLexerLanguage(const char *languageName) {
564 const LexerModule *lex = Catalogue::Find(languageName);

Callers 1

WndProcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected