mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-09-03 17:53:07 +02:00
Implementation notes
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user