Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
337
void TextField::selectAll() {
338
cursor = text.size();
339
selection = 0;
340
}
341
342
std::string TextField::getSelectedText() {
343
int begin = std::min(cursor, selection);
Callers
1
onAction
Method · 0.45
Calls
1
size
Method · 0.45
Tested by
no test coverage detected