I wonder if anyone has taken the source of TextEdit [1] and added some minor niceties to just make it slightly more convenient for text editing (like adding line numbers).
[1] https://developer.apple.com/library/archive/samplecode/TextE...
[1] https://developer.apple.com/library/archive/samplecode/TextE...