Description
Find and replace fails when words to be replaced are placed one after another, this should be a high priority bug for the reason that in some scenarios this kind of replacement would freeze the entire editor, user won’t be able to work unless they restart the editor, I couldn’t reproduce the scenario where editor froze with every test but it happens quite frequently.
Steps to reproduce
- Type in following sequence of word
aaaa
- Find ‘a’
- Replace with word of length > 1
- For eg if replaced by ‘test’
tttteststststaaa
Feel free to expand this issue with more usecases where find and replace might fail