fn draw_line(&mut self, data: &Editor, line: usize) -> Result<()> {
        self.cursor_to_left_term_edge()?;

        self.margin.draw(self.write, line, data)?;
        if line < data.line_count() {
            data.write_line(line, self.write)?;
        }
        self.write.queue(Clear(ClearType::UntilNewLine))?;

        Ok(())
    }
/// Draw the line given an index.
/// This method does not move the cursor.
Draw the line given an index.
This method does not move the cursor.
Draw the line given an index . This method does not move the cursor .
fn draw_line(&mut self, data: &Editor, line: usize) -> Result<()> {
        self.cursor_to_left_term_edge()?;
        self.margin.draw(self.write, line, data)?;
        if line < data.line_count() {
            data.write_line(line, self.write)?;
        }
        self.write.queue(Clear(ClearType::UntilNewLine))?;
        Ok(())
    }
fn draw_line ( & mut self , data : & Editor , line : usize ) -> Result < ( ) > { self . cursor_to_left_term_edge ( ) ? ; self . margin . draw ( self . write , line , data ) ? ; if line < data . line_count ( ) { data . write_line ( line , self . write ) ? ; } self . write . queue ( Clear ( ClearType :: UntilNewLine ) ) ? ; Ok ( ( ) ) }
Draw the line given an index.
Draw the line given an index .
&mut self
data
&Editor
line
usize
&mut self
data
&Editor
line
usize