Simple text editor, anyone?

I want to be able to use my agg text renderer for a simple one-liner text editor, and I figured it would be faster/easier to code one from scratch than tweaking TextEditor into doing what I want. But being somewhat short on time, I thought I’d ask here if anyone has some template code lying around collecting dust ? :wink: