text editor and analyzer