Hi Nicolas, Fantastic reference.
And look at http://codemirror.net/jstest.html (search for "var" and it's great). Looking into the code, I found something of interest in js/editor.js file. -- Happy Hacking, Gaurav Vaish http://www.mastergaurav.com On Nov 21, 7:49 pm, Nicolas Antoniazzi <[email protected]> wrote: > I do not know the low level functions for doing this, but it is possible. We > use a tool called CodeMirror on our project. It is a rich text area with > code parser and syntax highlight. > There are methods it the api to select portion of text. > > http://codemirror.net/ > > <http://codemirror.net/> > > 2010/11/21 Gaurav Vaish <[email protected]> > > > IMHO, there's no Javascript API to select only a part of text in text- > > area... would be happy to be proven wrong. > > > -- > > Happy Hacking, > > Gaurav Vaish > >http://www.mastergaurav.com > > > On Nov 20, 11:20 am, Yu <[email protected]> wrote: > > > Hi, > > > > I'd like to highlight the word under the mouse as the mouse pointer > > > move around in a TextArea. But I haven't found any API to do that? > > > > Could you please help? > > > > Thanks, > > > > Yu > > > -- > > 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]<google-web-toolkit%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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.
