pointFromVisualPosition.getOriginalPoint().translate(-4, -searchBox.getHeight() - editor.getLineHeight() + 2);
return pointFromVisualPosition;
}
protected RelativePoint getPointFromVisualPosition(Editor editor, VisualPosition logicalPosition) {
Point p = editor.visualPositionToXY(new VisualPosition(logicalPosition.line + 1, logicalPosition.column));
return new RelativePoint(editor.getContentComponent(), p);
}