Community
Participate
Working Groups
The context menu in StyledText should be opened below the caret. The current solution overlaps the text after the caret in most cases (when the menu opens downwards). org.eclipse.ui.actions.QuickMenuCreator#computeMenuLocation(StyledText) fixes this via: result.y += text.getLineHeight(text.getCaretOffset());
Fixed in master for 3.8/4.2: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=c544b70c0083cf5c094cf4fc8b7ba7f940bb71b0 Thanks for the suggestion - looks good.