Apply this change to the file buffer.
This method handles buffer creation, loading, and applying the edit. Does NOT throw errors - sets result and completed on success or failure.
| write_complete_file |
Whether to write the complete file (replacement content) |