mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-06-05 04:34:04 +02:00
Mark isOperatorPending as deprecated
It calls the same method in KeyHandler. We do not need it in VimStateMachine
This commit is contained in:
parent
e748b7b265
commit
ae8b9b4773
vim-engine/src/main/kotlin/com/maddyhome/idea/vim
@ -52,6 +52,7 @@ public class VimStateMachineImpl : VimStateMachine {
|
|||||||
*/
|
*/
|
||||||
override var executingCommand: Command? = null
|
override var executingCommand: Command? = null
|
||||||
|
|
||||||
|
@Deprecated("Please use KeyHandler instead")
|
||||||
override fun isOperatorPending(mode: Mode): Boolean {
|
override fun isOperatorPending(mode: Mode): Boolean {
|
||||||
val keyHandler = KeyHandler.getInstance()
|
val keyHandler = KeyHandler.getInstance()
|
||||||
return keyHandler.isOperatorPending(mode, keyHandler.keyHandlerState)
|
return keyHandler.isOperatorPending(mode, keyHandler.keyHandlerState)
|
||||||
|
@ -49,6 +49,7 @@ public interface VimStateMachine {
|
|||||||
* This field is reset after the command has been executed.
|
* This field is reset after the command has been executed.
|
||||||
*/
|
*/
|
||||||
public var executingCommand: Command?
|
public var executingCommand: Command?
|
||||||
|
@Deprecated("Please use KeyHandler instead")
|
||||||
public fun isOperatorPending(mode: Mode): Boolean
|
public fun isOperatorPending(mode: Mode): Boolean
|
||||||
public val executingCommandFlags: EnumSet<CommandFlags>
|
public val executingCommandFlags: EnumSet<CommandFlags>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user