mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Issue #1568: fix ineffective temporary disabling of OnChange handler
This commit is contained in:
@ -7453,6 +7453,7 @@ begin
|
||||
|
||||
EndOfTokenRowCol := Editor.WordEndEx(StartOfTokenRowCol);
|
||||
OldOnChange := Editor.OnChange;
|
||||
Editor.OnChange := nil;
|
||||
Editor.InsertBlock(StartOfTokenRowCol, EndOfTokenRowCol, PWideChar(Replacement), True);
|
||||
Editor.OnChange := OldOnChange;
|
||||
|
||||
|
Reference in New Issue
Block a user