1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-03-04 21:32:52 +01:00

Implementation notes

This commit is contained in:
Andrey Vlasovskikh 2016-01-26 21:33:31 +03:00
parent 6328575639
commit a972aec9b0

View File

@ -99,6 +99,7 @@ public class VimSurroundExtension extends VimNonDisposableExtension {
if (pair == null) {
return false;
}
// XXX: Will it work with line-wise or block-wise selections?
final TextRange range = getSurroundRange(editor);
if (range == null) {
return false;
@ -117,6 +118,7 @@ public class VimSurroundExtension extends VimNonDisposableExtension {
case COMMAND:
return VimPlugin.getMark().getChangeMarks(editor);
case VISUAL:
// XXX: Untested code
return VimPlugin.getMark().getVisualSelectionMarks(editor);
default:
return null;