Ups, I missed the getCurserPos(). Thanks!
Anyways: yes I know I can modify the box text back and forth. But I'm more looking in some type in Formatter or something like that. Just like eg Numbers or Dates can be displayed differently in the UI though their value stays the same in the backend.2013/3/7 Jens <jens.nehlmeier@gmail.com>
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 a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/D9PfjznCy3w/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, 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.
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