can I know from the backing code where the cursor in the TextArea is placed? Eg to extract the text that is in front of the cursor, and after it.
TextArea.getCursorPos() ?
Also, is it possible to format a text to be displayed differently than the backend source holds the text? Eg if I have a comma-separated list, can I keep that list in backend with commas, but display it in UI without commas?
You can freely format your text before setting it into the TextArea and you can also freely format the text for your backend after you have retrieved it from the TextArea. So just add and remove commas the way you want it.
-- J.
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment