In `search_file_replace_lines`, I think that would be something like:

```ruby
(editor.replace_lines(regex, newline) > 0).tap { |changed| @changes ||= changed }
```