You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Docs/Design/FileFormats/config.html
+79-1Lines changed: 79 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -315,7 +315,7 @@ <h4>
315
315
</dt>
316
316
<dd>
317
317
<divclass="half-spaced">
318
-
Once entry for each search directory configured for the compiler where <codeclass="key"<em>XXX</code> ranges from <codeclass="value">0</code> to <codeclass="key">SearchDirCount</code> - <codeclass="value">1</code>.
318
+
One entry for each search directory configured for the compiler where <codeclass="key"<em>XXX</code> ranges from <codeclass="value">0</code> to <codeclass="key">SearchDirCount</code> - <codeclass="value">1</code>.
319
319
</div>
320
320
<divclass="half-spaced">
321
321
Each entry contains a fully specified directory path.
@@ -1230,6 +1230,84 @@ <h4>
1230
1230
</dl>
1231
1231
</div>
1232
1232
1233
+
<h4>
1234
+
[UnitList] section
1235
+
</h4>
1236
+
1237
+
<p>
1238
+
Records the names of the units that appear in the <em>Units</em> check box list on the <em>References</em> tab of the <em>Edit Snippet</em> dialoogue box.
1239
+
</p>
1240
+
1241
+
<p>
1242
+
Name / Value pairs:
1243
+
</p>
1244
+
1245
+
<dlclass="indent">
1246
+
<dt>
1247
+
<codeclass="key">Count</code> (Integer)
1248
+
</dt>
1249
+
<dd>
1250
+
The number of units in the list.
1251
+
</dd>
1252
+
<dt>
1253
+
<codeclass="key">Unit<em>XXX</em></code> (String)
1254
+
</dt>
1255
+
<dd>
1256
+
One entry for each unit, where <codeclass="key">XXX</code> range from <codeclass="value">0</code> to <codeclass="key">Count</code> - <codeclass="value">1</code>.
1257
+
</dd>
1258
+
</dl>
1259
+
1260
+
<p>
1261
+
Note that some "reserved" unit names that always appear in the list box are not recorded in settings. They are:
1262
+
</p>
1263
+
1264
+
<ulclass="unspaced">
1265
+
<li>
1266
+
<var>SysUtils</var>
1267
+
</li>
1268
+
<li>
1269
+
<var>Classes</var>
1270
+
</li>
1271
+
<li>
1272
+
<var>Windows</var>
1273
+
</li>
1274
+
<li>
1275
+
<var>Graphics</var>
1276
+
</li>
1277
+
</ul>
1278
+
1279
+
<p>
1280
+
If this section is missing or has no units listed then CodeSnip defaults to using the following units in addition to the "reserved" units:
1281
+
</p>
1282
+
1283
+
<ulclass="unspaced">
1284
+
<li>
1285
+
<var>Controls</var>
1286
+
</li>
1287
+
<li>
1288
+
<var>Messages</var>
1289
+
</li>
1290
+
<li>
1291
+
<var>Types</var>
1292
+
</li>
1293
+
<li>
1294
+
<var>ShlObj</var>
1295
+
</li>
1296
+
<li>
1297
+
<var>ShellAPI</var>
1298
+
</li>
1299
+
<li>
1300
+
<var>ActiveX</var>
1301
+
</li>
1302
+
<li>
1303
+
<var>Math</var>
1304
+
</li>
1305
+
</ul>
1306
+
1307
+
<p>
1308
+
These default unit names will be included in this section the first time it is written.
0 commit comments