add cursortools.DocumentString and have Editor use it