File: frClarifyIndent.lfm

package info (click to toggle)
lazarus 2.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 214,460 kB
  • sloc: pascal: 1,862,622; xml: 265,709; cpp: 56,595; sh: 3,008; java: 609; makefile: 535; perl: 297; sql: 222; ansic: 137
file content (259 lines) | stat: -rw-r--r-- 7,263 bytes parent folder | download | duplicates (10)
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
inherited fClarifyIndent: TfClarifyIndent
  Height = 347
  Width = 430
  ClientHeight = 347
  ClientWidth = 430
  TabOrder = 0
  DesignLeft = 737
  DesignTop = 299
  object Label2: TLabel[0]
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = edtIndentSpaces
    AnchorSideTop.Side = asrCenter
    Left = 6
    Height = 14
    Top = 9
    Width = 118
    BorderSpacing.Left = 6
    Caption = 'Block indentation spaces'
    ParentColor = False
  end
  object edtIndentSpaces: TSpinEdit[1]
    AnchorSideLeft.Control = Label2
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = Owner
    Left = 130
    Height = 21
    Top = 6
    Width = 50
    BorderSpacing.Around = 6
    MaxValue = 12
    TabOrder = 0
  end
  object gbOptions: TGroupBox[2]
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = edtIndentSpaces
    AnchorSideTop.Side = asrBottom
    AnchorSideRight.Control = Owner
    AnchorSideRight.Side = asrBottom
    AnchorSideBottom.Control = Owner
    AnchorSideBottom.Side = asrBottom
    Left = 6
    Height = 308
    Top = 33
    Width = 418
    Anchors = [akTop, akLeft, akRight, akBottom]
    BorderSpacing.Around = 6
    Caption = 'Options'
    ClientHeight = 308
    ClientWidth = 418
    TabOrder = 1
    object cbIndentBeginEnd: TCheckBox
      AnchorSideLeft.Control = gbOptions
      AnchorSideTop.Control = eIndentBeginEndSpaces
      AnchorSideTop.Side = asrCenter
      Left = 6
      Height = 17
      Top = 8
      Width = 232
      BorderSpacing.Left = 6
      BorderSpacing.Bottom = 6
      Caption = 'Extra indent for begin/end inside procedures'
      OnClick = cbIndentBeginEndClick
      TabOrder = 0
    end
    object eIndentBeginEndSpaces: TSpinEdit
      AnchorSideTop.Control = gbOptions
      AnchorSideRight.Control = gbOptions
      AnchorSideRight.Side = asrBottom
      Left = 348
      Height = 21
      Top = 6
      Width = 50
      Anchors = [akTop, akRight]
      BorderSpacing.Top = 6
      BorderSpacing.Right = 20
      MaxValue = 10
      MinValue = -10
      TabOrder = 1
    end
    object cbHasFirstLevelIndent: TCheckBox
      AnchorSideLeft.Control = gbOptions
      AnchorSideTop.Control = eFirstLevelIndent
      AnchorSideTop.Side = asrCenter
      Left = 6
      Height = 17
      Top = 35
      Width = 158
      BorderSpacing.Left = 6
      BorderSpacing.Bottom = 6
      Caption = 'Different indent for first level'
      OnClick = cbHasFirstLevelIndentClick
      TabOrder = 2
    end
    object eFirstLevelIndent: TSpinEdit
      AnchorSideTop.Control = eIndentBeginEndSpaces
      AnchorSideTop.Side = asrBottom
      AnchorSideRight.Control = gbOptions
      AnchorSideRight.Side = asrBottom
      Left = 348
      Height = 21
      Top = 33
      Width = 50
      Anchors = [akTop, akRight]
      BorderSpacing.Top = 6
      BorderSpacing.Right = 20
      TabOrder = 3
    end
    object cbKeepWithInProc: TCheckBox
      AnchorSideLeft.Control = gbOptions
      AnchorSideTop.Control = cbHasFirstLevelIndent
      AnchorSideTop.Side = asrBottom
      Left = 6
      Height = 17
      Top = 58
      Width = 260
      BorderSpacing.Left = 6
      BorderSpacing.Top = 6
      BorderSpacing.Right = 6
      BorderSpacing.Bottom = 6
      Caption = 'Keep single-line comments with code in procedures'
      TabOrder = 4
    end
    object cbKeepWithInGlobals: TCheckBox
      AnchorSideLeft.Control = gbOptions
      AnchorSideTop.Control = cbKeepWithInProc
      AnchorSideTop.Side = asrBottom
      Left = 6
      Height = 17
      Top = 81
      Width = 239
      BorderSpacing.Left = 6
      BorderSpacing.Top = 6
      BorderSpacing.Right = 6
      BorderSpacing.Bottom = 6
      Caption = 'Keep single-line comments with code in globals'
      TabOrder = 5
    end
    object cbKeepWithInClassDef: TCheckBox
      AnchorSideLeft.Control = gbOptions
      AnchorSideTop.Control = cbKeepWithInGlobals
      AnchorSideTop.Side = asrBottom
      Left = 6
      Height = 17
      Top = 104
      Width = 281
      BorderSpacing.Left = 6
      BorderSpacing.Top = 6
      BorderSpacing.Right = 6
      BorderSpacing.Bottom = 6
      Caption = 'Keep single-line comments with code in class definitions'
      TabOrder = 6
    end
    object cbKeepWithElsewhere: TCheckBox
      AnchorSideLeft.Control = gbOptions
      AnchorSideTop.Control = cbKeepWithInClassDef
      AnchorSideTop.Side = asrBottom
      Left = 6
      Height = 17
      Top = 127
      Width = 244
      BorderSpacing.Left = 6
      BorderSpacing.Top = 6
      BorderSpacing.Right = 6
      BorderSpacing.Bottom = 6
      Caption = 'Keep single-line comments with code elsewhere'
      TabOrder = 7
    end
    object cbIndentIfElse: TCheckBox
      AnchorSideLeft.Control = gbOptions
      AnchorSideTop.Control = cbKeepWithElsewhere
      AnchorSideTop.Side = asrBottom
      Left = 6
      Height = 17
      Top = 150
      Width = 170
      BorderSpacing.Left = 6
      BorderSpacing.Top = 6
      BorderSpacing.Right = 6
      BorderSpacing.Bottom = 6
      Caption = 'Extra Indent for If...Else blocks'
      TabOrder = 8
    end
    object cbIndentCaseElse: TCheckBox
      AnchorSideLeft.Control = gbOptions
      AnchorSideTop.Control = cbIndentIfElse
      AnchorSideTop.Side = asrBottom
      Left = 6
      Height = 17
      Top = 173
      Width = 186
      BorderSpacing.Left = 6
      BorderSpacing.Top = 6
      BorderSpacing.Right = 6
      BorderSpacing.Bottom = 6
      Caption = 'Extra Indent for Case...Else blocks'
      TabOrder = 9
    end
    object cbIndentLibraryProcs: TCheckBox
      AnchorSideLeft.Control = gbOptions
      AnchorSideTop.Control = cbIndentCaseElse
      AnchorSideTop.Side = asrBottom
      Left = 6
      Height = 17
      Top = 196
      Width = 168
      BorderSpacing.Left = 6
      BorderSpacing.Top = 6
      BorderSpacing.Right = 6
      BorderSpacing.Bottom = 6
      Caption = 'Indent for procedures in library'
      TabOrder = 10
    end
    object cbIndentProcedureBody: TCheckBox
      AnchorSideLeft.Control = gbOptions
      AnchorSideTop.Control = cbIndentLibraryProcs
      AnchorSideTop.Side = asrBottom
      Left = 6
      Height = 17
      Top = 219
      Width = 146
      BorderSpacing.Left = 6
      BorderSpacing.Top = 6
      BorderSpacing.Right = 6
      BorderSpacing.Bottom = 6
      Caption = 'Indent for procedure body'
      TabOrder = 11
    end
    object cbIndentNestedTypes: TCheckBox
      AnchorSideLeft.Control = gbOptions
      AnchorSideTop.Control = cbIndentProcedureBody
      AnchorSideTop.Side = asrBottom
      Left = 6
      Height = 17
      Top = 242
      Width = 116
      BorderSpacing.Left = 6
      BorderSpacing.Top = 6
      BorderSpacing.Right = 6
      BorderSpacing.Bottom = 6
      Caption = 'Indent nested types'
      TabOrder = 12
    end
    object cbIndentVarAndConstInClass: TCheckBox
      AnchorSideLeft.Control = gbOptions
      AnchorSideTop.Control = cbIndentNestedTypes
      AnchorSideTop.Side = asrBottom
      Left = 6
      Height = 17
      Top = 265
      Width = 156
      BorderSpacing.Left = 6
      BorderSpacing.Top = 6
      BorderSpacing.Right = 6
      BorderSpacing.Bottom = 6
      Caption = 'Indent var and const in class'
      TabOrder = 13
    end
  end
end