mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-07 06:38:13 +02:00
IDE, Debugger: Display exe-line markers (blue dots) in last line of file too
git-svn-id: trunk@42806 -
This commit is contained in:
parent
d37aa8ac09
commit
32f7affb2b
@ -5379,7 +5379,7 @@ begin
|
|||||||
j := -1;
|
j := -1;
|
||||||
EditorComponent.IDEGutterMarks.BeginSetDebugMarks;
|
EditorComponent.IDEGutterMarks.BeginSetDebugMarks;
|
||||||
try
|
try
|
||||||
for i := 0 to EditorComponent.Lines.Count - 1 do
|
for i := 1 to EditorComponent.Lines.Count do
|
||||||
begin
|
begin
|
||||||
Addr := DebugBoss.LineInfo.GetAddress(idx, i);
|
Addr := DebugBoss.LineInfo.GetAddress(idx, i);
|
||||||
if (Addr <> 0) and (j < 0) then
|
if (Addr <> 0) and (j < 0) then
|
||||||
@ -5390,7 +5390,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
if (Addr <> 0) and (j >= 0) then
|
if (Addr <> 0) and (j >= 0) then
|
||||||
EditorComponent.IDEGutterMarks.SetDebugMarks(j, EditorComponent.Lines.Count - 1);
|
EditorComponent.IDEGutterMarks.SetDebugMarks(j, EditorComponent.Lines.Count);
|
||||||
finally
|
finally
|
||||||
EditorComponent.IDEGutterMarks.EndSetDebugMarks;
|
EditorComponent.IDEGutterMarks.EndSetDebugMarks;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user