mirror of https://github.com/helix-editor/helix
Mark some more TODOs as resolved
parent
dfd499f5a9
commit
ffc89e483b
|
@ -677,7 +677,6 @@ pub fn dap_disable_exceptions(cx: &mut Context) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: both edit condition and edit log need to be stable: we might get new breakpoints from the debugger which can change offsets
|
// TODO: both edit condition and edit log need to be stable: we might get new breakpoints from the debugger which can change offsets
|
||||||
// we also might be editing a breakpoint in a document that's no longer focused
|
|
||||||
pub fn dap_edit_condition(cx: &mut Context) {
|
pub fn dap_edit_condition(cx: &mut Context) {
|
||||||
if let Some((pos, breakpoint)) = commands::cmd::get_breakpoint_at_current_line(cx.editor) {
|
if let Some((pos, breakpoint)) = commands::cmd::get_breakpoint_at_current_line(cx.editor) {
|
||||||
let path = match doc!(cx.editor).path() {
|
let path = match doc!(cx.editor).path() {
|
||||||
|
|
|
@ -149,7 +149,6 @@ pub fn breakpoints<'doc>(
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// TODO: also handle breakpoints only present in the user struct
|
|
||||||
let sym = if breakpoint.verified { "▲" } else { "⊚" };
|
let sym = if breakpoint.verified { "▲" } else { "⊚" };
|
||||||
write!(out, "{}", sym).unwrap();
|
write!(out, "{}", sym).unwrap();
|
||||||
Some(style)
|
Some(style)
|
||||||
|
|
Loading…
Reference in New Issue