Skip to content

Commit

Permalink
migrated caret/movement/settings to ui dsl
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadMD1383 committed Feb 15, 2024
1 parent 1d49901 commit b557386
Show file tree
Hide file tree
Showing 8 changed files with 162 additions and 412 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ tasks {
patchPluginXml {
version.set(project.version.toString())
sinceBuild.set("231")
untilBuild.set("233.*")
untilBuild.set("")
changeNotes.set("""
<h2>Meet the new Feature: Advanced Search! (since v4.5)</h2>
<ul>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package ir.mmd.intellijDev.Actionable.caret.editing.settings

import com.intellij.openapi.observable.properties.ObservableMutableProperty
import com.intellij.ui.dsl.builder.*
import ir.mmd.intellijDev.Actionable.ActionableBundle
import ir.mmd.intellijDev.Actionable.util.observableMutablePropertyOf
Expand All @@ -11,7 +12,7 @@ class UI {
val component = panel {
row {
checkBox(ActionableBundle.string("caretEditingPanel.showPasteActionHintsCheckBox.label"))
.bindSelected(isPasteActionHintsShownProperty)
.bindSelected(isPasteActionHintsShownProperty as ObservableMutableProperty<Boolean>)
.align(Align.FILL)
.comment(ActionableBundle.string("caretEditingPanel.showPasteActionHintsCheckBox.comment"))

Expand Down

This file was deleted.

Loading

0 comments on commit b557386

Please sign in to comment.