Thanks for the post! The only thing which should be noted is that with a text FIELD this is not as straightforward (not that it was anyway), because the text field doesn’t keep a layout manager. I’m not sure how fields perform text layout – perhaps by using the field editor, or by using a temporary layout manager they create on the fly, or something else. I’m afraid I can’t help much with that, but someone else might be able to.
Anonym schrieb am 17.03.2010
Thank you much. That's a gem!
Shared files aus Bonn schrieb am 01.11.2010
Thanks for the post! The only thing which should be noted is that with a text FIELD this is not as straightforward (not that it was anyway), because the text field doesn’t keep a layout manager. I’m not sure how fields perform text layout – perhaps by using the field editor, or by using a temporary layout manager they create on the fly, or something else. I’m afraid I can’t help much with that, but someone else might be able to.
scraps schrieb am 18.12.2010
Jeena Paradies aus Varberg / Schweden schrieb am 18.12.2010
Have you tried to use setSelectedRange:?