Incrementor icon indicating copy to clipboard operation
Incrementor copied to clipboard

Sublime Text 3 hangs if Find: \d

Open Kristinita opened this issue 8 years ago • 4 comments

Description of problem

Incrementor don't work correct in some cases. Sublime Text 3 hangs. I have good hardware, I am sure that the reason is not in my computer.

Steps to reproduce

I create new file with text:

4 Sasha
7 Is
7 Perfection

Find: \d Replace: \i.

Sublime Text hangs. But if

Find: \d Replace: \i.

Incrementor works good and quick.

1. Sasha
2. Is
3. Perfection

Environment

Windows 10 Sublime Text Build 3114

Thanks.

Kristinita avatar Aug 31 '16 14:08 Kristinita

Bug Accepted. The crash occurs whenever the replacement regex matches the same data as the find regex. Will look at this in more detail soon and provide ETA before issuing fix. Thanks for reporting. EDIT: Nope, crash occurs in other cases as well. Need to investigate this a little more.

born2c0de avatar Aug 31 '16 23:08 born2c0de

Issue identified and fixed. @Kristinita Can you verify if the latest patch has fixed the issue? Thanks

born2c0de avatar Sep 01 '16 01:09 born2c0de

@born2c0de, now in my test file all is well. But in real files, Sublime Text hangs still.

For example, file — https://gist.github.com/Kristinita/39286e4165fa74ea54b52aa41b14ef81.

Find: \d Replace: \i.

Sublime Text hangs. But if

Find: \d Replace: \i.

Incrementor works good and quick.

Thanks.

Kristinita avatar Sep 01 '16 04:09 Kristinita

Thank you for the bug fix in the updated version. Can you update the latest releases section with the latest version?

desbest avatar Jan 16 '22 11:01 desbest