Add edit behavior.
Change textline to work with dstring.