MCPcopy Create free account
hub / github.com/VitalAudio/visage / selection

Method selection

visage_widgets/text_editor.cpp:380–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378 }
379
380 String TextEditor::selection() const {
381 int start = selectionStart();
382 int end = selectionEnd();
383 return text_.text().substring(start, end - start);
384 }
385
386 int TextEditor::beginningOfWord() const {
387 int index = caret_position_ - 1;

Callers

nothing calls this directly

Calls 2

substringMethod · 0.80
textMethod · 0.80

Tested by

no test coverage detected