| 566 | } |
| 567 | |
| 568 | void MainWindow::newFile() |
| 569 | { |
| 570 | auto* e = new CodeEditor(this); |
| 571 | int i=ui->tabWidget->addTab(e,tr("[New]")); |
| 572 | ui->tabWidget->setCurrentIndex(i); |
| 573 | |
| 574 | setupEditor(e); |
| 575 | } |
| 576 | |
| 577 | bool MainWindow::saveFile() |
| 578 | { |
nothing calls this directly
no outgoing calls
no test coverage detected