mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 10:59:16 +02:00
synedit: don't initialize KeyStrokes collection, when loading it from .lrs or .lfm (fixes bug #7305), thanks to Martin Schreiber for the hint
git-svn-id: trunk@15730 -
This commit is contained in:
parent
400dcfccd4
commit
8a3217a900
@ -1466,9 +1466,12 @@ begin
|
||||
fOverwriteCaret := ctBlock;
|
||||
FSelectionMode := smNormal;
|
||||
fKeystrokes := TSynEditKeyStrokes.Create(Self);
|
||||
{$IFDEF SYN_LAZARUS}
|
||||
if assigned(Owner) and not (csLoading in Owner.ComponentState) then
|
||||
{$ENDIF}
|
||||
SetDefaultKeystrokes;
|
||||
fMarkList := TSynEditMarkList.Create(self);
|
||||
fMarkList.OnChange := {$IFDEF FPC}@{$ENDIF}MarkListChange;
|
||||
SetDefaultKeystrokes;
|
||||
fRightEdgeColor := clSilver;
|
||||
{$IFDEF SYN_MBCSSUPPORT}
|
||||
fImeCount := 0;
|
||||
|
Loading…
Reference in New Issue
Block a user