Replaces text selection example