IME.getCaretOffset

Returns the offset of the caret from the start of the document. The caret is within the current composition.

@return the caret offset

@exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

class IME
int
getCaretOffset
(
)

Meta