apply_edit


Description:

public async void apply_edit (FileChange change) throws Error

Apply a single edit to the buffer.

This performs the actual edit operation on the buffer. Does NOT sync to file - that should be done by the caller.

Parameters:

change

The FileChange to apply

Exceptions:

Error

if edit cannot be applied (invalid line ranges, etc.)