Basic text manipulation methods on core editor