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

Method text

platforms/android/src/node.rs:85–91  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

83 }
84
85 pub(crate) fn text(&self) -> Option<String> {
86 self.0.value().or_else(|| {
87 self.0
88 .supports_text_ranges()
89 .then(|| self.0.document_range().text())
90 })
91 }
92
93 pub(crate) fn text_selection(&self) -> Option<(usize, usize)> {
94 if !self.is_focused() {

Callers 3

get_textMethod · 0.45
node_updatedMethod · 0.45
populate_node_infoMethod · 0.45

Calls 3

document_rangeMethod · 0.80
valueMethod · 0.45
supports_text_rangesMethod · 0.45

Tested by

no test coverage detected