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

Method closeAllExceptActive

src/dialogs/MainWindow.cpp:1282–1294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1280}
1281
1282void MainWindow::closeAllExceptActive()
1283{
1284 auto e = currentEditor();
1285 auto editor_list = editors();
1286
1287 editor_list.removeOne(e);
1288
1289 if (checkEditorsBeforeClose(editor_list)) {
1290 for (ScintillaNext *editor : editor_list) {
1291 editor->close();
1292 }
1293 }
1294}
1295
1296void MainWindow::closeAllToLeft()
1297{

Callers

nothing calls this directly

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected