Thanks for your link, I have already seen this one and it works only
for a TextArea. You don't have the cursor position in a RTA. I've
found something else, maybe that will work for the cursor position:
http://code.google.com/p/gwt-selection/

On 18 Jan., 10:03, Ice13ill <[email protected]> wrote:
> Maybe this will help:
>
> http://albertattard.blogspot.com/2009/11/capturing-tab-key-in-gwt-tex...
>
> On Jan 18, 4:45 am, Marcus Franzen <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hi!
>
> > I would like to use the tab-character within a RichTextArea in GWT.
> > The usual behavior of pressing the tab-key is to switch the focus to
> > the next element. I am trying to capture the TAB-Key when typing text
> > in a RichTextArea (via KeyDownHandler) and insert the tab character at
> > the current cursor position. Sadly the RichTextArea has no
> > getCursorPos/setCursorPos like the TextArea has.
>
> > Any ideas?
>
> > Many thanks!
>
> > Marcus

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to