MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / createEditorFromFile

Method createEditorFromFile

src/EditorManager.cpp:142–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142ScintillaNext *EditorManager::createEditorFromFile(const QString &filePath, bool tryToCreate)
143{
144 ScintillaNext *editor = ScintillaNext::fromFile(filePath, tryToCreate);
145
146 if (editor) {
147 manageEditor(editor);
148 }
149
150 return editor;
151}
152
153ScintillaNext *EditorManager::getEditorByFilePath(const QString &filePath)
154{

Callers 1

openFileListMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected