} else if (popupEvent){
String selection = getSelection(pos, editor);
JPopupMenu popupMenu = getPopupMenu(selection, false);
TextComponentPopupEventQueue.addStandardContextMenu(mInfoEP,
popupMenu);
popupMenu.show(e.getComponent(), e.getX(), e.getY());
}
}
}
private JMenuItem searchTextMenuItem(final String desc) {