mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2026-10-17 05:33:52 +02:00
Compare commits
14
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7a086b239c
|
||
|
|
9521d016d2
|
||
|
|
49eac08f9a
|
||
|
|
d05c3fe940
|
||
|
|
b76106c44f
|
||
|
|
8b61b15334
|
||
|
|
ed38927954
|
||
|
|
2657d4fb38
|
||
|
|
a7b8cc8a8d
|
||
|
|
fdab9c5565
|
||
|
|
0f3c12653d
|
||
|
|
6b96be5e07
|
||
|
|
9f601d7442
|
||
|
|
1c51cf3457
|
@@ -70,7 +70,7 @@ open class CaretRegisterStorageBase(override var caret: ImmutableVimCaret) : Car
|
||||
override fun getRegister(editor: VimEditor, context: ExecutionContext, r: Char): Register? {
|
||||
val multiCaretJoinRegister = injector.registerGroup.getRegister(editor, context, RegisterConstants.MULTICARET_JOIN_REGISTER)
|
||||
val multiCaretJoinedText = multiCaretJoinRegister?.copiedText as? MultiCaretJoinedText
|
||||
if (multiCaretJoinedText != null && multiCaretJoinedText.carets != editor.carets().size) {
|
||||
if (multiCaretJoinedText != null && multiCaretJoinedText.carets.let { it > 0 && it != editor.carets().size }) {
|
||||
return multiCaretJoinRegister
|
||||
}
|
||||
if (caret.isPrimary || !RegisterConstants.RECORDABLE_REGISTERS.contains(r)) {
|
||||
|
||||
Reference in New Issue
Block a user