mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-16 20:11:48 +08:00
Issue #541: apply KeyPress event to all other writable SQL editors, so the auto-uppercase feature is available everywhere
This commit is contained in:
@ -11595,6 +11595,7 @@ begin
|
|||||||
Editor.TabWidth := AppSettings.ReadInt(asTabWidth);
|
Editor.TabWidth := AppSettings.ReadInt(asTabWidth);
|
||||||
Editor.MaxScrollWidth := BaseEditor.MaxScrollWidth;
|
Editor.MaxScrollWidth := BaseEditor.MaxScrollWidth;
|
||||||
Editor.WantTabs := BaseEditor.WantTabs;
|
Editor.WantTabs := BaseEditor.WantTabs;
|
||||||
|
Editor.OnKeyPress := BaseEditor.OnKeyPress;
|
||||||
Editor.OnPaintTransient := BaseEditor.OnPaintTransient;
|
Editor.OnPaintTransient := BaseEditor.OnPaintTransient;
|
||||||
// Shortcuts
|
// Shortcuts
|
||||||
if Editor = BaseEditor then for j:=0 to Editor.Keystrokes.Count-1 do begin
|
if Editor = BaseEditor then for j:=0 to Editor.Keystrokes.Count-1 do begin
|
||||||
|
Reference in New Issue
Block a user