My text editor has to have a way to store text in memory. REALbasic provides two classes for this: String and MemoryBlock. For my purposes, MemoryBlock is better.
My current plan is to write my text editor in REALbasic. REALbasic as a language is easy to learn, easy to write, and easy to read. You can create your own GUI controls, you can compile your application for Windows and Linux and the Mac all at once, and you can even write plugins for REALbasic in C++ if REALbasic isn’t fast enough.