Trait modalkit::editing::store::GlobalAdjustable
source · pub trait GlobalAdjustable<ID: ApplicationContentId> {
// Required methods
fn zero_id(&mut self, id: &ID);
fn adjust_id(&mut self, id: &ID, adjs: &[CursorAdjustment]);
}
Expand description
Trait for objects that store cursors from multiple buffers.
Required Methods§
sourcefn adjust_id(&mut self, id: &ID, adjs: &[CursorAdjustment])
fn adjust_id(&mut self, id: &ID, adjs: &[CursorAdjustment])
Adjust cursors associated with a given buffer.