/// Clear the contents of the compose area.
Clear the contents of the compose area.
Clear the contents of the compose area .
pub fn clear(&mut self) {
        debug!("[compose_area] clear");
        while self.wrapper.has_child_nodes() {
            let last_child = self
                .wrapper
                .last_child()
                .expect("Could not find last child");
            self.wrapper
                .remove_child(&last_child)
                .expect("Could not remove last child");
        }
        self.selection_range = None;
    }
pub fn clear ( & mut self ) { debug ! ( " " ) ; while self . wrapper . has_child_nodes ( ) { let last_child = self . wrapper . last_child ( ) . expect ( " " ) ; self . wrapper . remove_child ( & last_child ) . expect ( " " ) ; } self . selection_range = None ; }
Clear the contents of the compose area.
Clear the contents of the compose area .
&mut self