sc ide: sc editor: slight improvement of matching token insertion

When inserting a matching token with a selected text, be sure
to move the cursor after the inserted matching token.