And searching in google gives me the following result:
http://stackoverflow.com/questions/12542522/how-to-get-cursor-position-or-location-from-richtextarea-in-gwt
Maybe that also works for you.
-- J.
--
You received this message because you are subscribed to the Google Groups
"Google Web Too
There are at least two (old) issues for it:
http://code.google.com/p/google-web-toolkit/issues/detail?id=1127
http://code.google.com/p/google-web-toolkit/issues/detail?id=2182
In the comments someone mentioned that he has created a library:
http://code.google.com/p/gwt-selection/
Maybe you shou
anyone please...
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/wlFanK9tkpoJ.
To post to this group, send email to google-web-toolkit@googlegro
I tried to include the getCursorPos() of TextArea in RichTextArea
private static RichTextAreaImpl impl = GWT.create(RichTextAreaImpl.class);
public int getTextAreaCursorPos(Element elem)
{
return getCursorPos(elem);
}
public int getCursorPos()
{
return getTextAreaCursorPos(getElement()
I am trying to create an area and initially I used the RichTextArea in
order to use functions like toggleBold, toggleItalic and toggleUnderline.
After a few days I noticed that in comparison with the TextArea, there are
no getCursorPos and getSelectedText methods which are very essential
in orde