SynEdit fixed warnings

git-svn-id: trunk@18858 -
This commit is contained in:
martin 2009-03-01 11:58:10 +00:00
parent cb071d68ba
commit 7e91120fe5

View File

@ -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);