(LineAnnotationModel) provider.getAnnotationModel(input);
IDocument document = provider.getDocument(input);
- ISelection selection = HandlerUtil.getActiveMenuSelection(event);
+ ISelection selection = HandlerUtil.getCurrentSelection(event);
if (selection instanceof TextSelection) {
Annotation annotation = null;