on master help sign in
These TODOs have been resolved
commitb4fd3148e335a9d9ebcdfbb013df635e039e4bb1 authorBlaž Hrastnik <blaz@mxxn.io> dateWed 1 Dec 2021, 12:56 (5 years ago) parent96ae589
2 files changed+1−3
helix-term/src/commands.rs+1−2 helix-term/src/commands/dap.rs−1
helix-term/src/commands.rs+1−2
@@ -1472,7 +1472,6 @@ fn search_completions(cx: &mut Context, reg: Option<char>) -> Vec<String> {
14721472 items.into_iter().cloned().collect()
14731473}
14741474
1475−// TODO: use one function for search vs extend
14761475fn search(cx: &mut Context) {
14771476 searcher(cx, Direction::Forward)
14781477}
@@ -1480,7 +1479,7 @@ fn search(cx: &mut Context) {
14801479fn rsearch(cx: &mut Context) {
14811480 searcher(cx, Direction::Backward)
14821481}
1483−// TODO: use one function for search vs extend
1482+
14841483fn searcher(cx: &mut Context, direction: Direction) {
14851484 let reg = cx.register.unwrap_or('/');
14861485 let scrolloff = cx.editor.config.scrolloff;
helix-term/src/commands/dap.rs−1
@@ -392,7 +392,6 @@ fn debug_parameter_prompt(
392392}
393393
394394pub fn dap_toggle_breakpoint(cx: &mut Context) {
395− // TODO: accept line instead of current selection
396395 let (view, doc) = current!(cx.editor);
397396 let path = match doc.path() {
398397 Some(path) => path.clone(),