Fix comments

This commit is contained in:
Mikayla Maki 2023-02-28 17:25:35 -08:00
parent 6cf62a5b02
commit 2198c295b3
2 changed files with 1 additions and 2 deletions

View file

@ -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>> {
self.clickable_text
.get(&TypeId::of::<T>())

View file

@ -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>) {
Vim::update(cx, |vim, cx| {
vim.switch_mode(Mode::Insert, false, cx);