1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-02-28 02:45:59 +01:00

Remove deprecated function

This commit is contained in:
Alex Plate 2023-05-19 09:52:06 +03:00
parent aabe56e8b3
commit 05986d017d
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F

View File

@ -17,9 +17,6 @@ import com.maddyhome.idea.vim.command.OperatorArguments
* @author vlan
*/
public interface ExtensionHandler {
@Deprecated("Please use ExtensionHandler#execute(VimEditor, ExecutionContext, OperatorArguments) instead")
public fun execute(editor: VimEditor, context: ExecutionContext) {}
/**
* Executes the action.
*
@ -30,9 +27,7 @@ public interface ExtensionHandler {
* for a write action, you'll have to apply it by yourself if you're modifying IntelliJ's data structures like
* documents or virtual files.
*/
public fun execute(editor: VimEditor, context: ExecutionContext, operatorArguments: OperatorArguments) {
execute(editor, context)
}
public fun execute(editor: VimEditor, context: ExecutionContext, operatorArguments: OperatorArguments) {}
public val isRepeatable: Boolean
get() = false