-
-
Notifications
You must be signed in to change notification settings - Fork 584
Expand file tree
/
Copy pathsearchreplace.dfm
More file actions
245 lines (245 loc) · 5.21 KB
/
Copy pathsearchreplace.dfm
File metadata and controls
245 lines (245 loc) · 5.21 KB
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
object frmSearchReplace: TfrmSearchReplace
Left = 0
Top = 0
BorderIcons = []
Caption = 'Search and replace text'
ClientHeight = 311
ClientWidth = 434
Color = clBtnFace
Constraints.MinHeight = 320
Constraints.MinWidth = 400
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
Position = poOwnerFormCenter
OnClose = FormClose
OnCreate = FormCreate
OnShow = FormShow
DesignSize = (
434
311)
TextHeight = 14
object lblSearch: TLabel
Left = 8
Top = 40
Width = 60
Height = 13
Caption = '&Text to find:'
FocusControl = comboSearch
end
object lblReplaceHint: TLabel
Left = 90
Top = 87
Width = 259
Height = 13
Anchors = [akLeft, akTop, akRight]
Caption = 'Replacement can have \n for new lines and \t for tabs'
Enabled = False
end
object lblSearchIn: TLabel
Left = 8
Top = 13
Width = 48
Height = 13
Caption = 'Search in:'
end
object btnCancel: TButton
Left = 327
Top = 278
Width = 100
Height = 25
Anchors = [akRight, akBottom]
Cancel = True
Caption = 'Cancel'
ModalResult = 2
TabOrder = 12
end
object btnReplaceAll: TButton
Left = 221
Top = 278
Width = 100
Height = 25
Anchors = [akRight, akBottom]
Caption = 'Replace &all'
ModalResult = 12
TabOrder = 11
OnClick = DoSearchReplace
end
object chkReplace: TCheckBox
Left = 8
Top = 64
Width = 73
Height = 17
Caption = '&Replace:'
TabOrder = 3
OnClick = chkReplaceClick
end
object comboSearch: TComboBox
Left = 90
Top = 37
Width = 305
Height = 21
Anchors = [akLeft, akTop, akRight]
TabOrder = 1
Text = 'comboSearch'
TextHint = 'Enter text to find ...'
OnExit = comboSearchReplaceExit
end
object comboReplace: TComboBox
Left = 90
Top = 62
Width = 305
Height = 21
Anchors = [akLeft, akTop, akRight]
Enabled = False
TabOrder = 4
Text = 'comboReplace'
TextHint = 'Enter replacement pattern ...'
OnExit = comboSearchReplaceExit
end
object grpOptions: TGroupBox
Left = 8
Top = 109
Width = 418
Height = 69
Anchors = [akLeft, akTop, akRight]
Caption = '&Options'
TabOrder = 6
object chkCaseSensitive: TCheckBox
Left = 12
Top = 18
Width = 166
Height = 17
Caption = 'Case sensitive'
TabOrder = 0
end
object chkWholeWords: TCheckBox
Left = 12
Top = 41
Width = 166
Height = 17
Caption = 'Whole words'
TabOrder = 1
end
object chkRegularExpression: TCheckBox
Left = 184
Top = 18
Width = 177
Height = 17
Caption = 'Regular expression'
ParentShowHint = False
ShowHint = True
TabOrder = 2
OnClick = ValidateControls
end
object chkPromptOnReplace: TCheckBox
Left = 184
Top = 41
Width = 177
Height = 17
Caption = 'Prompt on replace'
TabOrder = 3
end
end
object grpDirection: TRadioGroup
Left = 8
Top = 184
Width = 120
Height = 88
Anchors = [akLeft, akTop, akBottom]
Caption = '&Direction'
ItemIndex = 0
Items.Strings = (
'&Forward'
'&Backward')
TabOrder = 7
end
object grpOrigin: TRadioGroup
Left = 134
Top = 184
Width = 120
Height = 88
Anchors = [akLeft, akTop, akBottom]
Caption = 'Or&igin'
ItemIndex = 1
Items.Strings = (
'From cursor'
'Entire scope')
TabOrder = 8
end
object grpScope: TRadioGroup
Left = 260
Top = 184
Width = 166
Height = 88
Anchors = [akLeft, akTop, akRight, akBottom]
Caption = '&Scope'
ItemIndex = 0
Items.Strings = (
'Global'
'Selection')
TabOrder = 9
end
object btnOK: TButton
Left = 115
Top = 278
Width = 100
Height = 25
Anchors = [akRight, akBottom]
Caption = 'OK'
Default = True
ModalResult = 1
TabOrder = 10
OnClick = DoSearchReplace
end
object comboSearchIn: TComboBox
Left = 90
Top = 10
Width = 336
Height = 21
Style = csDropDownList
Anchors = [akLeft, akTop, akRight]
TabOrder = 0
end
object btnSearchHints: TButton
Left = 401
Top = 35
Width = 25
Height = 25
Anchors = [akTop, akRight]
Caption = #9207
DropDownMenu = popupSearchHints
TabOrder = 2
OnClick = btnWithDropDownClick
end
object btnReplaceHints: TButton
Left = 401
Top = 60
Width = 25
Height = 25
Anchors = [akTop, akRight]
Caption = #9207
DropDownMenu = popupReplaceHints
Enabled = False
TabOrder = 5
OnClick = btnWithDropDownClick
end
object SynEditSearch1: TSynEditSearch
Left = 24
Top = 248
end
object SynEditRegexSearch1: TSynEditRegexSearch
Left = 120
Top = 248
end
object popupSearchHints: TPopupMenu
Left = 328
Top = 24
end
object popupReplaceHints: TPopupMenu
Left = 328
Top = 72
end
end