mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 21:00:23 +02:00
SynMemo: missing properties/methods
git-svn-id: trunk@22665 -
This commit is contained in:
parent
47879f9a9e
commit
650d40ce24
@ -60,10 +60,15 @@ uses
|
||||
//SelStart and SelEnd are now in TCustomSynEdit //DDH Addition
|
||||
|
||||
type
|
||||
|
||||
{ TCustomSynMemo }
|
||||
|
||||
TCustomSynMemo = class(TCustomSynEdit)
|
||||
public
|
||||
function CharIndexToRowCol(Index: integer): TPoint; //as 2000-11-09
|
||||
function RowColToCharIndex(RowCol: TPoint): integer; //as 2000-11-09
|
||||
procedure Append(const Value: String);
|
||||
procedure Clear;
|
||||
end;
|
||||
|
||||
TSynMemo = class(TCustomSynMemo)
|
||||
@ -151,6 +156,7 @@ type
|
||||
property MaxLeftChar;
|
||||
property MaxUndo;
|
||||
property Options;
|
||||
property Options2;
|
||||
property OverwriteCaret;
|
||||
property ReadOnly;
|
||||
property RightEdge;
|
||||
@ -234,5 +240,15 @@ begin
|
||||
Result := Result + RowCol.x;
|
||||
end;
|
||||
|
||||
procedure TCustomSynMemo.Append(const Value: String);
|
||||
begin
|
||||
Lines.Append(Value);
|
||||
end;
|
||||
|
||||
procedure TCustomSynMemo.Clear;
|
||||
begin
|
||||
Lines.Clear;
|
||||
end;
|
||||
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user