MCPcopy Create free account
hub / github.com/NPP-JSONViewer/JSON-Viewer / IsJsonFile

Method IsJsonFile

src/NppJsonViewer/ScintillaEditor.cpp:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55bool 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
62auto ScintillaEditor::GetCurrentFileName() const -> std::wstring
63{

Callers 1

HandleTabActivatedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected