Get cursor start and end position according to the specified highlighttext and current text.
Syntax
Javascript (Usage) | |
---|
var instance = new wijmo.input.BaseUIProcess();
var value; // Type: any
// Parameters
var highlightText; // Type: any
var text; // Type: string
var cursorPos; // Type: number
var startPos; // Type: number
value = instance.SetCursorPositionAndSelection(highlightText, text, cursorPos, startPos);
|
Javascript (Specification) | |
---|
function SetCursorPositionAndSelection(
: any,
: string,
: number,
: number
) : any;
|
Parameters
- highlightText
- text
- cursorPos
- startPos
Browser Compatibility
See Also
Reference
BaseUIProcess type