Many yeras ago I used to use this DOS Editor from IBM for editting. It has a lot of features that I have not found in any of the modern editors. May be you can implement them.
IBM E EDITOR
Too much work to understand and determine differences from Scintilla. I will not be working on this.