MCPcopy Create free account
hub / github.com/HumbleUI/JWM / getRectForMarkedRange

Method getRectForMarkedRange

shared/java/TextInputClient.java:18–18  ·  view source on GitHub ↗

Get UI rect in screen space for currently edited text region. This method is called if user currently in complex text input and IME mode types complex characters. Returned rect is used to correctly position IME and system pop-up windows and elements nearly the edited text region.</

(int selectionStart, int selectionEnd)

Source from the content-addressed store, hash-verified

16 * @see <a href="https://github.com/HumbleUI/JWM/blob/main/examples/java/io/github/humbleui/jwm/examples/PanelTextInput.java">Text input example</a>
17 */
18 IRect getRectForMarkedRange(int selectionStart, int selectionEnd);
19
20 /**
21 * Returns the range of selected text

Callers

nothing calls this directly

Implementers 1

PanelTextInputexamples/dashboard/java/PanelTextInput

Calls

no outgoing calls

Tested by

no test coverage detected