From f925277fc9b2ea829a48fb93bc1e3d639beed5c9 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Fri, 8 Oct 2021 16:23:47 +0200 Subject: [PATCH] fix, bad gutter icon displayed on breakpoint removed --- CHANGELOG.md | 1 + src/u_synmemo.pas | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a35d4964..98421468 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ## Bugs fixed - diff dialog: the content reloaded matched to the state when the dialog was shown, not when closed. (#97) +- editor, debugging: during a debugging session, wrong icon displayed when a breakpoint is removed. # v3.9.12 diff --git a/src/u_synmemo.pas b/src/u_synmemo.pas index 4351e042..6bf99e08 100644 --- a/src/u_synmemo.pas +++ b/src/u_synmemo.pas @@ -3992,7 +3992,7 @@ begin m := marks.Line[line]; if m.isAssigned then for i := 0 to m.count - 1 do - if (m[i].ImageIndex = integer(value)) then + if m[i].Visible and (m[i].ImageIndex = integer(value)) then exit(true); end;