on master help sign in
Mark some more TODOs as resolved
ffc89e4Blaž Hrastnik
helix-term/src/commands/dap.rs−1
@@ -677,7 +677,6 @@ pub fn dap_disable_exceptions(cx: &mut Context) {
677}
677}
678
678
679// TODO: both edit condition and edit log need to be stable: we might get new breakpoints from the debugger which can change offsets
679// 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
681pub fn dap_edit_condition(cx: &mut Context) {
680pub fn dap_edit_condition(cx: &mut Context) {
682 if let Some((pos, breakpoint)) = commands::cmd::get_breakpoint_at_current_line(cx.editor) {
681 if let Some((pos, breakpoint)) = commands::cmd::get_breakpoint_at_current_line(cx.editor) {
683 let path = match doc!(cx.editor).path() {
682 let path = match doc!(cx.editor).path() {
helix-view/src/gutter.rs−1
@@ -149,7 +149,6 @@ pub fn breakpoints<'doc>(
149 }
149 }
150 };
150 };
151
151
152− // TODO: also handle breakpoints only present in the user struct
153 let sym = if breakpoint.verified { "▲" } else { "⊚" };
152 let sym = if breakpoint.verified { "▲" } else { "⊚" };
154 write!(out, "{}", sym).unwrap();
153 write!(out, "{}", sym).unwrap();
155 Some(style)
154 Some(style)