Editor : doc and test for `copyText`