File: RegExTextImporter.dfm

package info (click to toggle)
mysql-gui-tools 5.0r14%2BopenSUSE-2.1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 116,956 kB
  • ctags: 48,715
  • sloc: sql: 341,918; pascal: 276,698; ansic: 91,020; cpp: 90,451; objc: 33,236; sh: 29,481; yacc: 10,756; xml: 10,589; java: 10,079; php: 2,806; python: 2,092; makefile: 1,783; perl: 4
file content (648 lines) | stat: -rw-r--r-- 17,169 bytes parent folder | download
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
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
object RegExTextImporterForm: TRegExTextImporterForm
  Left = 274
  Top = 186
  Caption = 'RegEx Text Importer'
  ClientHeight = 664
  ClientWidth = 758
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnClose = FormClose
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 13
  object TntSplitter4: TTntSplitter
    Left = 234
    Top = 39
    Width = 5
    Height = 620
    ExplicitHeight = 627
  end
  object TntShape2: TTntShape
    Left = 0
    Top = 39
    Width = 5
    Height = 620
    Align = alLeft
    Brush.Color = clBtnFace
    Pen.Style = psClear
    ExplicitHeight = 627
  end
  object TntShape3: TTntShape
    Left = 754
    Top = 39
    Width = 4
    Height = 620
    Align = alRight
    Brush.Color = clBtnFace
    Pen.Style = psClear
    ExplicitLeft = 762
    ExplicitHeight = 627
  end
  object TntShape4: TTntShape
    Left = 0
    Top = 659
    Width = 758
    Height = 5
    Align = alBottom
    Brush.Color = clBtnFace
    Pen.Style = psClear
    ExplicitTop = 666
    ExplicitWidth = 766
  end
  object TntShape5: TTntShape
    Left = 0
    Top = 34
    Width = 758
    Height = 5
    Align = alTop
    Brush.Color = clBtnFace
    Pen.Style = psClear
    ExplicitWidth = 766
  end
  object ScrollBox: TTntScrollBox
    Left = 239
    Top = 39
    Width = 515
    Height = 620
    HorzScrollBar.Tracking = True
    VertScrollBar.Tracking = True
    Align = alClient
    BevelInner = bvNone
    BorderStyle = bsNone
    TabOrder = 0
    ExplicitWidth = 523
    ExplicitHeight = 627
    object TntSplitter3: TTntSplitter
      Left = 0
      Top = 445
      Width = 515
      Height = 5
      Cursor = crVSplit
      Align = alBottom
      AutoSnap = False
      ExplicitTop = 452
      ExplicitWidth = 523
    end
    object ExtractPnl: TTntPanel
      Left = 0
      Top = 0
      Width = 515
      Height = 445
      Align = alClient
      BevelOuter = bvNone
      TabOrder = 0
      ExplicitWidth = 523
      ExplicitHeight = 452
      object TntSplitter1: TTntSplitter
        Left = 0
        Top = 109
        Width = 515
        Height = 7
        Cursor = crVSplit
        Align = alTop
        AutoSnap = False
        MinSize = 50
        ExplicitWidth = 523
      end
      object ContentPnl: TTntPanel
        Left = 0
        Top = 116
        Width = 515
        Height = 329
        Align = alClient
        BevelOuter = bvNone
        TabOrder = 0
        ExplicitWidth = 523
        ExplicitHeight = 336
        object TntPanel3: TTntPanel
          Left = 0
          Top = 0
          Width = 515
          Height = 329
          Align = alClient
          BevelOuter = bvNone
          TabOrder = 0
          ExplicitWidth = 523
          ExplicitHeight = 336
          object SourceMemo: TTntMemo
            Left = 0
            Top = 25
            Width = 515
            Height = 304
            Align = alClient
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -12
            Font.Name = 'Bitstream Vera Sans Mono'
            Font.Style = []
            HideSelection = False
            ParentFont = False
            PopupMenu = SourceTextPopupMenu
            ScrollBars = ssBoth
            TabOrder = 0
            WantTabs = True
            WordWrap = False
            OnChange = SourceMemoChange
            ExplicitWidth = 523
            ExplicitHeight = 311
          end
          object TntPanel5: TTntPanel
            Left = 0
            Top = 0
            Width = 515
            Height = 25
            Align = alTop
            Alignment = taLeftJustify
            BevelOuter = bvNone
            Caption = 'Source Text'
            TabOrder = 1
            ExplicitWidth = 523
            DesignSize = (
              515
              25)
            object MatchLU: TTntComboBox
              Left = 66
              Top = 2
              Width = 456
              Height = 21
              Style = csDropDownList
              Anchors = [akLeft, akTop, akRight, akBottom]
              Enabled = False
              ItemHeight = 13
              TabOrder = 0
              OnCloseUp = MatchLUCloseUp
              Items.Strings = (
                '')
            end
          end
        end
      end
      object RegExPnl: TTntPanel
        Left = 0
        Top = 0
        Width = 515
        Height = 109
        Align = alTop
        BevelOuter = bvNone
        TabOrder = 1
        object TntPanel2: TTntPanel
          Left = 0
          Top = 0
          Width = 515
          Height = 17
          Align = alTop
          Alignment = taLeftJustify
          BevelOuter = bvNone
          Caption = 'Regular Expression'
          TabOrder = 0
          ExplicitWidth = 523
        end
        object RegExMemo: TTntMemo
          Left = 0
          Top = 17
          Width = 515
          Height = 48
          Align = alClient
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Bitstream Vera Sans Mono'
          Font.Style = []
          HideSelection = False
          ParentFont = False
          PopupMenu = RegExPopupMenu
          ScrollBars = ssVertical
          TabOrder = 1
          OnChange = RegExMemoChange
          ExplicitWidth = 523
        end
        object TntPanel7: TTntPanel
          Left = 0
          Top = 65
          Width = 515
          Height = 17
          Align = alBottom
          BevelOuter = bvNone
          TabOrder = 2
          DesignSize = (
            515
            17)
          object TntShape1: TTntShape
            Left = 0
            Top = -1
            Width = 514
            Height = 18
            Anchors = [akLeft, akTop, akRight, akBottom]
            Pen.Color = clHighlight
            ExplicitWidth = 522
          end
          object RegExErrorLbl: TTntLabel
            Left = 5
            Top = 1
            Width = 51
            Height = 13
            Caption = 'No error.'
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clGray
            Font.Height = -12
            Font.Name = 'MS Sans Serif'
            Font.Style = [fsBold]
            ParentFont = False
            Transparent = True
            OnDblClick = RegExErrorLblDblClick
          end
        end
        object TntPanel1: TTntPanel
          Left = 0
          Top = 82
          Width = 515
          Height = 27
          Align = alBottom
          BevelOuter = bvNone
          TabOrder = 3
          DesignSize = (
            515
            27)
          object ExecuteRegExBtn: TTntButton
            Left = 295
            Top = 6
            Width = 105
            Height = 21
            Anchors = [akTop, akRight]
            Caption = 'Execute RegEx'
            TabOrder = 0
            OnClick = ExecuteRegExBtnClick
            ExplicitLeft = 303
          end
          object ExecuteNextRegExBtn: TTntButton
            Left = 409
            Top = 6
            Width = 105
            Height = 21
            Anchors = [akTop, akRight]
            Caption = 'Execute Next'
            TabOrder = 1
            OnClick = ExecuteNextRegExBtnClick
            ExplicitLeft = 417
          end
        end
      end
    end
    object InsertPnl: TTntPanel
      Left = 0
      Top = 450
      Width = 515
      Height = 170
      Align = alBottom
      BevelOuter = bvNone
      TabOrder = 1
      ExplicitTop = 457
      ExplicitWidth = 523
      object InsertMemoPnl: TTntPanel
        Left = 0
        Top = 0
        Width = 515
        Height = 170
        Align = alClient
        BevelOuter = bvNone
        TabOrder = 0
        ExplicitWidth = 523
        object TntSplitter5: TTntSplitter
          Left = 0
          Top = 65
          Width = 515
          Height = 3
          Cursor = crVSplit
          Align = alTop
          AutoSnap = False
          ExplicitWidth = 523
        end
        object TntPanel6: TTntPanel
          Left = 0
          Top = 0
          Width = 515
          Height = 17
          Align = alTop
          Alignment = taLeftJustify
          BevelOuter = bvNone
          TabOrder = 0
          ExplicitWidth = 523
          object TriggerInsertCBox: TTntCheckBox
            Left = 0
            Top = 0
            Width = 273
            Height = 17
            Caption = 'Trigger Insert Statement'
            TabOrder = 0
            OnClick = TriggerInsertCBoxClick
          end
        end
        object InsertTemplateMemo: TTntMemo
          Left = 0
          Top = 17
          Width = 515
          Height = 48
          Align = alTop
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Bitstream Vera Sans Mono'
          Font.Style = []
          HideSelection = False
          Lines.Strings = (
            'INSERT INTO foo'
            'VALUES ();')
          ParentFont = False
          ScrollBars = ssVertical
          TabOrder = 1
          OnChange = InsertTemplateMemoChange
          OnDragDrop = InsertTemplateMemoDragDrop
          OnDragOver = InsertTemplateMemoDragOver
        end
        object InsertsMemo: TTntMemo
          Left = 0
          Top = 68
          Width = 515
          Height = 76
          Align = alClient
          Color = clBtnFace
          HideSelection = False
          TabOrder = 2
          ExplicitWidth = 523
        end
        object TntPanel9: TTntPanel
          Left = 0
          Top = 144
          Width = 515
          Height = 26
          Align = alBottom
          BevelOuter = bvNone
          TabOrder = 3
          DesignSize = (
            515
            26)
          object PreviewBtn: TTntButton
            Left = 226
            Top = 5
            Width = 72
            Height = 21
            Anchors = [akTop, akRight]
            Caption = 'Preview'
            Enabled = False
            TabOrder = 0
            OnClick = PreviewBtnClick
          end
          object StoreSQLBtn: TTntButton
            Left = 308
            Top = 5
            Width = 112
            Height = 21
            Anchors = [akTop, akRight]
            Caption = 'Store SQL to Script'
            Enabled = False
            TabOrder = 1
            OnClick = StoreSQLBtnClick
          end
          object ExecuteSQLBtn: TTntButton
            Left = 430
            Top = 5
            Width = 92
            Height = 21
            Anchors = [akTop, akRight]
            Caption = 'Execute SQL'
            Enabled = False
            TabOrder = 2
            OnClick = ExecuteSQLBtnClick
          end
        end
      end
    end
  end
  object StructureTreePnl: TTntPanel
    Left = 5
    Top = 39
    Width = 229
    Height = 620
    Align = alLeft
    BevelOuter = bvNone
    TabOrder = 1
    object StructureVT: TVirtualStringTree
      Left = 0
      Top = 17
      Width = 229
      Height = 577
      Align = alClient
      DragMode = dmAutomatic
      DragType = dtVCL
      Header.AutoSizeIndex = 0
      Header.Font.Charset = DEFAULT_CHARSET
      Header.Font.Color = clWindowText
      Header.Font.Height = -11
      Header.Font.Name = 'MS Sans Serif'
      Header.Font.Style = []
      Header.Options = [hoAutoResize, hoColumnResize, hoDrag]
      PopupMenu = StructureVTPopupMenu
      TabOrder = 0
      TreeOptions.MiscOptions = [toAcceptOLEDrop, toEditable, toFullRepaintOnResize, toInitOnSave, toToggleOnDblClick, toWheelPanning]
      OnDblClick = StructureVTDblClick
      OnEditing = StructureVTEditing
      OnFocusChanged = StructureVTFocusChanged
      OnFocusChanging = StructureVTFocusChanging
      OnFreeNode = StructureVTFreeNode
      OnGetText = StructureVTGetText
      OnPaintText = StructureVTPaintText
      OnInitChildren = StructureVTInitChildren
      OnInitNode = StructureVTInitNode
      OnNewText = StructureVTNewText
      ExplicitHeight = 584
      Columns = <
        item
          Position = 0
          Width = 229
          WideText = 'Parse Structure'
        end>
    end
    object TntPanel4: TTntPanel
      Left = 0
      Top = 0
      Width = 229
      Height = 17
      Align = alTop
      Alignment = taLeftJustify
      BevelOuter = bvNone
      Caption = 'Parse Structure'
      TabOrder = 1
    end
    object FoundFuncPnl: TTntPanel
      Left = 0
      Top = 594
      Width = 229
      Height = 26
      Align = alBottom
      BevelOuter = bvNone
      TabOrder = 2
      DesignSize = (
        229
        26)
      object CreateNestedExpBtn: TTntButton
        Left = 89
        Top = 5
        Width = 141
        Height = 21
        Anchors = [akTop, akRight]
        Caption = 'Create Nested Expression'
        Enabled = False
        TabOrder = 0
        OnClick = CreateNestedExpBtnClick
      end
    end
  end
  object TntPanel8: TTntPanel
    Left = 0
    Top = 0
    Width = 758
    Height = 34
    Align = alTop
    BevelOuter = bvNone
    TabOrder = 2
    ExplicitWidth = 766
    object TntBevel1: TTntBevel
      Left = 0
      Top = 32
      Width = 766
      Height = 2
      Align = alBottom
      Shape = bsTopLine
    end
    object LoadFileBtn: TTntSpeedButton
      Left = 199
      Top = 5
      Width = 110
      Height = 22
      Caption = 'Load Source Text'
      OnClick = LoadFileBtnClick
    end
    object ClearBtn: TTntSpeedButton
      Left = 134
      Top = 5
      Width = 57
      Height = 22
      Caption = 'Clear'
      OnClick = ClearBtnClick
    end
    object SaveBtn: TTntSpeedButton
      Left = 70
      Top = 5
      Width = 57
      Height = 22
      Caption = 'Save'
      OnClick = SaveBtnClick
    end
    object LoadBtn: TTntSpeedButton
      Left = 6
      Top = 5
      Width = 57
      Height = 22
      Caption = 'Load'
      OnClick = LoadBtnClick
    end
    object CaseInsensitiveCBox: TTntCheckBox
      Left = 346
      Top = 8
      Width = 97
      Height = 17
      Caption = 'Case Insensitve'
      Checked = True
      State = cbChecked
      TabOrder = 0
      OnClick = CaseInsensitiveCBoxClick
    end
    object MultilineStringCBox: TTntCheckBox
      Left = 462
      Top = 8
      Width = 97
      Height = 17
      Caption = 'Multiline String'
      Checked = True
      State = cbChecked
      TabOrder = 1
      OnClick = CaseInsensitiveCBoxClick
    end
  end
  object SourceTextPopupMenu: TTntPopupMenu
    Left = 649
    Top = 255
    object ExtractRegExMI: TTntMenuItem
      Caption = 'Extract RegEx'
      object ExtractTextandNumbersMI: TTntMenuItem
        Caption = 'Extract Text and Numbers'
        OnClick = ExtractTextandNumbersMIClick
      end
      object ExtractNumbersMI: TTntMenuItem
        Caption = 'Extract Numbers'
        OnClick = ExtractNumbersMIClick
      end
      object ExtractTextMI: TTntMenuItem
        Caption = 'Extract Text'
        OnClick = ExtractTextMIClick
      end
      object ExtractStopwordMI: TTntMenuItem
        Caption = 'Anything But Selected Chars'
        OnClick = ExtractStopwordMIClick
      end
      object N1: TTntMenuItem
        Caption = '-'
      end
      object AlwaysAssumeMoreThanOneCharMI: TTntMenuItem
        Caption = 'Always Assume More Than One Char'
        Checked = True
        RadioItem = True
        OnClick = AlwaysAssumeMoreThanOneCharMIClick
      end
      object AllowEmptyMatchesMI: TTntMenuItem
        Caption = 'Allow Empty Matches'
        RadioItem = True
        OnClick = AlwaysAssumeMoreThanOneCharMIClick
      end
      object MatchExactCountMI: TTntMenuItem
        Caption = 'Match Exact Count'
        RadioItem = True
        OnClick = AlwaysAssumeMoreThanOneCharMIClick
      end
    end
  end
  object StructureVTPopupMenu: TPopupMenu
    OnPopup = StructureVTPopupMenuPopup
    Left = 109
    Top = 139
    object RemoveRegExMI: TMenuItem
      Caption = 'Remove RegEx'
      OnClick = RemoveRegExMIClick
    end
    object N2: TMenuItem
      Caption = '-'
    end
    object CreateNestedExpressionMI: TMenuItem
      Caption = 'Create Nested Expression'
      OnClick = CreateNestedExpBtnClick
    end
  end
  object RegExPopupMenu: TTntPopupMenu
    Left = 643
    Top = 79
    object CopyforCcodeMI: TTntMenuItem
      Caption = 'Copy for C code'
      OnClick = CopyforCcodeMIClick
    end
    object PasteCcodeMI: TTntMenuItem
      Caption = 'Paste C code'
      OnClick = PasteCcodeMIClick
    end
  end
end