mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-25 12:28:13 +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;
|
function GetAttribute(const Owner: TClass; const Index: Integer): Pointer; override;
|
||||||
procedure SetAttribute(const Owner: TClass; const Index: Integer; const AValue: 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
|
protected
|
||||||
function GetCount: integer; override;
|
function GetCount: integer; override;
|
||||||
function GetCapacity: integer;
|
function GetCapacity: integer;
|
||||||
@ -334,6 +337,16 @@ begin
|
|||||||
fSynStrings.Attribute[Owner, Index] := AValue;
|
fSynStrings.Attribute[Owner, Index] := AValue;
|
||||||
end;
|
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);
|
procedure TSynEditStringsLinked.RegisterAttribute(const Index: TClass; const Size: Word);
|
||||||
begin
|
begin
|
||||||
fSynStrings.RegisterAttribute(Index, Size);
|
fSynStrings.RegisterAttribute(Index, Size);
|
||||||
|
Loading…
Reference in New Issue
Block a user