Skip to content

Commit 2a23e26

Browse files
committed
enhance: move RightEdge on SQL editors out of sight
1 parent 917e046 commit 2a23e26

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

source/main.lfm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3413,6 +3413,7 @@ object MainForm: TMainForm
34133413
Options = [eoAutoIndent, eoBracketHighlight, eoGroupUndo, eoKeepCaretX, eoPersistentCaret, eoShowScrollHint, eoTabIndent]
34143414
Options2 = [eoFoldedCopyPaste, eoOverwriteBlock, eoPersistentCaretStopBlink, eoAcceptDragDropEditing]
34153415
VisibleSpecialChars = [vscSpace, vscTabAtLast]
3416+
RightEdge = 800
34163417
SelectedColor.BackPriority = 50
34173418
SelectedColor.ForePriority = 50
34183419
SelectedColor.FramePriority = 50

source/main.pas

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13419,6 +13419,7 @@ procedure TMainForm.SetupSynEditor(Editor: TSynMemo);
1341913419
if Editor = SynMemoSQLLog then
1342013420
Editor.Options := Editor.Options + [eoRightMouseMovesCursor];
1342113421
Editor.TabWidth := AppSettings.ReadInt(asTabWidth);
13422+
Editor.RightEdge := BaseEditor.RightEdge;
1342213423
//Editor.MaxScrollWidth := BaseEditor.MaxScrollWidth;
1342313424
Editor.WantTabs := BaseEditor.WantTabs;
1342413425
//Editor.HintMode := BaseEditor.HintMode;

0 commit comments

Comments
 (0)