+3

Search and replace broken?

morrow 8 years ago 0

I'm using Sublime Text 2 build 2051 on ubuntu linux 10.04 LTS 64-bit .  I'm experiencing a bug where performing repeated search-and-replace where replace is empty automatically fills the replace block after the first run-through with the previous replace input.  


Example:  
1) Search for: "abc" replace with : "xyz".  
2) Search for "def", replace with "" (empty).  
3) Repeat the search-and-replace (hit replace again)
It will hit the first instance of def, replace it with empty characters (delete it), and then the second and subsequent matches will be replaced with "xyz" (from the previous search and replace).  It also doesn't re-fill the "replace" input field with "xyz" until you click on it, so it looks like it should be working.