mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-08-18 19:24:55 +02:00
Compare commits
17 Commits
customized
...
customized
Author | SHA1 | Date | |
---|---|---|---|
a978505530
|
|||
a3bc8033a8
|
|||
500756c86f
|
|||
5967979113
|
|||
358a13c22c
|
|||
64229d327a
|
|||
62d38eb4df
|
|||
4e15b65cec
|
|||
e4d31379f0
|
|||
195910b3a5
|
|||
10d476340f
|
|||
2c4ccc77b9
|
|||
4b0c2bce18
|
|||
a2d5adbc6c
|
|||
3b5b4ed84c
|
|||
a33addb6ea
|
|||
626b6ee0af
|
@@ -14,7 +14,7 @@ ideaVersion=2023.3.3
|
||||
ideaType=IC
|
||||
downloadIdeaSources=true
|
||||
instrumentPluginCode=true
|
||||
version=chylex-29
|
||||
version=chylex-31
|
||||
javaVersion=17
|
||||
remoteRobotVersion=0.11.22
|
||||
antlrVersion=4.10.1
|
||||
|
@@ -21,6 +21,7 @@ import com.intellij.openapi.actionSystem.PlatformDataKeys
|
||||
import com.intellij.openapi.actionSystem.ex.ActionManagerEx
|
||||
import com.intellij.openapi.actionSystem.ex.ActionUtil
|
||||
import com.intellij.openapi.actionSystem.impl.ProxyShortcutSet
|
||||
import com.intellij.openapi.actionSystem.impl.Utils
|
||||
import com.intellij.openapi.command.CommandProcessor
|
||||
import com.intellij.openapi.command.UndoConfirmationPolicy
|
||||
import com.intellij.openapi.components.Service
|
||||
@@ -86,6 +87,7 @@ internal class IjActionExecutor : VimActionExecutor {
|
||||
ActionManager.getInstance(),
|
||||
0,
|
||||
)
|
||||
Utils.initUpdateSession(event)
|
||||
// beforeActionPerformedUpdate should be called to update the action. It fixes some rider-specific problems.
|
||||
// because rider use async update method. See VIM-1819.
|
||||
// This method executes inside of lastUpdateAndCheckDumb
|
||||
|
@@ -91,7 +91,6 @@ import com.maddyhome.idea.vim.helper.vimDisabled
|
||||
import com.maddyhome.idea.vim.newapi.IjVimEditor
|
||||
import com.maddyhome.idea.vim.newapi.ij
|
||||
import com.maddyhome.idea.vim.newapi.vim
|
||||
import com.maddyhome.idea.vim.state.VimStateMachine
|
||||
import com.maddyhome.idea.vim.state.mode.Mode
|
||||
import com.maddyhome.idea.vim.state.mode.inSelectMode
|
||||
import com.maddyhome.idea.vim.state.mode.selectionType
|
||||
@@ -364,7 +363,7 @@ internal object VimListenerManager {
|
||||
if (newEditor is TextEditor) {
|
||||
val editor = newEditor.editor
|
||||
if (editor.isInsertMode) {
|
||||
VimStateMachine.getInstance(editor).mode = Mode.NORMAL()
|
||||
editor.vim.mode = Mode.NORMAL()
|
||||
KeyHandler.getInstance().reset(editor.vim)
|
||||
}
|
||||
}
|
||||
|
@@ -33,7 +33,7 @@ public interface VimStateMachine {
|
||||
@Deprecated("Please use KeyHandlerState instead")
|
||||
public val digraphSequence: DigraphSequence
|
||||
|
||||
public var mode: Mode
|
||||
public val mode: Mode
|
||||
public var isDotRepeatInProgress: Boolean
|
||||
public var isRegisterPending: Boolean
|
||||
public val isReplaceCharacter: Boolean
|
||||
|
Reference in New Issue
Block a user