pub fn move_to_end_of_non_blank(&mut self) {
        if let Some(pos) = self.last_non_blank() {
            self.set_column(pos);
        }
    }
/// Moves a cursor to the last non-blank character.
///
/// # Examples
///
/// ```
/// # use edit::editor::Editor;
/// let mut editor = Editor::new("aaa\nbbb ", 1, 1).unwrap();
/// editor.move_to_end_of_non_blank();
/// assert_eq!(editor.column(), 3);
/// ```
Moves a cursor to the last non-blank character.
Moves a cursor to the last non - blank character .
pub fn move_to_end_of_non_blank(&mut self) {
        if let Some(pos) = self.last_non_blank() {
            self.set_column(pos);
        }
    }
pub fn move_to_end_of_non_blank ( & mut self ) { if let Some ( pos ) = self . last_non_blank ( ) { self . set_column ( pos ) ; } }
Moves a cursor to the last non-blank character.
Moves a cursor to the last non - blank character .
&mut self
&mut self
examples
None
use edit::editor::editor;
let mut editor = Editor::new("aaa\nbbb ", 1, 1).unwrap();
editor.move_to_end_of_non_blank();
assert_eq!(editor.column(), 3);
```
let mut editor = Editor :: new ( " aaa \ nbbb " 1 1 ) . unwrap () ; editor . move_to_end_of_non_blank () ; assert_eq! ( editor . column () 3 ) ; ` ` `