MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / get_lexer

Method get_lexer

src/npp/NppInterface.cpp:346–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346int NppInterface::get_lexer() const {
347 if (m_lexer_cache[m_target_view])
348 return *m_lexer_cache[m_target_view];
349 return *(m_lexer_cache[m_target_view] = static_cast<int>(send_msg_to_scintilla(SCI_GETLEXER)));
350}
351
352int NppInterface::get_style_at(TextPosition position) const { return static_cast<int>(send_msg_to_scintilla(SCI_GETSTYLEAT, position)); }
353

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected