mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 23:49:28 +02:00
SynEdit: fixed check for max marks per line (gutter marks)
git-svn-id: trunk@42204 -
This commit is contained in:
parent
bbc287d669
commit
08b51de095
@ -28,7 +28,7 @@ type
|
||||
var aFirstCustomColumnIdx: integer): Boolean;
|
||||
Procedure PaintLine(aScreenLine: Integer; Canvas : TCanvas; AClip : TRect); virtual;
|
||||
|
||||
property ColumnWidth: Integer read FColumnWidth;
|
||||
property ColumnWidth: Integer read FColumnWidth; // initialized in Paint
|
||||
property ColumnCount: Integer read FColumnCount;
|
||||
public
|
||||
constructor Create(AOwner: TComponent); override;
|
||||
@ -168,7 +168,7 @@ begin
|
||||
then
|
||||
aFirstCustomColumnIdx := j; // first none-bookmark column
|
||||
|
||||
if j > ColumnCount then break;
|
||||
if j >= ColumnCount then break;
|
||||
LastMarkIsBookmark := MLine[j].IsBookmark;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user