-
Notifications
You must be signed in to change notification settings - Fork 0
/
ufrmEditor.dfm
555 lines (555 loc) · 13.6 KB
/
ufrmEditor.dfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
object frmEditor: TfrmEditor
Left = 274
Top = 154
Caption = 'frmEditor'
ClientHeight = 448
ClientWidth = 818
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
FormStyle = fsMDIChild
KeyPreview = True
Menu = MainMenu1
OldCreateOrder = False
Position = poDesigned
Visible = True
OnActivate = FormActivate
OnClose = FormClose
OnCloseQuery = FormCloseQuery
OnCreate = FormCreate
OnKeyDown = FormKeyDown
OnKeyUp = FormKeyUp
PixelsPerInch = 96
TextHeight = 13
object synEditor: TSynEdit
Left = 0
Top = 0
Width = 818
Height = 448
Align = alClient
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
PopupMenu = MainPopup
TabOrder = 0
OnClick = synEditorClick
OnEndDrag = synEditorEndDrag
OnKeyDown = synEditorKeyDown
OnKeyUp = synEditorKeyUp
OnMouseDown = synEditorMouseDown
OnMouseMove = synEditorMouseMove
Gutter.Font.Charset = DEFAULT_CHARSET
Gutter.Font.Color = clWindowText
Gutter.Font.Height = -11
Gutter.Font.Name = 'Courier New'
Gutter.Font.Style = []
Gutter.GradientStartColor = clBtnFace
MaxScrollWidth = 2147483646
Options = [eoAutoIndent, eoAutoSizeMaxScrollWidth, eoDragDropEditing, eoGroupUndo, eoShowScrollHint, eoSmartTabDelete, eoSmartTabs, eoTabIndent, eoTabsToSpaces, eoTrimTrailingSpaces]
WantTabs = True
OnChange = synEditorChange
OnGutterClick = synEditorGutterClick
OnGutterGetText = synEditorGutterGetText
OnPaint = synEditorPaint
OnReplaceText = synEditorReplaceText
OnScroll = synEditorScroll
OnStatusChange = synEditorStatusChange
OnPaintTransient = synEditorPaintTransient
ExplicitWidth = 643
ExplicitHeight = 465
end
object MainMenu1: TMainMenu
Images = frmTinnMain.ToolbarImages
Left = 40
Top = 40
object File1: TMenuItem
Caption = '&File'
GroupIndex = 1
object New1: TMenuItem
Action = FileNewCmd
end
object Open1: TMenuItem
Action = frmTinnMain.FileOpenCmd
end
object Save1: TMenuItem
Action = FileSaveCmd
end
object SaveAll1: TMenuItem
Action = frmTinnMain.actSaveAll
end
object SaveAs1: TMenuItem
Action = FileSaveAsCmd
end
object N10: TMenuItem
Caption = '-'
end
object Close1: TMenuItem
Caption = '&Close'
OnClick = Close1Click
end
object CloseAll1: TMenuItem
Action = frmTinnMain.actCloseAll
end
object N12: TMenuItem
Caption = '-'
end
object actReload1: TMenuItem
Action = actReload
end
object N2: TMenuItem
Caption = '-'
end
object Print1: TMenuItem
Action = frmTinnMain.Print
end
object PrintPreview1: TMenuItem
Action = frmTinnMain.actPrintPreview
end
object N3: TMenuItem
Caption = '-'
end
object OpenallfilesinMRU1: TMenuItem
Action = frmTinnMain.actOpenMRU
GroupIndex = 1
end
object miRecentFiles: TMenuItem
Caption = 'Recent Files'
GroupIndex = 1
end
object N1: TMenuItem
Caption = '-'
GroupIndex = 1
end
object Exit1: TMenuItem
Action = frmTinnMain.FileExitCmd
GroupIndex = 1
end
end
object Edit1: TMenuItem
Caption = '&Edit'
GroupIndex = 1
object Undo2: TMenuItem
Action = EditUndo
end
object Redo1: TMenuItem
Action = actRedo
end
object N6: TMenuItem
Caption = '-'
end
object Cut2: TMenuItem
Action = EditCut
end
object Copy2: TMenuItem
Action = EditCopy
end
object Paste2: TMenuItem
Action = EditPaste
end
object SelectAllmenu: TMenuItem
Action = EditSelectAll
end
end
object Format1: TMenuItem
Caption = 'Fo&rmat'
GroupIndex = 1
object Block1: TMenuItem
Caption = 'Block'
object IndentBlockCtrlShiftI1: TMenuItem
Action = actIndentBlock
end
object UnindentBlockCtrlShiftU1: TMenuItem
Action = actUnindentBlock
end
object N14: TMenuItem
Caption = '-'
end
object CommentBlock1: TMenuItem
Action = actBlockComment
end
object UncommentBlock1: TMenuItem
Action = actBlockUncomment
end
end
object N4: TMenuItem
Caption = '-'
end
object Word1: TMenuItem
Caption = 'Word'
object UppercaseWord1: TMenuItem
Action = actUpper
end
object LowercaseWord1: TMenuItem
Action = actLower
end
object InvertCase1: TMenuItem
Action = actInvertCase
end
end
object N11: TMenuItem
Caption = '-'
end
object Selection1: TMenuItem
Caption = 'Selection'
object UppercaseSelection1: TMenuItem
Action = actUpperCaseSelection
end
object LowercaseSelection1: TMenuItem
Action = actLowercaseSelection
end
object InvertSelection1: TMenuItem
Action = actInvertSelection
end
end
object N7: TMenuItem
Caption = '-'
end
object DateTimeStamp1: TMenuItem
Action = actMatchBracket
end
object InsertDateTimeStamp1: TMenuItem
Action = actDateStamp
end
object N5: TMenuItem
Caption = '-'
end
object SelectionMode1: TMenuItem
Caption = 'Selection Mode'
object ColumnSelect1: TMenuItem
Action = actColumnSelect
RadioItem = True
end
object LineSelect1: TMenuItem
Action = actLineSelect
RadioItem = True
end
object NormalSelect1: TMenuItem
Action = actNormalSelect
Checked = True
RadioItem = True
end
end
end
object Search1: TMenuItem
Caption = '&Search'
GroupIndex = 8
object Find1: TMenuItem
Action = Find
end
object FindAgain1: TMenuItem
Caption = 'Find Again'
ShortCut = 114
OnClick = FindAgainExecute
end
object Replace1: TMenuItem
Action = Replace
end
object GoTo1: TMenuItem
Action = GotoLine
end
object SaveAll2: TMenuItem
Action = frmTinnMain.actSearchInFiles
end
end
end
object MainPopup: TPopupMenu
Images = frmTinnMain.ToolbarImages
MenuAnimation = [maLeftToRight, maTopToBottom]
Left = 92
Top = 40
object Close2: TMenuItem
Caption = '&Close'
OnClick = Close1Click
end
object N8: TMenuItem
Caption = '-'
end
object popCut: TMenuItem
Action = EditCut
end
object popCopy: TMenuItem
Action = EditCopy
end
object popPaste: TMenuItem
Action = EditPaste
end
object popUndo: TMenuItem
Action = EditUndo
end
object N9: TMenuItem
Caption = '-'
end
object mpopReadOnly1: TMenuItem
Action = frmTinnMain.ToggleReadOnly
end
object Reload1: TMenuItem
Action = actReload
end
object mpopSplit: TMenuItem
Caption = 'Split Window'
Visible = False
OnClick = mpopSplitClick
end
object N13: TMenuItem
Caption = '-'
end
object RefactorRename1: TMenuItem
Caption = 'Refactor Rename'
OnClick = RefactorRename1Click
end
object Blockselect1: TMenuItem
Caption = 'Block select'
ShortCut = 49218
OnClick = Blockselect1Click
end
object N15: TMenuItem
Caption = '-'
end
object Highlight1: TMenuItem
Caption = 'Highlight'
OnClick = Highlight1Click
end
object aMmoveTo: TMenuItem
Caption = 'MoveWindowTo'
Visible = False
end
end
object alEdit: TActionList
Images = frmTinnMain.ToolbarImages
Left = 76
Top = 108
object EditUndo: TEditUndo
Category = 'Edit'
Caption = '&Undo'
ImageIndex = 24
ShortCut = 16474
OnExecute = EditUndoExecute
end
object actRedo: TAction
Category = 'Edit'
Caption = 'Redo'
Enabled = False
ImageIndex = 18
ShortCut = 24666
OnExecute = actRedoExecute
end
object EditCopy: TEditCopy
Category = 'Edit'
Caption = '&Copy'
Hint = 'Copy'
ImageIndex = 21
ShortCut = 16451
OnExecute = EditCopyExecute
end
object EditCut: TEditCut
Category = 'Edit'
Caption = 'Cu&t'
Hint = 'Cut'
ImageIndex = 22
ShortCut = 16472
OnExecute = EditCutExecute
end
object EditPaste: TEditPaste
Category = 'Edit'
Caption = '&Paste'
Hint = 'Paste'
ImageIndex = 23
ShortCut = 16470
OnExecute = EditPasteExecute
end
object EditSelectAll: TEditSelectAll
Category = 'Edit'
Caption = 'Select &All'
ShortCut = 16449
OnExecute = EditSelectAllExecute
end
object Find: TAction
Category = 'Edit'
Caption = 'Find'
ImageIndex = 8
ShortCut = 16454
OnExecute = FindExecute
end
object GotoLine: TAction
Category = 'Edit'
Caption = 'Go To'
ImageIndex = 14
ShortCut = 16455
OnExecute = GotoLineExecute
end
object Replace: TAction
Category = 'Edit'
Caption = 'Replace'
ImageIndex = 10
ShortCut = 16466
OnExecute = ReplaceExecute
end
end
object alFile: TActionList
Images = frmTinnMain.ToolbarImages
Left = 32
Top = 104
object FileNewCmd: TAction
Category = 'File'
Caption = '&New'
Hint = 'Create a new file'
ImageIndex = 0
ShortCut = 16462
OnExecute = FileNewCmdExecute
end
object FileOpenCmd: TAction
Category = 'File'
Caption = '&Open...'
Hint = 'Open an existing file'
ImageIndex = 1
ShortCut = 16463
end
object FileSaveCmd: TAction
Category = 'File'
Caption = '&Save'
Hint = 'Save current file'
ImageIndex = 2
ShortCut = 16467
OnExecute = FileSaveCmdExecute
end
object FileSaveAsCmd: TAction
Category = 'File'
Caption = 'Save &As...'
Hint = 'Save current file under a new name'
OnExecute = FileSaveAsCmdExecute
end
object FilePrintCmd: TAction
Category = 'File'
Caption = '&Print'
Hint = 'Print current file'
ImageIndex = 3
ShortCut = 16464
end
object FilePrintPreviewCmd: TAction
Category = 'File'
Caption = 'PrintPreview'
Hint = 'Preview before print'
end
object actReload: TAction
Category = 'File'
Caption = 'Reload'
Hint = 'Reload file'
ImageIndex = 34
OnExecute = actReloadExecute
end
end
object alFormat: TActionList
Left = 124
Top = 104
object actDateStamp: TAction
Caption = 'Date/Time Stamp'
OnExecute = actDateStampExecute
end
object actIndentBlock: TAction
Caption = 'Indent Block'
ShortCut = 24649
OnExecute = actIndentBlockExecute
end
object actUnindentBlock: TAction
Caption = 'Unindent Block'
ShortCut = 24661
OnExecute = actUnindentBlockExecute
end
object actUpper: TAction
Caption = 'Uppercase Word'
ShortCut = 49226
OnExecute = actUpperExecute
end
object actLower: TAction
Caption = 'Lowercase Word'
ShortCut = 49227
OnExecute = actLowerExecute
end
object actInvertCase: TAction
Caption = 'Invert Case'
ShortCut = 49224
OnExecute = actInvertCaseExecute
end
object actMatchBracket: TAction
Caption = 'Match Bracket'
ShortCut = 24642
OnExecute = actMatchBracketExecute
end
object actColumnSelect: TAction
Caption = 'Column'
ShortCut = 24643
OnExecute = actColumnSelectExecute
end
object actLineSelect: TAction
Caption = 'Line'
ShortCut = 24652
OnExecute = actLineSelectExecute
end
object actNormalSelect: TAction
Caption = 'Normal'
ShortCut = 24654
OnExecute = actNormalSelectExecute
end
object actUpperCaseSelection: TAction
Caption = 'Uppercase Selection'
OnExecute = actUpperCaseSelectionExecute
end
object actLowercaseSelection: TAction
Caption = 'Lowercase Selection'
OnExecute = actLowercaseSelectionExecute
end
object actInvertSelection: TAction
Caption = 'Invert Selection'
OnExecute = actInvertSelectionExecute
end
object actBlockComment: TAction
Caption = 'Comment Block'
ShortCut = 49342
OnExecute = actBlockCommentExecute
end
object actBlockUncomment: TAction
Caption = 'Uncomment Block'
ShortCut = 49340
OnExecute = actBlockUncommentExecute
end
end
object timerSplit: TTimer
Enabled = False
Interval = 5
OnTimer = timerSplitTimer
Left = 280
Top = 44
end
object alSearch: TActionList
Left = 184
Top = 104
object FindBackwards: TAction
Caption = 'FindBackwards'
ShortCut = 8306
OnExecute = FindBackwardsExecute
end
object FindAgain: TAction
Caption = 'FindAgain'
ShortCut = 114
OnExecute = FindAgainExecute
end
object actSearchAndReplace: TAction
Caption = 'actSearchAndReplace'
ShortCut = 16456
OnExecute = actSearchAndReplaceExecute
end
end
object SynEditSearch: TSynEditSearch
Left = 400
Top = 64
end
object SynEditRegexSearch: TSynEditRegexSearch
Left = 404
Top = 112
end
end