| 140 | } |
| 141 | |
| 142 | ScintillaNext *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 | |
| 153 | ScintillaNext *EditorManager::getEditorByFilePath(const QString &filePath) |
| 154 | { |