MCPcopy Create free account
hub / github.com/gioui/gio / setSelection

Method setSelection

app/GioView.java:736–741  ·  view source on GitHub ↗
(int startChars, int endChars)

Source from the content-addressed store, hash-verified

734 }
735
736 @Override public boolean setSelection(int startChars, int endChars) {
737 int start = imeToRunes(nhandle, startChars);
738 int end = imeToRunes(nhandle, endChars);
739 imeSetSelection(nhandle, start, end);
740 return true;
741 }
742
743 /*@Override*/ public boolean requestCursorUpdates(int cursorUpdateMode) {
744 // We always provide cursor updates.

Callers

nothing calls this directly

Calls 2

imeToRunesMethod · 0.80
imeSetSelectionMethod · 0.80

Tested by

no test coverage detected