"Find And Replace: Select All" hangs 1.3.2 and results in unexpected selections/cursors #627
Description
From @WalterGR on December 25, 2015 4:20
Atom 1.3.2 on OS X 10.10.5.
I have a Clojure (.clj) file whose sections are marked with the text Section:
I want to select all section headings, copy them, and paste them at the top of the file.
I didn't get very far, though. Selecting ^;; .*Section:.*
seemed to hang Atom and I had to forcefully terminate it. This reproduced reliably.
While working towards a minimal test case, I searched for section:
instead, and found that it's more likely that it's just taking a very long time, because the resulting selections are quite numerous. They're also rather... unexpected.
Notice that there are a ton of resulting selections - or perhaps cursors. I'm not entirely sure what I'm looking at, but it doesn't seem to be all instances of section:
having been selected.
Let me know if you'd like the original file.
Copied from original issue: atom/atom#10179