I have a TextItem that I've added a ChangedHandler that calls setIcon. I'm getting this behavior:
1) Type "something" into text item
2) Icon appears
3) Move cursor to beginning of item and type a letter
- causes ChangedEvent to occur that calls TextItem.setIcon
^ causes cursor to automatically move to end of item
Is there a way to keep the cursor where it is when setIcon is called?
Thanks!
1) Type "something" into text item
2) Icon appears
3) Move cursor to beginning of item and type a letter
- causes ChangedEvent to occur that calls TextItem.setIcon
^ causes cursor to automatically move to end of item
Is there a way to keep the cursor where it is when setIcon is called?
Thanks!
Comment