Here is my initial implementation of syntax highlight definition file for jEdit text editor (one of the best lightweight editors on my opinion).
https://github.com/cy6erGn0m/kotlin-jedit/blob/master/kotlin.xml
to use it put it in modes/ directory and add to “catalog” file the following declaration:
<MODE NAME="kotlin" FILE="kotlin.xml"
FILE_NAME_GLOB="*.{kt,ks,kts,jetl}"/>
If you find mistake please let me know.
After a while when it will be complete and stable I’ll send it to then jedit team to be added to the default bundle.