mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 13:10:54 +00:00
Fix comments
This commit is contained in:
parent
6cf62a5b02
commit
2198c295b3
2 changed files with 1 additions and 2 deletions
|
@ -6050,6 +6050,7 @@ impl Editor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME: Consolidate the range styling APIs so that this clone isn't nescessary
|
||||||
pub fn clone_click_ranges<T: ClickRange>(&self) -> Vec<Range<Anchor>> {
|
pub fn clone_click_ranges<T: ClickRange>(&self) -> Vec<Range<Anchor>> {
|
||||||
self.clickable_text
|
self.clickable_text
|
||||||
.get(&TypeId::of::<T>())
|
.get(&TypeId::of::<T>())
|
||||||
|
|
|
@ -216,8 +216,6 @@ fn insert_line_above(_: &mut Workspace, _: &InsertLineAbove, cx: &mut ViewContex
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: FIGURE OUT WHY PANIC WHEN CLICKING ON FOLDS
|
|
||||||
|
|
||||||
fn insert_line_below(_: &mut Workspace, _: &InsertLineBelow, cx: &mut ViewContext<Workspace>) {
|
fn insert_line_below(_: &mut Workspace, _: &InsertLineBelow, cx: &mut ViewContext<Workspace>) {
|
||||||
Vim::update(cx, |vim, cx| {
|
Vim::update(cx, |vim, cx| {
|
||||||
vim.switch_mode(Mode::Insert, false, cx);
|
vim.switch_mode(Mode::Insert, false, cx);
|
||||||
|
|
Loading…
Reference in a new issue