Process an equal (unchanged) region. Equal regions update position tracking but don't create changes. They may cause pending changes to be flushed if the gap is large enough. # Arguments `old_index` - Starting line in old content `new_index` - Starting line in new content `len` - Number of equal lines
(&mut self, old_index: usize, new_index: usize, len: usize)
| 202 | /// * `new_index` - Starting line in new content |
| 203 | /// * `len` - Number of equal lines |
| 204 | pub fn process_equal(&mut self, old_index: usize, new_index: usize, len: usize) { |
| 205 | self.old_line = old_index + len; |
| 206 | self.new_line = new_index + len; |
| 207 | } |
| 208 | |
| 209 | /// Process an insertion. |
| 210 | /// |
no outgoing calls