| 9 | } |
| 10 | |
| 11 | void ScintillaEditor::RefreshViewHandle() |
| 12 | { |
| 13 | int which = -1; |
| 14 | ::SendMessage(m_NppData._nppHandle, NPPM_GETCURRENTSCINTILLA, 0, reinterpret_cast<LPARAM>(&which)); |
| 15 | assert(which != -1); |
| 16 | if (which != -1) |
| 17 | m_hScintilla = (which == 0) ? m_NppData._scintillaMainHandle : m_NppData._scintillaSecondHandle; |
| 18 | } |
| 19 | |
| 20 | auto ScintillaEditor::GetJsonText() -> ScintillaData |
| 21 | { |
no outgoing calls
no test coverage detected