| 53 | } |
| 54 | |
| 55 | bool ScintillaEditor::IsJsonFile() const |
| 56 | { |
| 57 | unsigned languageType = 0; |
| 58 | ::SendMessage(m_NppData._nppHandle, NPPM_GETCURRENTLANGTYPE, 0, reinterpret_cast<LPARAM>(&languageType)); |
| 59 | return languageType == LangType::L_JSON; |
| 60 | } |
| 61 | |
| 62 | auto ScintillaEditor::GetCurrentFileName() const -> std::wstring |
| 63 | { |