/// Invert n characters next to the cursor in the buffer.
Invert n characters next to the cursor in the buffer.
Invert n characters next to the cursor in the buffer .
pub fn invert_chars(&mut self, n: usize) {
        for _ in 0..n {
            let (x, y) = self.pos();
            let current = self.current();
            if let Some(cur) = current {
                self.buffers.current_buffer_mut()[y].remove(x);
                self.buffers.current_buffer_mut()[y].insert(x, invert(cur));
            }
            if let Some(m) = self.next(1) {
                self.goto(m);
            }
        }
        self.hint();
    }
pub fn invert_chars ( & mut self , n : usize ) { for _ in 0 .. n { let ( x , y ) = self . pos ( ) ; let current = self . current ( ) ; if let Some ( cur ) = current { self . buffers . current_buffer_mut ( ) [ y ] . remove ( x ) ; self . buffers . current_buffer_mut ( ) [ y ] . insert ( x , invert ( cur ) ) ; } if let Some ( m ) = self . next ( 1 ) { self . goto ( m ) ; } } self . hint ( ) ; }
Invert n characters next to the cursor in the buffer.
Invert n characters next to the cursor in the buffer .
&mut self
n
usize