(&self)
| 1436 | } |
| 1437 | |
| 1438 | pub fn document_range(&self) -> Range<'_> { |
| 1439 | let start = self.document_start_inner(); |
| 1440 | let end = self.document_end_inner(); |
| 1441 | Range::new(*self, start, end) |
| 1442 | } |
| 1443 | |
| 1444 | pub fn has_text_selection(&self) -> bool { |
| 1445 | self.data().text_selection().is_some() |