Skip to content

Commit db00c83

Browse files
committed
fix: empty KeyStrokes list on text editor
Closes #2131
1 parent 1730956 commit db00c83

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/texteditor.pas

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,9 @@ procedure TfrmTextEditor.FormCreate(Sender: TObject);
267267

268268
MemoText.OnMouseWheel := MainForm.AnySynMemoMouseWheel;
269269
//MemoText.OnPaintTransient := MainForm.SynMemoQuery.OnPaintTransient;
270+
MemoText.Options := MainForm.SynMemoQuery.Options;
271+
MemoText.Options2 := MainForm.SynMemoQuery.Options2;
272+
MemoText.Keystrokes := MainForm.SynMemoQuery.Keystrokes;
270273
if AppSettings.ReadBool(asMemoEditorMaximized) then
271274
WindowState := wsMaximized;
272275
// Restore form dimensions

0 commit comments

Comments
 (0)