<p dir="auto">Using <code class="notranslate">cmd + d</code> to select multiple instances isn’t working correctly for me:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/1a6779eb71ab7b2cedaf1c2af87aaf55dda4044709de65a4c155dcb3fa276092/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3239363433322f323130393639322f33333330356333302d386666352d313165332d393966622d6362633466646366343264362e676966"><img src="https://camo.githubusercontent.com/1a6779eb71ab7b2cedaf1c2af87aaf55dda4044709de65a4c155dcb3fa276092/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3239363433322f323130393639322f33333330356333302d386666352d313165332d393966622d6362633466646366343264362e676966" alt="multi-select-fail" data-animated-image="" data-canonical-src="https://f.cloud.github.com/assets/296432/2109692/33305c30-8ff5-11e3-99fb-cbc4fdcf42d6.gif" style="max-width: 100%;"></a></p>
<p dir="auto">Note that the first two selections work fine, but when it goes to find the third instance of <code class="notranslate">h3</code>, it instead ends up selecting a linebreak or two and an angle bracket <code class="notranslate">&lt;</code> immediately prior to the next instance of <code class="notranslate">h3</code>.</p>
<p dir="auto">Also note that repeating the command again after the third (incorrect) selection <em>skips the next three instances</em> of <code class="notranslate">h3</code> (the closing tag of the "Payload" heading, and both occurances of the "Headers" heading), and repeats the same incorrect selection on the next <code class="notranslate">h3</code> opening tag.</p>
<p dir="auto"><strong>Observed behavior:</strong></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/46a857815360f694d49536fc59f6e5f07060d233c3a0da286ef99741b2e1cbb1/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f323938382f323032333431312f36663736343662612d383835622d313165332d383931392d3236303363383566646263322e676966"><img src="https://camo.githubusercontent.com/46a857815360f694d49536fc59f6e5f07060d233c3a0da286ef99741b2e1cbb1/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f323938382f323032333431312f36663736343662612d383835622d313165332d383931392d3236303363383566646263322e676966" alt="2014-01-28 15_33_16" data-animated-image="" data-canonical-src="https://f.cloud.github.com/assets/2988/2023411/6f7646ba-885b-11e3-8919-2603c85fdbc2.gif" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Expected behavior:</strong> In the example above, the <code class="notranslate">find-and-replace:select-next</code> command should only select the next occurrence of <code class="notranslate">##</code>. It should not select any surrounding newlines.</p>
<hr>
<p dir="auto">I observed this behavior in find-and-replace v0.79.0.</p>