MCPcopy Create free account
hub / github.com/SpartanJ/eepp / saveAll

Method saveAll

src/tools/ecode/ecode.cpp:189–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189void 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
198std::string App::titleFromEditor( UICodeEditor* editor ) {
199 std::string title( editor->getDocument().getFilename() );

Callers 1

buildCurrentConfigMethod · 0.45

Calls 5

forEachEditorMethod · 0.80
getDocumentMethod · 0.80
clearMethod · 0.45
isDirtyMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected