Fix "scriptEditor" Component "searchAndReplace" replace method.