| 60 | } |
| 61 | |
| 62 | auto ScintillaEditor::GetCurrentFileName() const -> std::wstring |
| 63 | { |
| 64 | wchar_t fileName[MAX_PATH] {}; |
| 65 | ::SendMessage(m_NppData._nppHandle, NPPM_GETFILENAME, 0, reinterpret_cast<LPARAM>(&fileName)); |
| 66 | return fileName; |
| 67 | } |
| 68 | |
| 69 | void ScintillaEditor::ReplaceSelection(const std::string& text) const |
| 70 | { |