better fix for #307

This commit is contained in:
Basile Burg 2018-04-27 18:43:48 +02:00
parent 52a6286617
commit e97b3936c2
1 changed files with 1 additions and 4 deletions

View File

@ -1138,10 +1138,7 @@ procedure TCESynMemo.handleModalBeginning(sender: TObject);
begin begin
// AV can happens in TCustomSynEdit.UpdateCursor // AV can happens in TCustomSynEdit.UpdateCursor
if assigned(FTextArea) and (eoAutoHideCursor in Options2) then if assigned(FTextArea) and (eoAutoHideCursor in Options2) then
begin MouseMove([], 0, 0);
cursor := crIBeam;
UpdateCursor;
end;
end; end;
procedure TCESynMemo.setFocus; procedure TCESynMemo.setFocus;