Point (@NotNull DataContext dataContext) { final Editor editor = CommonDataKeys.EDITOR.getData(dataContext); if (editor != null && editor.getComponent().isShowing()) { return getBestPositionFor(editor).getScreenPoint(); } return relativePointByQuickSearch(dataContext).getScreenPoint(); }