mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-05 20:58:16 +02:00
SynEdit fixed warnings
git-svn-id: trunk@18858 -
This commit is contained in:
parent
cb071d68ba
commit
7e91120fe5
@ -98,6 +98,9 @@ type
|
||||
|
||||
function GetAttribute(const Owner: TClass; const Index: Integer): Pointer; override;
|
||||
procedure SetAttribute(const Owner: TClass; const Index: Integer; const AValue: Pointer); override;
|
||||
|
||||
function GetExpandedString(Index: integer): string; override;
|
||||
function GetLengthOfLongestLine: integer; override;
|
||||
protected
|
||||
function GetCount: integer; override;
|
||||
function GetCapacity: integer;
|
||||
@ -334,6 +337,16 @@ begin
|
||||
fSynStrings.Attribute[Owner, Index] := AValue;
|
||||
end;
|
||||
|
||||
function TSynEditStringsLinked.GetExpandedString(Index: integer): string;
|
||||
begin
|
||||
Result:= fSynStrings.GetExpandedString(Index);
|
||||
end;
|
||||
|
||||
function TSynEditStringsLinked.GetLengthOfLongestLine: integer;
|
||||
begin
|
||||
Result:= fSynStrings.GetLengthOfLongestLine;
|
||||
end;
|
||||
|
||||
procedure TSynEditStringsLinked.RegisterAttribute(const Index: TClass; const Size: Word);
|
||||
begin
|
||||
fSynStrings.RegisterAttribute(Index, Size);
|
||||
|
Loading…
Reference in New Issue
Block a user