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

Method onDocumentChanged

src/eepp/ui/uicodeeditor.cpp:707–712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705}
706
707void UICodeEditor::onDocumentChanged( URI oldDocURI ) {
708 if ( mFindReplace )
709 mFindReplace->setDoc( mDoc );
710 DocChangedEvent event( this, mDoc.get(), Event::OnDocumentChanged, oldDocURI );
711 sendEvent( &event );
712}
713
714void UICodeEditor::onFoldRegionsUpdated( size_t oldCount, size_t newCount ) {
715 if ( oldCount == 0 && newCount > 0 ) {

Callers

nothing calls this directly

Calls 2

setDocMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected