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

Method loadFromFile

src/eepp/ui/uicodeeditor.cpp:518–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516}
517
518TextDocument::LoadStatus UICodeEditor::loadFromFile( const std::string& path ) {
519 auto ret = mDoc->loadFromFile( path );
520 if ( ret == TextDocument::LoadStatus::Loaded ) {
521 onDocumentLoaded();
522 }
523 return ret;
524}
525
526bool UICodeEditor::loadAsyncFromFile(
527 const std::string& path, std::shared_ptr<ThreadPool> pool,

Callers 4

loadMethod · 0.45
loadFromDirectoryMethod · 0.45
reloadStyleSheetMethod · 0.45
loadFontFacesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected