mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 14:01:49 +02:00
synedit: undo 18141: completion can work when not visible
git-svn-id: trunk@18160 -
This commit is contained in:
parent
ff9a4a9b4f
commit
13b54cba9a
@ -1313,8 +1313,6 @@ var
|
|||||||
begin
|
begin
|
||||||
//debugln('TSynCompletion.Validate ',dbgsName(Sender),' ',dbgs(Shift),' Position=',dbgs(Position));
|
//debugln('TSynCompletion.Validate ',dbgsName(Sender),' ',dbgs(Shift),' Position=',dbgs(Position));
|
||||||
F := Sender as TSynBaseCompletionForm;
|
F := Sender as TSynBaseCompletionForm;
|
||||||
if not F.Visible then
|
|
||||||
Exit;
|
|
||||||
if F.CurrentEditor is TCustomSynEdit then
|
if F.CurrentEditor is TCustomSynEdit then
|
||||||
with TCustomSynEdit(F.CurrentEditor) do begin
|
with TCustomSynEdit(F.CurrentEditor) do begin
|
||||||
BeginUndoBlock;
|
BeginUndoBlock;
|
||||||
|
Loading…
Reference in New Issue
Block a user