pub fn move_to_beginning_of_last_line(&mut self) {
        self.set_column(0);
        let lines = self.line_count();
        self.set_line(lines - 1);
    }
/// Moves a cursor to the beginning of the last line.
///
/// # Examples
///
/// ```
/// # use edit::editor::Editor;
/// let mut editor = Editor::new("aaa\nbbb", 0, 2).unwrap();
/// editor.move_to_beginning_of_last_line();
/// assert_eq!(editor.line(), 1);
/// assert_eq!(editor.column(), 0);
/// ```
Moves a cursor to the beginning of the last line.
Moves a cursor to the beginning of the last line .
pub fn move_to_beginning_of_last_line(&mut self) {
        self.set_column(0);
        let lines = self.line_count();
        self.set_line(lines - 1);
    }
pub fn move_to_beginning_of_last_line ( & mut self ) { self . set_column ( 0 ) ; let lines = self . line_count ( ) ; self . set_line ( lines - 1 ) ; }
Moves a cursor to the beginning of the last line.
Moves a cursor to the beginning of the last line .
&mut self
&mut self
examples
None
use edit::editor::editor;
let mut editor = Editor::new("aaa\nbbb", 0, 2).unwrap();
editor.move_to_beginning_of_last_line();
assert_eq!(editor.line(), 1);
assert_eq!(editor.column(), 0);
```
let mut editor = Editor :: new ( " aaa \ nbbb " 0 2 ) . unwrap () ; editor . move_to_beginning_of_last_line () ; assert_eq! ( editor . line () 1 ) ; assert_eq! ( editor . column () 0 ) ; ` ` `