Skip to content

Commit

Permalink
Migrate away from deprecated API.
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHubPang committed Jan 26, 2023
1 parent 0044174 commit 4e4d9af
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@ import com.intellij.util.ui.JBUI
import com.intellij.util.ui.StatusText
import com.intellij.util.ui.UIUtil
import com.intellij.util.ui.tree.TreeUtil
import org.example.githubpang.rossynt.services.CSharpVersion
import org.example.githubpang.rossynt.services.IRossyntService
import org.example.githubpang.rossynt.services.RossyntService
import org.example.githubpang.rossynt.services.RossyntServiceNotifier
import org.example.githubpang.rossynt.services.RossyntUtil
import org.example.githubpang.rossynt.services.*
import org.example.githubpang.rossynt.settings.PluginSettingsConfigurable
import org.example.githubpang.rossynt.trees.SyntaxUtil
import org.example.githubpang.rossynt.trees.TreeNode
Expand Down Expand Up @@ -274,7 +270,7 @@ internal class RossyntToolWindow(private val project: Project, toolWindow: ToolW
uiUpdateTable()
//todo scroll selected node into view when double click, like Structure view in IDEA/Rider. Or even better, add a Navigate with Single Click button, then react to single click
}
TreeSpeedSearch(uiTree, { it.lastPathComponent.toString() }, true)
TreeSpeedSearch(uiTree, true) { it.lastPathComponent.toString() }

// Setup table.
uiTable.tableHeader = null
Expand Down

0 comments on commit 4e4d9af

Please sign in to comment.