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

Signed-off-by: Yvan Volochine <yvan.volochine@gmail.com>