Wrapping up bedrock implementation

This commit is contained in:
Ryan Ward
2026-05-13 10:04:59 -05:00
parent ed53aa99eb
commit cee61e2af0
1144 changed files with 2954 additions and 2660 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
use galaxyui::text::TextBuffer;
use itertools::Itertools;
use string_offset::CharOffset;
use galaxyui::text::TextBuffer;
use crate::vim::{BracketChar, BracketEnd};
+1 -1
View File
@@ -1,5 +1,5 @@
use string_offset::CharOffset;
use galaxyui::text::TextBuffer;
use string_offset::CharOffset;
/// Returns the offset of the first newline above a paragraph start before the current position.
pub fn find_previous_paragraph_start<'a, T, C>(buffer: &'a T, offset: C) -> Option<CharOffset>
+1 -1
View File
@@ -2,9 +2,9 @@
use std::ops::Range;
use galaxyui::text::TextBuffer;
use itertools::Itertools;
use string_offset::CharOffset;
use galaxyui::text::TextBuffer;
use crate::{
vim::{BracketChar, BracketEnd, BracketType},
+1 -1
View File
@@ -1,7 +1,7 @@
use std::ops::Range;
use string_offset::CharOffset;
use galaxyui::text::TextBuffer;
use string_offset::CharOffset;
use crate::{find_next_paragraph_end, find_previous_paragraph_start};
+1 -1
View File
@@ -1,8 +1,8 @@
use std::ops::Range;
use galaxyui::text::TextBuffer;
use itertools::Itertools;
use string_offset::CharOffset;
use galaxyui::text::TextBuffer;
use crate::vim::QuoteType;
+1 -1
View File
@@ -1,7 +1,7 @@
use std::ops::Range;
use string_offset::CharOffset;
use galaxyui::text::TextBuffer;
use string_offset::CharOffset;
use crate::{vim::WordType, word_iterator::CharacterKind};
+1 -1
View File
@@ -1,9 +1,9 @@
use std::iter::Peekable;
use anyhow::Result;
use galaxyui::text::{words::is_default_word_boundary, TextBuffer};
use itertools::{peek_nth, Either, PeekNth};
use string_offset::CharOffset;
use galaxyui::text::{words::is_default_word_boundary, TextBuffer};
use crate::vim::{Direction, WordBound, WordType};