mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-11 04:58:16 +02:00
LCL: Make TMemo.Modified property work like TEDIT does. Issue #38388, patch from Jamie Philbrook.
git-svn-id: trunk@64420 -
This commit is contained in:
parent
7ab17842cd
commit
d7de049568
@ -158,7 +158,9 @@ begin
|
|||||||
{$ifdef DEBUG_MEMO}
|
{$ifdef DEBUG_MEMO}
|
||||||
debugln('TCustomMemo.RealSetText "',AValue,'"');
|
debugln('TCustomMemo.RealSetText "',AValue,'"');
|
||||||
{$endif}
|
{$endif}
|
||||||
|
fTExtChangedByRealSetText:=True;
|
||||||
Lines.Text := AValue;
|
Lines.Text := AValue;
|
||||||
|
fTExtChangedByRealSetText:=False;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TCustomMemo.GetCachedText(var CachedText: TCaption): boolean;
|
function TCustomMemo.GetCachedText(var CachedText: TCaption): boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user