@orontee
I've been attempting to rebuild yuryfdr's "Pi Editor" to make it look a little nicer on my device. I've found that it uses some widgets from another one of his repositories "PBTK"
I think you may find some of the widgets useful (if you've not seen them before).
https://github.com/yuryfdr/pbtk