Change summary
crates/editor/src/editor.rs | 1 +
crates/vim/src/normal.rs | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)
Detailed changes
@@ -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>())
@@ -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);