baconeditor-qt
Source code
https://sourceforge.net/projects/bacon-qt5/files/baconeditor-qt/baconeditor-qt-1.1.tar.gz/download
This editor uses libkf5syntaxhighlighting
that is the official lib for syntax highlighting Kate, Kwrite, Kdevelop ,qtcreator and many more
I wanted this only for Qt apps highlighting Bacon's keywords when I started
it was more complex then I imagined because it is done in two levels
first level the keywords for your language second level we need to base
off the compiled in themes then generate a new theme by importing it into
import a custom theme manually into my code yet but working on it
1.) Some special notes : when you open any file it gets copied automatically for you
and renamed to /tmp/test.bac it is a safety and allows you to compile the code
using the green circle icon no messy files all is done in / tmp
2.) when you launch the app the first time a file is automatically generated
called /tmp/test.bac and it gets opened and is blank you write some code
and save "this simulates a scratch pad idea " save any file you want to compile
called /tmp/test.bac now you can compile and run using the green circle icon
3.) if you don't plan to compile the code and use this as a normal editor
you can save as any name you prefer
4.) we didn't have anything for Qt yet and for fun and a personal interest how we could add syntax highlighting for bacon this came to be and we get bacon syntax-highlighting in many official KDE apps as a secondary effect of this journey