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

Method onCodeEditorFocusChange

src/tools/ecode/universallocator.cpp:950–957  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

948}
949
950void UniversalLocator::onCodeEditorFocusChange( UICodeEditor* editor ) {
951 if ( !mLocateTable || !mLocateTable->isVisible() )
952 return;
953
954 if ( String::startsWith( mLocateInput->getText(), ". " ) &&
955 editor->getDocument().getURI().toString() != mCurDocURI )
956 showDocumentSymbol();
957}
958
959std::shared_ptr<LSPSymbolInfoModel> UniversalLocator::emptyModel( const String& defTxt,
960 const std::string& query ) {

Callers

nothing calls this directly

Calls 5

getURIMethod · 0.80
getDocumentMethod · 0.80
isVisibleMethod · 0.45
getTextMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected