Sublime Forum

[BUG] Search and Replace with empty string

#1

I’m searching for a string and replacing it with nothing (ctrl+h), thus deleting all occurrences of a word in the document.

After the first click on the replace button, the replace string gets changed from empty, to the last string used for replace in the search and replace history.
This makes search and replace to remove a string, on a one by one basis throughout the document unusable.

Hope I’m reporting the bug on the right place. Thanks!

0 Likes

#2

I can confirm this.
I’m on Win7 32bits, ST2 version 2059, registered.

It only happens when replace string is an empty one.

0 Likes

#3

Will fix for the next build

0 Likes