mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-202946 vcs: enable "History for Selection" without selection
This commit is contained in:
@@ -37,9 +37,6 @@ public class VcsSelectionUtil {
|
||||
Editor editor = context.getEditor();
|
||||
if (editor == null) return null;
|
||||
SelectionModel selectionModel = editor.getSelectionModel();
|
||||
if (!selectionModel.hasSelection()) {
|
||||
return null;
|
||||
}
|
||||
return new VcsSelection(editor.getDocument(), selectionModel);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user