MCPcopy Create free account
hub / github.com/VCVRack/Rack / selectAll

Method selectAll

src/ui/TextField.cpp:337–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335}
336
337void TextField::selectAll() {
338 cursor = text.size();
339 selection = 0;
340}
341
342std::string TextField::getSelectedText() {
343 int begin = std::min(cursor, selection);

Callers 1

onActionMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected