MCPcopy Create free account
hub / github.com/AccessKit/accesskit / document_end_inner

Method document_end_inner

consumer/src/text.rs:1423–1429  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1421 }
1422
1423 fn document_end_inner(&self) -> InnerPosition<'a> {
1424 let node = self.text_runs().next_back().unwrap();
1425 InnerPosition {
1426 node,
1427 character_index: node.data().character_lengths().len(),
1428 }
1429 }
1430
1431 pub fn document_end(&self) -> Position<'a> {
1432 Position {

Callers 2

document_endMethod · 0.80
document_rangeMethod · 0.80

Calls 4

next_backMethod · 0.80
text_runsMethod · 0.80
lenMethod · 0.80
dataMethod · 0.80

Tested by

no test coverage detected