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

Method getWordInPosition

src/eepp/ui/doc/textdocument.cpp:2616–2618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2614}
2615
2616String TextDocument::getWordInPosition( const TextPosition& pos, bool basedOnHighlighter ) {
2617 return getText( getWordRangeInPosition( pos, basedOnHighlighter ) );
2618}
2619
2620String TextDocument::getWordInPosition( bool basedOnHighlighter ) {
2621 return getWordInPosition( getSelection().start(), basedOnHighlighter );

Callers 2

onMouseMoveMethod · 0.80
renameSymbolMethod · 0.80

Calls 2

getSelectionFunction · 0.85
startMethod · 0.45

Tested by

no test coverage detected