mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 12:30:36 +02:00
codetools: TCodeBuffer.IsDeleted now changes ChangeStep, bug #13376
git-svn-id: trunk@19181 -
This commit is contained in:
parent
804c85d283
commit
e6e4986ffd
@ -920,6 +920,7 @@ procedure TCodeBuffer.SetIsDeleted(const NewValue: boolean);
|
||||
begin
|
||||
if FIsDeleted=NewValue then exit;
|
||||
//debugln(['TCodeBuffer.SetIsDeleted ',Filename,' ',NewValue]);
|
||||
IncreaseChangeStep;
|
||||
FIsDeleted:=NewValue;
|
||||
if FIsDeleted then begin
|
||||
Clear;
|
||||
|
@ -114,10 +114,10 @@ type
|
||||
procedure SetItems(Index: integer; AnItem: TSourceLogEntry);
|
||||
function GetMarkers(Index: integer): TSourceLogMarker;
|
||||
procedure BuildLineRanges;
|
||||
procedure IncreaseChangeStep;
|
||||
procedure SetReadOnly(const Value: boolean);
|
||||
function IndexOfChangeHook(AChangeHook: TOnSourceChange): integer;
|
||||
protected
|
||||
procedure IncreaseChangeStep;
|
||||
procedure DecodeLoaded(const AFilename: string;
|
||||
var ASource, ADiskEncoding, AMemEncoding: string); virtual;
|
||||
procedure EncodeSaving(const AFilename: string; var ASource: string); virtual;
|
||||
|
Loading…
Reference in New Issue
Block a user