WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIEditorIMESupport

IID:228a76d3-5462-4322-a63c-5f94f7f5d4ed
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

[noscript] void beginComposition ( nsTextEventReplyPtr* reply ) void endComposition ( ) void forceCompositionEnd ( ) [noscript] void getPreferredIMEState ( out PRUint32 state ) [noscript] void getQueryCaretRect ( nsQueryCaretRectEventReplyPtr* reply ) [noscript] void getReconversionString ( nsReconversionEventReplyPtr* reply ) void notifyIMEOnBlur ( ) void notifyIMEOnFocus ( ) [noscript] void queryComposition ( nsTextEventReplyPtr* reply ) [noscript] void setCompositionString ( DOMString compositionString , nsIPrivateTextRangeListPtr textRange , nsTextEventReplyPtr* reply )

void beginComposition ( nsTextEventReplyPtr* reply )

BeginComposition(nsTextEventReply* reply) Handles the start of inline input composition.

Arguments:
reply

void endComposition ( )

EndComposition() Handles the end of inline input composition.


void forceCompositionEnd ( )

ForceCompositionEnd() force the composition end


void getPreferredIMEState ( out PRUint32 state )

Get preferred IME status of current widget.

Arguments:
state

void getQueryCaretRect ( nsQueryCaretRectEventReplyPtr* reply )

GetQueryCaretRect() Get the query caret rect

Arguments:
reply

void getReconversionString ( nsReconversionEventReplyPtr* reply )

GetReconversionString() Get the reconvertion string

Arguments:
reply

void notifyIMEOnBlur ( )

Notify for IME when the editor lost focus.


void notifyIMEOnFocus ( )

Notify for IME when the editor got focus.


void queryComposition ( nsTextEventReplyPtr* reply )

QueryComposition() Get the composition position

Arguments:
reply

void setCompositionString ( DOMString compositionString , nsIPrivateTextRangeListPtr textRange , nsTextEventReplyPtr* reply )

SetCompositionString() Sets the inline input composition string. beginComposition must be called prior to this.

Arguments:
compositionString
textRange
reply

Reference documentation is generated from Mozilla's source.