I’ve created a little TextCommand plugin, that adds a new Region. However, when the Region is added the view does not display the updated selection, although it displays in the status bar how many character are selected. Also when I change to another tab and get back to the original one, the correct text selection is displayed.
How to I force a redraw?
Note: This solution doesn’t do anything. This solution works, however since it reloads the view flickers for a tiny second (not nice).
Any ideas?