| 344 | } |
| 345 | |
| 346 | int 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 | |
| 352 | int NppInterface::get_style_at(TextPosition position) const { return static_cast<int>(send_msg_to_scintilla(SCI_GETSTYLEAT, position)); } |
| 353 |
no outgoing calls
no test coverage detected