/// Returns the `OutputRange` tracking who generated the output at the given
/// offset (along with the full range of text that was generated).
///
/// Returns `None` if we are not tracking that information
/// or if the text was geneated via a call to `append` or other means,
/// and not from the program.
Returns the `OutputRange` tracking who generated the output at the given
offset (along with the full range of text that was generated).

Returns `None` if we are not tracking that information
or if the text was geneated via a call to `append` or other means,
and not from the program.
Returns the ` OutputRange ` tracking who generated the output at the given offset ( along with the full range of text that was generated ) . Returns ` None ` if we are not tracking that information or if the text was geneated via a call to ` append ` or other means and not from the program .
pub fn pc_at_offset(&self, offset: usize) -> Option<OutputRange> {
        match self.buffer_pcs.binary_search_by(|range| {
            if (range.start..range.end).contains(&offset) {
                Ordering::Equal
            } else {
                offset.cmp(&range.start)
            }
        }) {
            Ok(index) => Some(self.buffer_pcs[index]),
            Err(_index) => None,
        }
    }
pub fn pc_at_offset ( & self , offset : usize ) -> Option < OutputRange > { match self . buffer_pcs . binary_search_by ( | range | { if ( range . start .. range . end ) . contains ( & offset ) { Ordering :: Equal } else { offset . cmp ( & range . start ) } } ) { Ok ( index ) => Some ( self . buffer_pcs [ index ] ) , Err ( _index ) => None , } }
Returns the `OutputRange` tracking who generated the output at the given
offset (along with the full range of text that was generated).
Returns the ` OutputRange ` tracking who generated the output at the given offset ( along with the full range of text that was generated ) .
&self
offset
usize