Trait editor2::AnchorRangeExt
source · pub trait AnchorRangeExt {
// Required methods
fn cmp(&self, b: &Range<Anchor>, buffer: &MultiBufferSnapshot) -> Ordering;
fn to_offset(&self, content: &MultiBufferSnapshot) -> Range<usize> ⓘ;
fn to_point(&self, content: &MultiBufferSnapshot) -> Range<Point> ⓘ;
}