Fixes #1643

When finding the text in other tabs(not current), the updated code(updated as in after a replace operation) of those tabs was not being read. Now fixed.