mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 12:39:15 +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;
|
fOverwriteCaret := ctBlock;
|
||||||
FSelectionMode := smNormal;
|
FSelectionMode := smNormal;
|
||||||
fKeystrokes := TSynEditKeyStrokes.Create(Self);
|
fKeystrokes := TSynEditKeyStrokes.Create(Self);
|
||||||
|
{$IFDEF SYN_LAZARUS}
|
||||||
|
if assigned(Owner) and not (csLoading in Owner.ComponentState) then
|
||||||
|
{$ENDIF}
|
||||||
|
SetDefaultKeystrokes;
|
||||||
fMarkList := TSynEditMarkList.Create(self);
|
fMarkList := TSynEditMarkList.Create(self);
|
||||||
fMarkList.OnChange := {$IFDEF FPC}@{$ENDIF}MarkListChange;
|
fMarkList.OnChange := {$IFDEF FPC}@{$ENDIF}MarkListChange;
|
||||||
SetDefaultKeystrokes;
|
|
||||||
fRightEdgeColor := clSilver;
|
fRightEdgeColor := clSilver;
|
||||||
{$IFDEF SYN_MBCSSUPPORT}
|
{$IFDEF SYN_MBCSSUPPORT}
|
||||||
fImeCount := 0;
|
fImeCount := 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user