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

Method selectTo

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

Source from the content-addressed store, hash-verified

2129}
2130
2131void TextDocument::selectTo( TextPosition position ) {
2132 setSelection( TextRange( sanitizePosition( position ), getSelection().end() ) );
2133}
2134
2135void TextDocument::selectTo( int offset ) {
2136 const TextRange& range = getSelection();

Callers 6

onMouseDownMethod · 0.80
selectToStartOfLineMethod · 0.80
selectToEndOfLineMethod · 0.80
selectToPreviousLineMethod · 0.80
selectToNextLineMethod · 0.80

Calls 3

getSelectionFunction · 0.85
endMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected