title: How to remove selection after replace in vscode API
body: <p>while creating an extension for vscode I got stuck in selection, now the problem is when I replace some range of textEditor through an api it replaces that range as well as make that range selected. For snippets this is a good idea but my extension requirement is not to select replaced text, I searched in api but did't find anything related to remove text selection (Selection occurs when the document is empty)</p>
  
  <pre><code>editor.edit((editBuilder)=&gt;{ //editor is an object of active text editor
          editBuilder.replace(textRange,text)   // text = 'dummydummydummy'
      }) //after this I got the following output
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/el0y6.png" alt="enter image description here"></p>