Community
Participate
Working Groups
From https://bugs.eclipse.org/bugs/show_bug.cgi?id=579028#c7: > When an editor loses focus and then gains it again, only the "blinking OS caret" > is drawn, but the other virtual carets are not updated/drawn until the caret > moves. This is because Composite.setFocus() -> ... -> Caret.setFocus() doesn't > know of extra carets, and thus only shows one caret. > A remedy would be to add an implementation for StyledText.setFocus() like this: > @Override > public boolean setFocus() { > boolean b = super.setFocus(); > setCaretLocations(); > return b; > } > > This takes care of the drawing of the extra carets.
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/191674
Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/191674 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=c26ee1be1fc9a564a23307db33ef2930af66dcfd
Thanks Dirk!