Issue #541: apply KeyPress event to all other writable SQL editors, so the auto-uppercase feature is available everywhere

This commit is contained in:
Ansgar Becker
2019-09-30 20:44:09 +02:00
parent d09e121cdd
commit f88e521ed0

View File

@ -11595,6 +11595,7 @@ begin
Editor.TabWidth := AppSettings.ReadInt(asTabWidth);
Editor.MaxScrollWidth := BaseEditor.MaxScrollWidth;
Editor.WantTabs := BaseEditor.WantTabs;
Editor.OnKeyPress := BaseEditor.OnKeyPress;
Editor.OnPaintTransient := BaseEditor.OnPaintTransient;
// Shortcuts
if Editor = BaseEditor then for j:=0 to Editor.Keystrokes.Count-1 do begin