1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-08-19 04:24:56 +02:00

Compare commits

..

4 Commits

2 changed files with 5 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
ideaVersion=2023.3.2 ideaVersion=2023.3.2
downloadIdeaSources=true downloadIdeaSources=true
instrumentPluginCode=true instrumentPluginCode=true
version=chylex-24 version=chylex-25
javaVersion=17 javaVersion=17
remoteRobotVersion=0.11.21 remoteRobotVersion=0.11.21
antlrVersion=4.10.1 antlrVersion=4.10.1

View File

@@ -34,6 +34,7 @@ import com.maddyhome.idea.vim.VimPlugin
import com.maddyhome.idea.vim.action.VimShortcutKeyAction import com.maddyhome.idea.vim.action.VimShortcutKeyAction
import com.maddyhome.idea.vim.api.injector import com.maddyhome.idea.vim.api.injector
import com.maddyhome.idea.vim.group.NotificationService import com.maddyhome.idea.vim.group.NotificationService
import com.maddyhome.idea.vim.helper.EditorHelper
import com.maddyhome.idea.vim.helper.isIdeaVimDisabledHere import com.maddyhome.idea.vim.helper.isIdeaVimDisabledHere
import com.maddyhome.idea.vim.helper.vimStateMachine import com.maddyhome.idea.vim.helper.vimStateMachine
import com.maddyhome.idea.vim.newapi.globalIjOptions import com.maddyhome.idea.vim.newapi.globalIjOptions
@@ -130,7 +131,9 @@ internal object IdeaSpecifics {
} }
//endregion //endregion
injector.scroll.scrollCaretIntoView(editor.vim) if (EditorHelper.getVisibleArea(editor).let { it.width > 0 && it.height > 0 }) {
injector.scroll.scrollCaretIntoView(editor.vim)
}
} }
this.editor = null this.editor = null