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

Method closeAllFiles

src/dialogs/MainWindow.cpp:1268–1280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1266}
1267
1268void MainWindow::closeAllFiles()
1269{
1270 if (!checkEditorsBeforeClose(editors())) {
1271 return;
1272 }
1273
1274 // Ask the manager to close the editors the dockedEditor knows about
1275 for (ScintillaNext *editor : editors()) {
1276 editor->close();
1277 }
1278
1279 newFile();
1280}
1281
1282void MainWindow::closeAllExceptActive()
1283{

Callers

nothing calls this directly

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected