<@U092308M7> For a quick hack, you could use a `Pa...
# tornadofx
r
@orangy For a quick hack, you could use a `PauseTransition`:
Copy code
class InputDelay : View("Input Delay") {
    override val root = vbox {
        val status = label("0 characters (updated 0 times)")
        textarea {
            var updates = 0
            val timer = PauseTransition(0.5.seconds)
            timer.setOnFinished { status.text = "${text?.length ?: 0} characters (updated ${++updates} times)" }
            textProperty().onChange { timer.playFromStart() }
        }
    }
}