mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-05-03 22:34:03 +02:00
Fix the issue that backspace key was not working in the code review comments for GitHub
The context component should be detected automatically
This commit is contained in:
parent
e7d47fd7f3
commit
393d2d4353
@ -87,7 +87,11 @@ internal class IjActionExecutor : VimActionExecutor {
|
||||
} else {
|
||||
try {
|
||||
isRunningActionFromVim = true
|
||||
val res = ActionManager.getInstance().tryToExecute(ijAction, null, editor?.ij?.component, "IdeaVim", true)
|
||||
// DataContext is build on the context component.
|
||||
// However, it should be null as in this case the data context is taken from the context and the
|
||||
// PlatformDataKeys.EDITOR is properly set.
|
||||
val contextComponent: Component? = null
|
||||
val res = ActionManager.getInstance().tryToExecute(ijAction, null, contextComponent, "IdeaVim", true)
|
||||
res.waitFor(5_000)
|
||||
return res.isDone
|
||||
} finally {
|
||||
|
Loading…
Reference in New Issue
Block a user