Whether the native widget is still alive; safe after shutdown.
Native validity.
Commit through native CommitComposition and its length restrictions.
textComposition text; [0, 0] performs no replacement.
Call Rml::TextInputContext::GetBoundingBox.
Screen bounds, or null when native projection fails.
Call Rml::TextInputContext::GetSelectionRange.
Current selection in Unicode code points.
Call native SetCompositionRange; [0, 0] clears composition.
startNonnegative int32 first code point.
endExclusive int32 end, at least start.
Call Rml::TextInputContext::SetCursorPosition.
positionNonnegative int32 code-point position.
Call Rml::TextInputContext::SetSelectionRange; unfocused widgets ignore it.
startNonnegative int32 start in code points.
endExclusive nonnegative int32 end, at least start.
Replace a range through native SetText, bypassing maxlength.
textReplacement text.
startNonnegative int32 first code point.
endExclusive int32 end, at least start.
Checked native Rml::TextInputContext for a live input or textarea widget.
Remarks
Obtain this capability from TextInputHandler callbacks or drainEvents. Blur preserves it; widget destruction, input type changes and shutdown invalidate it. Offsets count Unicode code points, not UTF-16 code units. Native RmlUi implements all editing operations. On supported macOS SFML windows, focus attaches a native IME client; queued Cocoa edits run from Context.processEvent or Context.update. Other OS bridges are unavailable. getBoundingBox describes the widget; candidate placement uses the native caret.