Wrap selected text