title: javascript Ace editor spaces turns into tabs?
body: <p>I'm using ace editor with these settings:</p>
  
  <pre><code>    ace.getSession().setTabSize(2);
      ace.getSession().setUseSoftTabs(true);
      ace.getSession().setUseWrapMode(true);
  </code></pre>
  
  <p>Whenever I press space it automatically indents it by 2. I only want it to indent by 2 spaces when I press tab, but 1 space when I press space. How do I fix it? Thanks.</p>