title: How to stop Visual Studio Community 2017 from automatically highlighting the closest character?
body: <p>When clicking anywhere inside my code, Visual Studio will automatically highlight the closest character. For example, let's say I have the following code:</p>
  
  <pre><code>int add()
  {
  
  }
  </code></pre>
  
  <p>If I were to click in between the parenthesis's to insert an argument, Visual Studio would automatically select the <code>)</code> character. Meaning, if I added the argument <code>num1</code>, my code would become:</p>
  
  <pre><code>int add(num1
  {
  
  }
  </code></pre>
  
  <p>No matter how many times I click, Visual Studio will always highlight the nearest character, which is very annoying when editing existing code, as I will be required to re-enter every character I overwrite.</p>
  
  <p>To be perfectly clear about what I am trying to explain, here is a screenshot of Visual Studio working its magic:</p>
  
  <p><a href="https://i.stack.imgur.com/uE9Uf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uE9Uf.png" alt="enter image description here"></a></p>
  
  <p>This happens for all languages, not just C++. Does anyone know how I can disable this? </p>