override fun selectionChanged()

in src/main/kotlin/com/github/mkartashev/hserr/toolwindow/HsErrToolWindowFactory.kt [232:236]


        override fun selectionChanged(event: FileEditorManagerEvent) {
            val newFile = event.newFile ?: return
            val editor = if (event.newEditor is TextEditor) (event.newEditor as TextEditor).editor else null
            maybeUpdateUI(newFile, editor)
        }