Skip to content

Commit

Permalink
GapItem.Tag is Int64
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-T committed Jan 5, 2017
1 parent f7fa907 commit 52773cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions atsynedit/atsynedit_gaps.pas
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ TATSynGapItem = class
LineIndex: integer;
Size: integer;
Bitmap: TBitmap;
Tag: integer;
Tag: Int64;
constructor Create; virtual;
destructor Destroy; override;
end;
Expand All @@ -48,8 +48,8 @@ TATSynGaps = class
function IsIndexValid(N: integer): boolean; inline;
property Items[N: integer]: TATSynGapItem read GetItem; default;
procedure Delete(N: integer);
function Add(ALineIndex, ASize: integer; ABitmap: TBitmap; ATag: integer): boolean;
function Find(ALineIndex: integer; ATag: integer=-1): TATSynGapItem;
function Add(ALineIndex, ASize: integer; ABitmap: TBitmap; ATag: Int64): boolean;
function Find(ALineIndex: integer; ATag: Int64=-1): TATSynGapItem;
function DeleteForLineRange(ALineFrom, ALineTo: integer): boolean;
function SizeForLineRange(ALineFrom, ALineTo: integer): integer;
procedure Update(ALine: integer; AChange: TATLineChangeKind);
Expand Down Expand Up @@ -147,7 +147,7 @@ function TATSynGaps.DeleteForLineRange(ALineFrom, ALineTo: integer): boolean;
end;

function TATSynGaps.Add(ALineIndex, ASize: integer; ABitmap: TBitmap;
ATag: integer): boolean;
ATag: Int64): boolean;
var
Item: TATSynGapItem;
begin
Expand All @@ -166,7 +166,7 @@ function TATSynGaps.Add(ALineIndex, ASize: integer; ABitmap: TBitmap;
Result:= true;
end;

function TATSynGaps.Find(ALineIndex: integer; ATag: integer=-1): TATSynGapItem;
function TATSynGaps.Find(ALineIndex: integer; ATag: Int64=-1): TATSynGapItem;
var
Item: TATSynGapItem;
i: integer;
Expand Down

0 comments on commit 52773cc

Please sign in to comment.