| 516 | } |
| 517 | |
| 518 | TextDocument::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 | |
| 526 | bool UICodeEditor::loadAsyncFromFile( |
| 527 | const std::string& path, std::shared_ptr<ThreadPool> pool, |
no outgoing calls
no test coverage detected