Home
last modified time | relevance | path

Searched refs:RopeGraphemes (Results 1 – 8 of 8) sorted by relevance

/dports/editors/helix/helix-0.5.0/cargo-crates/ropey-1.3.1/examples/
H A Dgraphemes_iter.rs17 struct RopeGraphemes<'a> { struct
25 impl<'a> RopeGraphemes<'a> { argument
26 fn new<'b>(slice: &RopeSlice<'b>) -> RopeGraphemes<'b> { in new()
29 RopeGraphemes { in new()
39 impl<'a> Iterator for RopeGraphemes<'a> { implementation
87 let mut grph = RopeGraphemes::new(&r.slice(..)); in iter_huge_graphemes()
107 let mut grph = RopeGraphemes::new(&r.slice(..)); in iter_regional_symbols()
/dports/editors/kak-lsp/kak-lsp-11.1.0/cargo-crates/ropey-1.3.1/examples/
H A Dgraphemes_iter.rs17 struct RopeGraphemes<'a> { struct
25 impl<'a> RopeGraphemes<'a> { impl
26 fn new<'b>(slice: &RopeSlice<'b>) -> RopeGraphemes<'b> { in new()
29 RopeGraphemes { in new()
39 impl<'a> Iterator for RopeGraphemes<'a> { implementation
87 let mut grph = RopeGraphemes::new(&r.slice(..)); in iter_huge_graphemes()
107 let mut grph = RopeGraphemes::new(&r.slice(..)); in iter_regional_symbols()
/dports/editors/helix/helix-0.5.0/helix-core/src/
H A Dgraphemes.rs184 pub struct RopeGraphemes<'a> { struct
192 impl<'a> fmt::Debug for RopeGraphemes<'a> { argument
204 impl<'a> RopeGraphemes<'a> { implementation
206 pub fn new(slice: RopeSlice) -> RopeGraphemes { in new() argument
209 RopeGraphemes { in new()
219 impl<'a> Iterator for RopeGraphemes<'a> { implementation
H A Dposition.rs3 graphemes::{ensure_grapheme_boundary_prev, RopeGraphemes},
67 let col = RopeGraphemes::new(text.slice(line_start..pos)).count(); in coords_at_pos()
101 for (i, g) in RopeGraphemes::new(text.slice(line_start..line_end)).enumerate() { in pos_at_coords()
H A Dlib.rs197 pub use graphemes::RopeGraphemes;
/dports/editors/helix/helix-0.5.0/helix-view/src/
H A Dview.rs6 graphemes::{grapheme_width, RopeGraphemes},
154 for grapheme in RopeGraphemes::new(line_slice) { in screen_coords_at_pos()
200 for grapheme in RopeGraphemes::new(current_line) { in text_pos_at_screen_coords()
/dports/editors/helix/helix-0.5.0/helix-term/src/ui/
H A Deditor.rs306 use helix_core::graphemes::{grapheme_width, RopeGraphemes}; in render_text_highlights()
313 for grapheme in RopeGraphemes::new(text) { in render_text_highlights()
/dports/editors/helix/helix-0.5.0/helix-term/src/
H A Dcommands.rs10 search, selection, surround, textobject, LineEnding, Position, Range, Rope, RopeGraphemes,
858 RopeGraphemes::new(doc.text().slice(range.from()..range.to())) in replace()