Hi Jim and Ehsan,
Thank you. It really helps ;-)
Mark also show me an example about the usage of selectionListeners,
which covers the case of designMode/contentEditable.
All the information you provided seems enough to solve my issue :-)
Regards,
Yuan
On 08/28/2013 05:31 PM, Mark Capella w
On 2013-08-28 12:22 PM, Jim Chen wrote:
Hi Xulei,
I think you can use
nsISelectionPrivate::addSelectionListener [1]. You can get
nsISelectionPrivate through QueryInterface on nsISelection,
which you can get from nsIEditor.
But note that you can only get the nsIEditor for plaintext controls,
t
Hi Xulei,
I think you can use
nsISelectionPrivate::addSelectionListener [1]. You can get
nsISelectionPrivate through QueryInterface on nsISelection,
which you can get from nsIEditor.
Cheers,
Jim
[1]
http://mxr.mozilla.org/mozilla-central/source/content/base/public/nsISelectionPrivate.idl#52
On
Hi all,
I'm implementing b2g keyboard/IME api and encounter a problem
with the selection range observing.
We want to monitor the cursor position or selection range changes
in current input element, which is a text input field or a content
editable element receiving user's input. The cursor posit
4 matches
Mail list logo