mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-08-22 19:01:03 +02:00
Compare commits
16 Commits
customized
...
customized
Author | SHA1 | Date | |
---|---|---|---|
87b45da4ee
|
|||
56ee5f3bd4
|
|||
aef6016b33
|
|||
c2c23d8059
|
|||
854563130a
|
|||
7c61822106
|
|||
4fce924424
|
|||
56e8da8808
|
|||
c5d108c3d6
|
|||
c76e4eabd4
|
|||
98c9579d8d
|
|||
f060750768
|
|||
83c2e1c362
|
|||
6555e8dddd
|
|||
528fd1b1d3
|
|||
932fb509ff
|
@@ -14,7 +14,7 @@ ideaVersion=2023.3.3
|
|||||||
ideaType=IC
|
ideaType=IC
|
||||||
downloadIdeaSources=true
|
downloadIdeaSources=true
|
||||||
instrumentPluginCode=true
|
instrumentPluginCode=true
|
||||||
version=chylex-31
|
version=chylex-29
|
||||||
javaVersion=17
|
javaVersion=17
|
||||||
remoteRobotVersion=0.11.22
|
remoteRobotVersion=0.11.22
|
||||||
antlrVersion=4.10.1
|
antlrVersion=4.10.1
|
||||||
|
@@ -21,7 +21,6 @@ import com.intellij.openapi.actionSystem.PlatformDataKeys
|
|||||||
import com.intellij.openapi.actionSystem.ex.ActionManagerEx
|
import com.intellij.openapi.actionSystem.ex.ActionManagerEx
|
||||||
import com.intellij.openapi.actionSystem.ex.ActionUtil
|
import com.intellij.openapi.actionSystem.ex.ActionUtil
|
||||||
import com.intellij.openapi.actionSystem.impl.ProxyShortcutSet
|
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.CommandProcessor
|
||||||
import com.intellij.openapi.command.UndoConfirmationPolicy
|
import com.intellij.openapi.command.UndoConfirmationPolicy
|
||||||
import com.intellij.openapi.components.Service
|
import com.intellij.openapi.components.Service
|
||||||
@@ -87,7 +86,6 @@ internal class IjActionExecutor : VimActionExecutor {
|
|||||||
ActionManager.getInstance(),
|
ActionManager.getInstance(),
|
||||||
0,
|
0,
|
||||||
)
|
)
|
||||||
Utils.initUpdateSession(event)
|
|
||||||
// beforeActionPerformedUpdate should be called to update the action. It fixes some rider-specific problems.
|
// beforeActionPerformedUpdate should be called to update the action. It fixes some rider-specific problems.
|
||||||
// because rider use async update method. See VIM-1819.
|
// because rider use async update method. See VIM-1819.
|
||||||
// This method executes inside of lastUpdateAndCheckDumb
|
// This method executes inside of lastUpdateAndCheckDumb
|
||||||
|
@@ -91,6 +91,7 @@ import com.maddyhome.idea.vim.helper.vimDisabled
|
|||||||
import com.maddyhome.idea.vim.newapi.IjVimEditor
|
import com.maddyhome.idea.vim.newapi.IjVimEditor
|
||||||
import com.maddyhome.idea.vim.newapi.ij
|
import com.maddyhome.idea.vim.newapi.ij
|
||||||
import com.maddyhome.idea.vim.newapi.vim
|
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.Mode
|
||||||
import com.maddyhome.idea.vim.state.mode.inSelectMode
|
import com.maddyhome.idea.vim.state.mode.inSelectMode
|
||||||
import com.maddyhome.idea.vim.state.mode.selectionType
|
import com.maddyhome.idea.vim.state.mode.selectionType
|
||||||
@@ -363,7 +364,7 @@ internal object VimListenerManager {
|
|||||||
if (newEditor is TextEditor) {
|
if (newEditor is TextEditor) {
|
||||||
val editor = newEditor.editor
|
val editor = newEditor.editor
|
||||||
if (editor.isInsertMode) {
|
if (editor.isInsertMode) {
|
||||||
editor.vim.mode = Mode.NORMAL()
|
VimStateMachine.getInstance(editor).mode = Mode.NORMAL()
|
||||||
KeyHandler.getInstance().reset(editor.vim)
|
KeyHandler.getInstance().reset(editor.vim)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -33,7 +33,7 @@ public interface VimStateMachine {
|
|||||||
@Deprecated("Please use KeyHandlerState instead")
|
@Deprecated("Please use KeyHandlerState instead")
|
||||||
public val digraphSequence: DigraphSequence
|
public val digraphSequence: DigraphSequence
|
||||||
|
|
||||||
public val mode: Mode
|
public var mode: Mode
|
||||||
public var isDotRepeatInProgress: Boolean
|
public var isDotRepeatInProgress: Boolean
|
||||||
public var isRegisterPending: Boolean
|
public var isRegisterPending: Boolean
|
||||||
public val isReplaceCharacter: Boolean
|
public val isReplaceCharacter: Boolean
|
||||||
|
Reference in New Issue
Block a user