Recomputes the rendered text and its display width.
(&mut self)
| 75 | |
| 76 | /// Recomputes the rendered text and its display width. |
| 77 | fn sync_rendered(&mut self) { |
| 78 | self.rendered = self.render_line(self.view_start); |
| 79 | self.rendered_len = self.rendered.chars().count(); |
| 80 | } |
| 81 | |
| 82 | /// Moves the viewport so that the end of the line is visible. |
| 83 | fn reset_view_to_end(&mut self) { |
no test coverage detected