Start fixing compilation errors on Editor
Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
1a92a19954
commit
9c74be3bf2
4 changed files with 117 additions and 114 deletions
|
@ -91,6 +91,10 @@ impl<T: ToOffset + ToPoint + Copy + Ord> Selection<T> {
|
|||
}
|
||||
|
||||
impl SelectionSet {
|
||||
pub fn len(&self) -> usize {
|
||||
self.selections.len()
|
||||
}
|
||||
|
||||
pub fn offset_selections<'a>(
|
||||
&'a self,
|
||||
content: impl Into<Content<'a>> + 'a,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue