| 187 | } |
| 188 | |
| 189 | void App::saveAll() { |
| 190 | mTmpDocs.clear(); |
| 191 | mSplitter->forEachEditor( [this]( UICodeEditor* editor ) { |
| 192 | if ( editor->isDirty() ) |
| 193 | mTmpDocs.insert( &editor->getDocument() ); |
| 194 | } ); |
| 195 | saveAllProcess(); |
| 196 | } |
| 197 | |
| 198 | std::string App::titleFromEditor( UICodeEditor* editor ) { |
| 199 | std::string title( editor->getDocument().getFilename() ); |
no test coverage detected