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

Method NotifyStyleToNeeded

scintilla/src/ScintillaBase.cxx:707–717  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705#endif
706
707void ScintillaBase::NotifyStyleToNeeded(int endStyleNeeded) {
708#ifdef SCI_LEXER
709 if (DocumentLexState()->lexLanguage != SCLEX_CONTAINER) {
710 int lineEndStyled = pdoc->LineFromPosition(pdoc->GetEndStyled());
711 int endStyled = pdoc->LineStart(lineEndStyled);
712 DocumentLexState()->Colourise(endStyled, endStyleNeeded);
713 return;
714 }
715#endif
716 Editor::NotifyStyleToNeeded(endStyleNeeded);
717}
718
719void ScintillaBase::NotifyLexerChanged(Document *, void *) {
720#ifdef SCI_LEXER

Callers

nothing calls this directly

Calls 4

GetEndStyledMethod · 0.80
ColouriseMethod · 0.80
LineFromPositionMethod · 0.45
LineStartMethod · 0.45

Tested by

no test coverage detected