Fix "scriptEditor" Component "searchAndReplace" replace method.

Closes #55.