Skip to main content

apply_plan

Function apply_plan 

Source
pub fn apply_plan(
    buffer: &mut Buffer,
    plan: &SelectionEditPlan,
) -> Result<Option<Revision>, Error>
Expand description

Apply already-planned ops and assign the final selection set.

ยงErrors

Returns buffer-layer errors if an op is invalid against the current buffer state.