I slightly updated the example to make a little bit more usefull notepad
Made it read a buffer.txt at start for recovery, and write it back before stopping.
Tried to fiddle with the anti aliasing, but the speed impact is really too strong, and the "symbole" window position is an issue if you type long text.
Oh and no scroll bars yet.
it also learned me that alt+del remove the whole field content.
source are provided as I don't have any rights on them, and as usual use at your own risk.