pub fn len(&self) -> usize {
        if self.anchor > self.active {
            self.anchor - self.active
        } else {
            self.active - self.anchor
        }
    }
/// The length, in bytes of the selected region.
///
/// If the selection is a caret, this is `0`.
The length, in bytes of the selected region.
If the selection is a caret, this is `0`.
The length in bytes of the selected region . If the selection is a caret this is ` 0 ` .
pub fn len(&self) -> usize {
        if self.anchor > self.active {
            self.anchor - self.active
        } else {
            self.active - self.anchor
        }
    }
pub fn len ( & self ) -> usize { if self . anchor > self . active { self . anchor - self . active } else { self . active - self . anchor } }
The length, in bytes of the selected region.
The length in bytes of the selected region .
&self
&self