<p dir="auto">Typing a single quote then switch application by cmd+tab. Causing a lot of quotes.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/823283/3372363/72b80c1a-fbaa-11e3-9931-21be0a21520c.gif"><img src="https://cloud.githubusercontent.com/assets/823283/3372363/72b80c1a-fbaa-11e3-9931-21be0a21520c.gif" alt="2" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">I'm working on OSX 10.9.3. Disabled all external packages. Such as Autocomplete. Following by disabling Bracket Matcher, doesn't help either.</p>
<p dir="auto">[Enter steps to reproduce below:]</p>
<ol dir="auto">
<li>...</li>
<li>...</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.177.0<br>
<strong>System</strong>: Mac OS X 10.10.2<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: target of repeat operator is not specified</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /Applications/Atom.app/Contents/Resources/app/node_modules/first-mate/lib/scanner.js:31

Error: target of repeat operator is not specified
  at Error (native)
  at Scanner.module.exports.Scanner.createScanner (/Applications/Atom.app/Contents/Resources/app/node_modules/first-mate/lib/scanner.js:31:24)
  at Scanner.module.exports.Scanner.getScanner (/Applications/Atom.app/Contents/Resources/app/node_modules/first-mate/lib/scanner.js:37:31)
  at Scanner.module.exports.Scanner.findNextMatch (/Applications/Atom.app/Contents/Resources/app/node_modules/first-mate/lib/scanner.js:56:22)
  at Rule.module.exports.Rule.findNextMatch (/Applications/Atom.app/Contents/Resources/app/node_modules/first-mate/lib/rule.js:101:28)
  at Rule.module.exports.Rule.getNextTokens (/Applications/Atom.app/Contents/Resources/app/node_modules/first-mate/lib/rule.js:143:21)
  at Grammar.module.exports.Grammar.tokenizeLine (/Applications/Atom.app/Contents/Resources/app/node_modules/first-mate/lib/grammar.js:125:39)
  at TokenizedBuffer.module.exports.TokenizedBuffer.buildTokenizedTokenizedLineForRow (/Applications/Atom.app/Contents/Resources/app/src/tokenized-buffer.js:432:28)
  at TokenizedBuffer.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/app/src/tokenized-buffer.js:380:31)
  at TokenizedBuffer.module.exports.TokenizedBuffer.buildTokenizedLinesForRows (/Applications/Atom.app/Contents/Resources/app/src/tokenized-buffer.js:388:10)
  at TokenizedBuffer.module.exports.TokenizedBuffer.handleBufferChange (/Applications/Atom.app/Contents/Resources/app/src/tokenized-buffer.js:340:32)
  at /Applications/Atom.app/Contents/Resources/app/src/tokenized-buffer.js:56:24
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/service-hub/node_modules/event-kit/lib/emitter.js:82:11)
  at TextBuffer.module.exports.TextBuffer.applyPatch (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:594:20)
  at BufferPatch.module.exports.BufferPatch.applyTo (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/buffer-patch.js:74:21)
  at Transaction.module.exports.Transaction.applyTo (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/transaction.js:60:29)
  at History.module.exports.History.abortTransaction (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/history.js:165:24)
  at History.module.exports.History.transact (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/history.js:122:16)
  at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:687:27)
  at TextEditor.module.exports.TextEditor.transact (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:1181:26)
  at atom-text-editor.newCommandListeners.(anonymous function) (/Applications/Atom.app/Contents/Resources/app/src/text-editor-element.js:304:22)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
  at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:156:19)
  at [object Object].jQuery.fn.trigger (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:64:23)
  at EventEmitter.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:70:67)
  at EventEmitter.emit (events.js:119:17)
  at EventEmitter.ipc.sendSync (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/ipc.js:21:31)
  at BrowserWindow.RemoteMemberFunction [as emit] (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:110:29)
  at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (/Applications/Atom.app/Contents/Resources/app/src/context-menu-manager.js:169:33)
  at HTMLDocument.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:141:33)
  at HTMLDocument.handler (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:112:34)
  at HTMLDocument.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)
  at HTMLDocument.elemData.handle (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)
"><pre class="notranslate"><code class="notranslate">At /Applications/Atom.app/Contents/Resources/app/node_modules/first-mate/lib/scanner.js:31

Error: target of repeat operator is not specified
  at Error (native)
  at Scanner.module.exports.Scanner.createScanner (/Applications/Atom.app/Contents/Resources/app/node_modules/first-mate/lib/scanner.js:31:24)
  at Scanner.module.exports.Scanner.getScanner (/Applications/Atom.app/Contents/Resources/app/node_modules/first-mate/lib/scanner.js:37:31)
  at Scanner.module.exports.Scanner.findNextMatch (/Applications/Atom.app/Contents/Resources/app/node_modules/first-mate/lib/scanner.js:56:22)
  at Rule.module.exports.Rule.findNextMatch (/Applications/Atom.app/Contents/Resources/app/node_modules/first-mate/lib/rule.js:101:28)
  at Rule.module.exports.Rule.getNextTokens (/Applications/Atom.app/Contents/Resources/app/node_modules/first-mate/lib/rule.js:143:21)
  at Grammar.module.exports.Grammar.tokenizeLine (/Applications/Atom.app/Contents/Resources/app/node_modules/first-mate/lib/grammar.js:125:39)
  at TokenizedBuffer.module.exports.TokenizedBuffer.buildTokenizedTokenizedLineForRow (/Applications/Atom.app/Contents/Resources/app/src/tokenized-buffer.js:432:28)
  at TokenizedBuffer.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/app/src/tokenized-buffer.js:380:31)
  at TokenizedBuffer.module.exports.TokenizedBuffer.buildTokenizedLinesForRows (/Applications/Atom.app/Contents/Resources/app/src/tokenized-buffer.js:388:10)
  at TokenizedBuffer.module.exports.TokenizedBuffer.handleBufferChange (/Applications/Atom.app/Contents/Resources/app/src/tokenized-buffer.js:340:32)
  at /Applications/Atom.app/Contents/Resources/app/src/tokenized-buffer.js:56:24
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/service-hub/node_modules/event-kit/lib/emitter.js:82:11)
  at TextBuffer.module.exports.TextBuffer.applyPatch (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:594:20)
  at BufferPatch.module.exports.BufferPatch.applyTo (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/buffer-patch.js:74:21)
  at Transaction.module.exports.Transaction.applyTo (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/transaction.js:60:29)
  at History.module.exports.History.abortTransaction (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/history.js:165:24)
  at History.module.exports.History.transact (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/history.js:122:16)
  at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:687:27)
  at TextEditor.module.exports.TextEditor.transact (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:1181:26)
  at atom-text-editor.newCommandListeners.(anonymous function) (/Applications/Atom.app/Contents/Resources/app/src/text-editor-element.js:304:22)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
  at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:156:19)
  at [object Object].jQuery.fn.trigger (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:64:23)
  at EventEmitter.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:70:67)
  at EventEmitter.emit (events.js:119:17)
  at EventEmitter.ipc.sendSync (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/ipc.js:21:31)
  at BrowserWindow.RemoteMemberFunction [as emit] (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:110:29)
  at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (/Applications/Atom.app/Contents/Resources/app/src/context-menu-manager.js:169:33)
  at HTMLDocument.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:141:33)
  at HTMLDocument.handler (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:112:34)
  at HTMLDocument.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)
  at HTMLDocument.elemData.handle (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)

</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="     -6:27.3 editor:consolidate-selections (input.hidden-input)
     -6:27.3 core:cancel (input.hidden-input)
     -4:39.4 editor:newline (input.hidden-input)
     -1:49.4 core:backspace (input.hidden-input)
     -1:48.4 core:save (input.hidden-input)
     -0:57.7 application:open (input.hidden-input)
     -0:28.7 core:confirm (input.hidden-input)
  2x -0:24.9 core:paste (input.hidden-input)"><pre class="notranslate"><code class="notranslate">     -6:27.3 editor:consolidate-selections (input.hidden-input)
     -6:27.3 core:cancel (input.hidden-input)
     -4:39.4 editor:newline (input.hidden-input)
     -1:49.4 core:backspace (input.hidden-input)
     -1:48.4 core:save (input.hidden-input)
     -0:57.7 application:open (input.hidden-input)
     -0:28.7 core:confirm (input.hidden-input)
  2x -0:24.9 core:paste (input.hidden-input)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;core&quot;: {
    &quot;disabledPackages&quot;: [
      &quot;symbols-view&quot;,
      &quot;linter-clang&quot;
    ]
  },
  &quot;editor&quot;: {
    &quot;showIndentGuide&quot;: true,
    &quot;tabLength&quot;: 4,
    &quot;softWrap&quot;: true,
    &quot;useShadowDOM&quot;: false,
    &quot;invisibles&quot;: {},
    &quot;zoomFontWhenCtrlScrolling&quot;: true
  }
}"><pre class="notranslate">{
  <span class="pl-ent">"core"</span>: {
    <span class="pl-ent">"disabledPackages"</span>: [
      <span class="pl-s"><span class="pl-pds">"</span>symbols-view<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>linter-clang<span class="pl-pds">"</span></span>
    ]
  },
  <span class="pl-ent">"editor"</span>: {
    <span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span>,
    <span class="pl-ent">"tabLength"</span>: <span class="pl-c1">4</span>,
    <span class="pl-ent">"softWrap"</span>: <span class="pl-c1">true</span>,
    <span class="pl-ent">"useShadowDOM"</span>: <span class="pl-c1">false</span>,
    <span class="pl-ent">"invisibles"</span>: {},
    <span class="pl-ent">"zoomFontWhenCtrlScrolling"</span>: <span class="pl-c1">true</span>
  }
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
atom-ctags, v2.5.5
atomic-emacs, v0.4.0
autocomplete-bibtex, v0.4.1
autocomplete-clang, v0.6.1
color-picker, v1.4.4
doxygen, v0.0.0
file-icons, v1.4.8
language-cmake, v0.1.1
language-latex, v0.4.1
language-llvm, v0.1.0
language-prolog, v0.9.0
latex, v0.18.0
linter, v0.11.1
linter-bootlint, v0.0.3
minimap, v4.1.3
tag, v0.2.3
term2, v0.9.4

# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
atom<span class="pl-k">-</span>ctags, v2.<span class="pl-ii">5</span>.<span class="pl-ii">5</span>
atomic<span class="pl-k">-</span>emacs, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span>
autocomplete<span class="pl-k">-</span>bibtex, v0.<span class="pl-ii">4</span>.<span class="pl-ii">1</span>
autocomplete<span class="pl-k">-</span>clang, v0.<span class="pl-ii">6</span>.<span class="pl-ii">1</span>
color<span class="pl-k">-</span>picker, v1.<span class="pl-ii">4</span>.<span class="pl-ii">4</span>
doxygen, v0.<span class="pl-ii">0</span>.<span class="pl-ii">0</span>
file<span class="pl-k">-</span>icons, v1.<span class="pl-ii">4</span>.<span class="pl-ii">8</span>
language<span class="pl-k">-</span>cmake, v0.<span class="pl-ii">1</span>.<span class="pl-ii">1</span>
language<span class="pl-k">-</span>latex, v0.<span class="pl-ii">4</span>.<span class="pl-ii">1</span>
language<span class="pl-k">-</span>llvm, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
language<span class="pl-k">-</span>prolog, v0.<span class="pl-ii">9</span>.<span class="pl-ii">0</span>
latex, v0.<span class="pl-ii">18</span>.<span class="pl-ii">0</span>
linter, v0.<span class="pl-ii">11</span>.<span class="pl-ii">1</span>
linter<span class="pl-k">-</span>bootlint, v0.<span class="pl-ii">0</span>.<span class="pl-ii">3</span>
minimap, v4.<span class="pl-ii">1</span>.<span class="pl-ii">3</span>
tag, v0.<span class="pl-ii">2</span>.<span class="pl-ii">3</span>
term2, v0.<span class="pl-ii">9</span>.<span class="pl-ii">4</span>

<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>