Revert "oops, messed something up"

This reverts commit a1135b310415d28cce55429d77409121e878a24f.
wrote new text editor