1
0
mirror of https://github.com/chylex/IntelliJ-AceJump.git synced 2025-05-12 22:34:04 +02:00
This commit is contained in:
breandan 2022-12-19 21:30:27 +13:00
parent c070b211e3
commit 99e0a50884
3 changed files with 8 additions and 4 deletions
CHANGES.mdbuild.gradle.kts
src/main/kotlin/org/acejump/action

View File

@ -2,6 +2,10 @@
## Unreleased
## 3.8.10
- Fixes regression in 3.8.9 breaking cross-tab selection, [#417](https://github.com/acejump/AceJump/issues/417)
## 3.8.9
- Add ids to editor action handlers, [#410](https://github.com/acejump/AceJump/pull/410), thanks to [@AlexPl292](https://github.com/AlexPl292)

View File

@ -59,7 +59,7 @@ kotlin.jvmToolchain {
}
changelog {
version.set("3.8.9")
version.set("3.8.10")
path.set("${project.projectDir}/CHANGES.md")
header.set(provider { "[${project.version}] - ${date()}" })
itemPrefix.set("-")
@ -83,4 +83,4 @@ intellij {
}
group = "org.acejump"
version = "3.8.9"
version = "3.8.10"

View File

@ -99,8 +99,8 @@ internal class TagJumper(private val mode: JumpMode, private val searchProcessor
private fun ensureEditorFocused(editor: Editor) {
val project = editor.project ?: return
val fem = FileEditorManagerEx.getInstanceEx(project)
val window = fem.windows.firstOrNull { (it.getSelectedComposite(true)?.fileEditorManager?.selectedTextEditor) === editor }
val window = fem.windows.firstOrNull { (it.getSelectedComposite(false)?.selectedWithProvider?.fileEditor as? TextEditor)?.editor === editor }
if (window != null && window !== fem.currentWindow) {
fem.currentWindow = window
}