void (@NotNull EditorMouseEvent e) { int line = e.getLogicalPosition().line; Cursor cursor = getChange(mySide, line) != null || getFoldRegion(mySide, line) != null ? Cursor.getPredefinedCursor(Cursor.HAND_CURSOR) : null; ((EditorEx)e.getEditor()).setCustomCursor(DiffPreviewPanel.class, cursor); }