Get the visual length of the text (ignoring markup).
(&self)
| 565 | impl TextEditState { |
| 566 | /// Get the visual length of the text (ignoring markup). |
| 567 | fn cursor_len_styled(&self) -> usize { |
| 568 | styling::cursor_len(&self.text) |
| 569 | } |
| 570 | |
| 571 | /// Get the selected text in visual space, returning the visible chars. |
| 572 | pub fn selected_text_styled(&self) -> String { |
no test coverage detected