Merge pull request #661 from zed-industries/follow
Introduce basic following experience
This commit is contained in:
commit
004f98cc6d
35 changed files with 3061 additions and 510 deletions
|
@ -18,6 +18,12 @@ pub struct Selection<T> {
|
|||
pub goal: SelectionGoal,
|
||||
}
|
||||
|
||||
impl Default for SelectionGoal {
|
||||
fn default() -> Self {
|
||||
Self::None
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: Clone> Selection<T> {
|
||||
pub fn head(&self) -> T {
|
||||
if self.reversed {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue