/*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
return;
}
if (editor.isColumnMode()) {
- EditorActionUtil.cloneOrRemoveCaret(editor, caret == null ? editor.getCaretModel().getPrimaryCaret() : caret, true);
+ new CloneCaretActionHandler(true).execute(editor, caret, dataContext);
}
else {
CaretAction caretAction = new CaretAction() {