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

Method reset

src/eepp/ui/uicodeeditor.cpp:512–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510}
511
512void UICodeEditor::reset() {
513 mDoc->reset();
514 mDoc->getHighlighter()->reset();
515 invalidateDraw();
516}
517
518TextDocument::LoadStatus UICodeEditor::loadFromFile( const std::string& path ) {
519 auto ret = mDoc->loadFromFile( path );

Callers 6

scheduledUpdateMethod · 0.45
~UICodeEditorMethod · 0.45
setSyntaxDefinitionMethod · 0.45
resetSyntaxDefinitionMethod · 0.45
setTextMethod · 0.45
setTextMethod · 0.45

Calls 1

getHighlighterMethod · 0.80

Tested by

no test coverage detected