Lightweight text editor