-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmarkdownviewer_src.lfm
319 lines (319 loc) · 7.32 KB
/
markdownviewer_src.lfm
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
object Form1: TForm1
Left = 0
Height = 293
Top = 0
Width = 755
ActiveControl = TrackBar1
Caption = 'Form1'
ClientHeight = 293
ClientWidth = 755
Color = clBtnFace
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Menu = MainMenu1
OnClose = FormClose
OnCreate = FormCreate
OnDestroy = FormDestroy
OnKeyPress = FormKeyPress
OnMouseDown = FormMouseDown
OnResize = FormResize
OnShow = FormShow
object Splitter1: TSplitter
Left = 0
Height = 270
Top = 0
Width = 5
OnMoved = Splitter1Moved
end
object TrackBar1: TTrackBar
Left = 605
Height = 29
Top = 384
Width = 150
Max = 5
OnChange = TrackBar1Change
Position = 2
TabOrder = 1
end
object StatusBar1: TStatusBar
Left = 0
Height = 23
Top = 270
Width = 755
Panels = <
item
Width = 600
end
item
Width = 50
end>
Visible = False
end
object OpenDialog1: TOpenDialog
Left = 152
end
object MainMenu1: TMainMenu
Left = 240
Top = 32
object File1: TMenuItem
Caption = '&File'
object New1: TMenuItem
Caption = '&New'
ShortCut = 16462
OnClick = New1Click
end
object Open1: TMenuItem
Caption = '&Open'
ShortCut = 16463
OnClick = Open1Click
end
object Save1: TMenuItem
Caption = '&Save'
ShortCut = 16467
OnClick = Save1Click
end
object Saveas1: TMenuItem
Caption = 'Save &as'
OnClick = Saveas1Click
end
object ExportHTML1: TMenuItem
Caption = '&Export as HTML'
OnClick = ExportHTML1Click
end
object N1: TMenuItem
Caption = '-'
end
object Pageconfig1: TMenuItem
Caption = 'Page &config'
OnClick = Pageconfig1Click
end
object PrintPreview1: TMenuItem
Caption = 'Print Pre&view'
OnClick = PrintPreview1Click
end
object Print1: TMenuItem
Caption = '&Print'
ShortCut = 16464
OnClick = Print1Click
end
object N4: TMenuItem
Caption = '-'
end
object Preferences1: TMenuItem
Caption = 'Pre&ferences'
object Registerfilestoopenwith1: TMenuItem
Caption = '&Make it default editor'
OnClick = Registerfilestoopenwith1Click
end
object Waitafewsecondsbeforeupdatingthepreview1: TMenuItem
Caption = '&Wait before update preview'
OnClick = Waitafewsecondsbeforeupdatingthepreview1Click
end
object Synceditwithpreview1: TMenuItem
Caption = '&Sync edit with preview'
OnClick = Synceditwithpreview1Click
end
object mnuSyntax: TMenuItem
Caption = 'Enable Syntax highlighter'
OnClick = mnuSyntaxClick
end
object mnuTheme: TMenuItem
Caption = 'Enable Custom Theme'
OnClick = mnuThemeClick
end
object mnuCSS: TMenuItem
Caption = 'Enable Custom Style'
OnClick = mnuCSSClick
end
end
object N2: TMenuItem
Caption = '-'
end
object Exit1: TMenuItem
Caption = 'E&xit'
ShortCut = 16471
OnClick = Exit1Click
end
end
object Edit1: TMenuItem
Caption = '&Edit'
object Undo1: TMenuItem
Caption = '&Undo'
ShortCut = 16474
OnClick = Undo1Click
end
object N7: TMenuItem
Caption = '-'
end
object Cut1: TMenuItem
Caption = 'Cu&t'
ShortCut = 16472
OnClick = Cut1Click
end
object Copy1: TMenuItem
Caption = '&Copy'
ShortCut = 16451
OnClick = Copy1Click
end
object Paste1: TMenuItem
Caption = '&Paste'
ShortCut = 16470
OnClick = Paste1Click
end
object N6: TMenuItem
Caption = '-'
end
object Find1: TMenuItem
Caption = '&Find'
ShortCut = 16454
OnClick = Find1Click
end
object N9: TMenuItem
Caption = '-'
end
object SelectAll1: TMenuItem
Caption = '&Select All'
ShortCut = 16449
OnClick = SelectAll1Click
end
end
object Format1: TMenuItem
Caption = '&Format'
object Wordwrap1: TMenuItem
Caption = '&Wordwrap'
OnClick = Wordwrap1Click
end
object Font1: TMenuItem
Caption = '&Font...'
OnClick = Font1Click
end
end
object View1: TMenuItem
Caption = '&View'
object EditorandResult1: TMenuItem
Caption = 'Editor and Result'
Checked = True
ShortCut = 118
OnClick = EditorandResult1Click
end
object Editoronly1: TMenuItem
Caption = 'Editor only'
ShortCut = 119
OnClick = Editoronly1Click
end
object Resultonly1: TMenuItem
Caption = 'Result only'
ShortCut = 120
OnClick = Resultonly1Click
end
object N5: TMenuItem
Caption = '-'
end
object FullScreen1: TMenuItem
Caption = 'FullScreen'
ShortCut = 122
OnClick = FullScreen1Click
end
object N10: TMenuItem
Caption = '-'
end
object Statusbar2: TMenuItem
Caption = '&Statusbar'
OnClick = Statusbar2Click
end
end
object Engines1: TMenuItem
Caption = '&Engines'
object engPageDown: TMenuItem
Tag = 1
Caption = '&PageDown'
Checked = True
OnClick = toggleEngine
end
object engMarkDownJS: TMenuItem
Tag = 2
Caption = '&MarkDown.JS'
OnClick = toggleEngine
end
object engMarked: TMenuItem
Tag = 3
Caption = 'Mar&ked'
OnClick = toggleEngine
end
object engShowDown: TMenuItem
Tag = 4
Caption = '&ShowDown'
Visible = False
OnClick = toggleEngine
end
object engMarkdownit: TMenuItem
Tag = 5
Caption = '&Markdown&It'
OnClick = toggleEngine
end
object engNative: TMenuItem
Tag = 6
Caption = '&Native Markdown'
OnClick = toggleEngine
end
end
object N3: TMenuItem
Caption = '&?'
object Helponline1: TMenuItem
Caption = '&Help (online)'
OnClick = Helponline1Click
end
object N8: TMenuItem
Caption = '-'
end
object About1: TMenuItem
Caption = '&About'
OnClick = About1Click
end
end
end
object SaveDialog1: TSaveDialog
Left = 200
Top = 8
end
object tmrHiddenElements: TTimer
Interval = 500
OnTimer = tmrHiddenElementsTimer
Left = 152
Top = 216
end
object FontDialog1: TFontDialog
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
MinFontSize = 0
MaxFontSize = 0
Left = 216
Top = 104
end
object tmrKeyEvent: TTimer
Enabled = False
Interval = 125
OnTimer = tmrKeyEventTimer
Left = 160
Top = 144
end
object FindDialog1: TFindDialog
OnFind = FindDialog1Find
Left = 144
Top = 88
end
object tmrScrollSyncer: TTimer
Enabled = False
Interval = 125
OnTimer = tmrScrollSyncerTimer
Left = 368
Top = 112
end
object ExceptionLogger1: TExceptionLogger
MaxCallStackDepth = 20
Left = 299
Top = 211
end
end