<p dir="auto">Not sure how to actually put this in words, but see this:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/ec052ca8d2392af75cd55b78067898a15968119c9c47992e9b0c40e87de2ddd8/687474703a2f2f692e696d6775722e636f6d2f44615a6b67746a2e676966"><img src="https://camo.githubusercontent.com/ec052ca8d2392af75cd55b78067898a15968119c9c47992e9b0c40e87de2ddd8/687474703a2f2f692e696d6775722e636f6d2f44615a6b67746a2e676966" alt="Animated GIF" data-animated-image="" data-canonical-src="http://i.imgur.com/DaZkgtj.gif" style="max-width: 100%;"></a></p>
<p dir="auto">On each line, right before the (original) last quote, I pressed on the key to insert a quote. A quote should not be added for lines 2 and 3, just like line 1, no?</p>
<p dir="auto">Firstly, apologies for not being able to make a gif of the issue!</p>
<p dir="auto">For hello_world.c, if I type the following:</p>
<blockquote>
<p dir="auto">printf("</p>
</blockquote>
<p dir="auto">A secondary (closing) quotation mark is automatically inserted (along with a closing bracket). I.e.</p>
<blockquote>
<p dir="auto">printf("")   // The ") appear automatically</p>
</blockquote>
<p dir="auto">. If I type the following...</p>
<blockquote>
<p dir="auto">printf("Hello World");</p>
</blockquote>
<p dir="auto">As I type the closing quotation mark and bracket, the ones inserted automatically by Atom are replaced as I type over them.</p>
<p dir="auto">However, if I type the following...</p>
<blockquote>
<p dir="auto">printf("Hello World\n"</p>
</blockquote>
<p dir="auto">The secondary quotation mark is not replaced or typed over. Instead, another quotation mark is inserted. This results in the following...</p>
<blockquote>
<p dir="auto">printf("Hello World\n"")</p>
</blockquote>
<p dir="auto">The expected behaviour (as also seen in Sublime Text) would be to behave consistently, and replace the automatically inserted closing quotation mark as I type over it.</p>
<p dir="auto">The use of a escape character right before the closing quotation mark causes this problem to occur. I was able to cause this to occur with \t, \n, and \b. If I type a space between the escape character and the closing quotation mark, the error does not occur. I.e.</p>
<blockquote>
<p dir="auto">printf("Hello world\n ")</p>
</blockquote>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/ec052ca8d2392af75cd55b78067898a15968119c9c47992e9b0c40e87de2ddd8/687474703a2f2f692e696d6775722e636f6d2f44615a6b67746a2e676966"><img src="https://camo.githubusercontent.com/ec052ca8d2392af75cd55b78067898a15968119c9c47992e9b0c40e87de2ddd8/687474703a2f2f692e696d6775722e636f6d2f44615a6b67746a2e676966" alt="Animated GIF" data-animated-image="" data-canonical-src="http://i.imgur.com/DaZkgtj.gif" style="max-width: 100%;"></a></p>