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:
parent
6328575639
commit
a972aec9b0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user