Skip to content

Commit

Permalink
fixes #429
Browse files Browse the repository at this point in the history
  • Loading branch information
breandan committed Apr 28, 2023
1 parent 64ad503 commit 7d39ea2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## 3.8.12

- Fixes tag cycling issue with Enter/Shift+Enter, [#429](https://github.com/acejump/AceJump/issues/429)

## 3.8.11

- Fixes UI issue affecting mode cycling order, [#426](https://github.com/acejump/AceJump/issues/426)
Expand Down
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import org.jetbrains.changelog.date

plugins {
idea apply true
kotlin("jvm") version "1.8.20-RC2"
kotlin("jvm") version "1.8.21"
id("org.jetbrains.intellij") version "1.13.3"
id("org.jetbrains.changelog") version "2.0.0"
id("com.github.ben-manes.versions") version "0.46.0"
Expand Down Expand Up @@ -65,7 +65,7 @@ kotlin {
}

changelog {
version.set("3.8.11")
version.set("3.8.12")
path.set("${project.projectDir}/CHANGES.md")
header.set(provider { "[${project.version}] - ${date()}" })
itemPrefix.set("-")
Expand All @@ -89,4 +89,4 @@ intellij {
}

group = "org.acejump"
version = "3.8.11"
version = "3.8.12"
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
org.gradle.jvmargs=-Xmx2048m

2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-rc-1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 0 additions & 4 deletions src/main/kotlin/org/acejump/session/EditorSettings.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import com.intellij.openapi.editor.Editor
internal data class EditorSettings(
private val isBlockCursor: Boolean,
private val isBlinkCaret: Boolean,
private val isReadOnly: Boolean
) {
companion object {
fun setup(editor: Editor): EditorSettings {
Expand All @@ -20,12 +19,10 @@ internal data class EditorSettings(
val original = EditorSettings(
isBlockCursor = settings.isBlockCursor,
isBlinkCaret = settings.isBlinkCaret,
isReadOnly = !document.isWritable
)

settings.isBlockCursor = true
settings.isBlinkCaret = false
document.setReadOnly(true)

return original
}
Expand All @@ -37,6 +34,5 @@ internal data class EditorSettings(

settings.isBlockCursor = isBlockCursor
settings.isBlinkCaret = isBlinkCaret
document.setReadOnly(isReadOnly)
}
}

0 comments on commit 7d39ea2

Please sign in to comment.