on master help sign in
Mark some more TODOs as resolved
commitffc89e483be1bc0cc20cdd19eb38dec6bf421c1a authorBlaž Hrastnik <blaz@mxxn.io> dateWed 1 Dec 2021, 19:28 (5 years ago) parentdfd499f
2 files changed−2
helix-term/src/commands/dap.rs−1 helix-view/src/gutter.rs−1
helix-term/src/commands/dap.rs−1
@@ -677,7 +677,6 @@ pub fn dap_disable_exceptions(cx: &mut Context) {
677677}
678678
679679// TODO: both edit condition and edit log need to be stable: we might get new breakpoints from the debugger which can change offsets
680−// we also might be editing a breakpoint in a document that's no longer focused
681680pub fn dap_edit_condition(cx: &mut Context) {
682681 if let Some((pos, breakpoint)) = commands::cmd::get_breakpoint_at_current_line(cx.editor) {
683682 let path = match doc!(cx.editor).path() {
helix-view/src/gutter.rs−1
@@ -149,7 +149,6 @@ pub fn breakpoints<'doc>(
149149 }
150150 };
151151
152− // TODO: also handle breakpoints only present in the user struct
153152 let sym = if breakpoint.verified { "▲" } else { "⊚" };
154153 write!(out, "{}", sym).unwrap();
155154 Some(style)