Files
HeidiSQL/source/texteditor.lfm
2025-04-21 21:07:53 +02:00

338 lines
9.1 KiB
Plaintext

object frmTextEditor: TfrmTextEditor
Left = 0
Height = 191
Top = 0
Width = 602
Caption = 'Text editor'
ClientHeight = 191
ClientWidth = 602
Color = clBtnFace
Constraints.MinHeight = 125
Constraints.MinWidth = 375
DesignTimePPI = 120
OnClose = FormClose
OnCreate = FormCreate
OnDestroy = FormDestroy
OnShow = FormShow
Position = poMainFormCenter
object Panel1: TPanel
Left = 0
Height = 40
Top = 151
Width = 602
Align = alBottom
AutoSize = True
BevelOuter = bvNone
ClientHeight = 40
ClientWidth = 602
ParentBackground = False
TabOrder = 0
object lblTextLength: TLabel
AnchorSideLeft.Control = comboHighlighter
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = comboHighlighter
AnchorSideTop.Side = asrCenter
AnchorSideBottom.Side = asrBottom
Left = 507
Height = 20
Top = 10
Width = 89
BorderSpacing.Around = 6
Caption = 'lblTextLength'
Layout = tlCenter
ParentBidiMode = False
end
object tlbStandard: TToolBar
AnchorSideLeft.Control = Panel1
AnchorSideTop.Control = Panel1
AnchorSideBottom.Control = Panel1
AnchorSideBottom.Side = asrBottom
Left = 6
Height = 28
Top = 6
Width = 308
Align = alNone
AutoSize = True
BorderSpacing.Around = 6
Caption = 'tlbStandard'
EdgeBorders = []
Images = MainForm.ImageListIcons8
ParentShowHint = False
ShowHint = True
TabOrder = 0
Wrapable = False
object btnWrap: TToolButton
Left = 1
Hint = 'Wrap long lines'
Top = 0
Caption = 'Wrap long lines'
ImageIndex = 62
OnClick = btnWrapClick
end
object btnLinebreaks: TToolButton
Left = 30
Top = 0
Caption = 'Linebreaks'
DropdownMenu = popupLinebreaks
ImageIndex = 123
Style = tbsDropDown
end
object btnLoadText: TToolButton
Left = 74
Hint = 'Load textfile'
Top = 0
Caption = 'Load textfile'
ImageIndex = 52
OnClick = btnLoadTextClick
end
object btnCancel: TToolButton
Left = 103
Hint = 'Cancel'
Top = 0
Caption = 'Cancel'
ImageIndex = 26
OnClick = btnCancelClick
end
object btnApply: TToolButton
Left = 132
Hint = 'Apply changes'
Top = 0
Caption = 'Apply changes'
ImageIndex = 55
OnClick = btnApplyClick
end
object btnSeparator1: TToolButton
Left = 161
Height = 28
Top = 0
Caption = 'btnSeparator1'
ImageIndex = 60
Style = tbsSeparator
end
object btnSearchFind: TToolButton
Left = 169
Top = 0
Action = MainForm.actQueryFind
end
object btnSearchFindNext: TToolButton
Left = 198
Top = 0
Action = MainForm.actQueryFindAgain
end
object btnSearchReplace: TToolButton
Left = 227
Top = 0
Action = MainForm.actQueryReplace
end
object ToolButton1: TToolButton
Left = 256
Height = 28
Top = 0
Caption = 'ToolButton1'
ImageIndex = 60
Style = tbsSeparator
end
object btnCustomizeHighlighter: TToolButton
Left = 264
Top = 0
Caption = 'Customize highlighter'
DropdownMenu = popupHighlighter
ImageIndex = 39
OnClick = btnCustomizeHighlighterClick
Style = tbsDropDown
end
end
object comboHighlighter: TComboBox
AnchorSideLeft.Control = tlbStandard
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = Panel1
AnchorSideBottom.Control = Panel1
AnchorSideBottom.Side = asrBottom
Left = 320
Height = 28
Top = 6
Width = 181
BorderSpacing.Around = 6
ItemHeight = 20
Sorted = True
Style = csDropDownList
TabOrder = 1
OnSelect = comboHighlighterSelect
end
end
inline MemoText: TSynEdit
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = Owner
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = Panel1
Left = 0
Height = 151
Top = 0
Width = 602
Align = alClient
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Courier New'
Font.Pitch = fpFixed
Font.Quality = fqCleartypeNatural
ParentColor = False
ParentFont = False
PopupMenu = popupEditor
TabOrder = 1
OnClick = MemoTextClick
OnKeyDown = MemoTextKeyDown
Gutter.Width = 72
Gutter.MouseActions = <>
RightGutter.Width = 0
RightGutter.MouseActions = <>
Keystrokes = <>
MouseActions = <>
MouseTextActions = <>
MouseSelActions = <>
Lines.Strings = (
'MemoText'
)
Options = [eoAutoIndent, eoGroupUndo, eoShowScrollHint, eoSmartTabs, eoTabIndent, eoTabsToSpaces, eoDragDropEditing]
MouseOptions = [emDragDropEditing]
VisibleSpecialChars = [vscSpace, vscTabAtLast]
RightEdge = 0
SelectedColor.BackPriority = 50
SelectedColor.ForePriority = 50
SelectedColor.FramePriority = 50
SelectedColor.BoldPriority = 50
SelectedColor.ItalicPriority = 50
SelectedColor.UnderlinePriority = 50
SelectedColor.StrikeOutPriority = 50
BracketHighlightStyle = sbhsBoth
BracketMatchColor.Background = clNone
BracketMatchColor.Foreground = clNone
BracketMatchColor.Style = [fsBold]
FoldedCodeColor.Background = clNone
FoldedCodeColor.Foreground = clGray
FoldedCodeColor.FrameColor = clGray
MouseLinkColor.Background = clNone
MouseLinkColor.Foreground = clBlue
LineHighlightColor.Background = clNone
LineHighlightColor.Foreground = clNone
OnChange = MemoTextChange
inline SynLeftGutterPartList1: TSynGutterPartList
object SynGutterMarks1: TSynGutterMarks
Width = 30
MouseActions = <>
end
object SynGutterLineNumber1: TSynGutterLineNumber
Width = 21
MouseActions = <>
MarkupInfo.Background = clBtnFace
MarkupInfo.Foreground = clNone
DigitCount = 2
ShowOnlyLineNumbersMultiplesOf = 1
ZeroStart = False
LeadingZeros = False
end
object SynGutterChanges1: TSynGutterChanges
Width = 5
MouseActions = <>
ModifiedColor = 59900
SavedColor = clGreen
end
object SynGutterSeparator1: TSynGutterSeparator
Width = 3
MouseActions = <>
MarkupInfo.Background = clWhite
MarkupInfo.Foreground = clGray
end
object SynGutterCodeFolding1: TSynGutterCodeFolding
Width = 13
MouseActions = <>
MarkupInfo.Background = clNone
MarkupInfo.Foreground = clGray
MouseActionsExpanded = <>
MouseActionsCollapsed = <>
end
end
end
object popupLinebreaks: TPopupMenu
Left = 10
Top = 20
object menuWindowsLB: TMenuItem
Caption = 'Windows linebreaks'
ImageIndex = 123
OnClick = SelectLinebreaks
end
object menuUnixLB: TMenuItem
Caption = 'UNIX linebreaks'
ImageIndex = 125
OnClick = SelectLinebreaks
end
object menuMacLB: TMenuItem
Caption = 'Mac OS linebreaks'
ImageIndex = 124
OnClick = SelectLinebreaks
end
object menuWideLB: TMenuItem
Caption = 'Unicode linebreaks'
ImageIndex = 68
OnClick = SelectLinebreaks
end
object menuMixedLB: TMenuItem
Caption = 'Mixed linebreaks'
ImageIndex = 122
OnClick = SelectLinebreaks
end
end
object TimerMemoChange: TTimer
Interval = 200
OnTimer = TimerMemoChangeTimer
Left = 150
Top = 20
end
object popupEditor: TPopupMenu
Left = 300
Top = 20
object Selectall1: TMenuItem
Action = MainForm.actSelectAll
end
object Copy1: TMenuItem
Action = MainForm.actCopy
end
object Paste1: TMenuItem
Action = MainForm.actPaste
end
object Undo1: TMenuItem
Action = MainForm.actUndo
end
object N1: TMenuItem
Caption = '-'
end
object Findtext1: TMenuItem
Action = MainForm.actQueryFind
end
object Findorreplaceagain1: TMenuItem
Action = MainForm.actQueryFindAgain
end
object Replacetext1: TMenuItem
Action = MainForm.actQueryReplace
end
end
object popupHighlighter: TPopupMenu
Left = 440
Top = 40
object menuCustomizeHighlighter: TMenuItem
Caption = 'Customize highlighter'
ImageIndex = 39
OnClick = btnCustomizeHighlighterClick
end
object menuFormatCodeOnce: TMenuItem
Caption = 'Format code once'
OnClick = menuFormatCodeOnceClick
end
object menuAlwaysFormatCode: TMenuItem
AutoCheck = True
Caption = 'Always format code'
OnClick = menuAlwaysFormatCodeClick
end
end
end