A very simple editor built in Kotlin and intended to be extended and hacked.
It is very simple to customize it to handle a language defined using ANTLR.
This post explains the philosophy behind Kanvas:
This post describe how syntax highlighting was implemented: