Menu

[r2016]: / trunk / Docs / FileFormats / config.html  Maximize  Restore  History

Download this file

1004 lines (912 with data), 22.1 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
 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
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
* CodeSnip File Format Documentation: Configuration Files
*
* $Rev$
* $Date$
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>
CodeSnip File Format Documentation - Configuration Files
</title>
<link
rel="stylesheet"
type="text/css"
media="screen"
href="main.css"
/>
</head>
<body>
<div class="title">
<div>
DelphiDabbler CodeSnip
</div>
<div class="subtitle">
File Format Documentation
</div>
</div>
<h1>
Configuration Files
</h1>
<p class="todo">
<strong>TODO:</strong>
Add list of links to sections of this document and to other related documents.
</p>
<h2>
Introduction
</h2>
<p>
CodeSnip uses two config files &ndash; one system wide application file named
<code>Common.config</code> and another per-user file named
<code>User.config</code>. There will be a different one of the latter for each
user account on the system where CodeSnip is used.
</p>
<p>
Config files use the standard .ini file format and are written and read using
Windows API calls.
</p>
<h2>
Encoding
</h2>
<p>
From CodeSnip v4 config files are little endian Unicode text files with a byte
order mark. This encoding is used because the international support is
required and because the Windows API, which is used to read and write the
files, understands this file format.
</p>
<p>
On earlier versions of CodeSnip the config files were ANSI text files using
the system's default encoding. The installer takes care of converting the
older files to Unicode.
</p>
<h2>
File Format
</h2>
<h3>
Common Config File
</h3>
<p>
This file stores information about CodeSnip that is common to all users. There
is just one file named <code>Common.config</code> that is stored in the
<code>%ProgramData%\DelphiDabbler\CodeSnip.4</code> directory.
</p>
<p>
There have been several versions of this file. The current one is version 6.
The change to version 6 came with CodeSnip v4 and the change to Unicode
encoding.
</p>
<p>
The file is in INI file format. It has the following sections.
</p>
<h4>
[Description] section
</h4>
<p>
Describes the current installation.
</p>
<p>
Name / Value pairs:
</p>
<dl class="indent">
<dt>
<strong>Key</strong> (String)
</dt>
<dd>
Unique application ID. String of 32 hex digits.
</dd>
<dt>
<strong>RegCode</strong> (String)
</dt>
<dd>
Registration code. String of 32 hex digits. May be empty string or missing
if application not registered.
</dd>
<dt>
<strong>RegName</strong> (String)
</dt>
<dd>
Name of person who registered program. May be empty string or missing if
application not registered.
</dd>
<dt>
<strong>Version</strong> (String)
</dt>
<dd>
Version of installed program as dotted quad string.
</dd>
</dl>
<h4>
[IniFile] section
</h4>
<p>
Provides information about the config file itself.
</p>
<p>
Name / Value pairs:
</p>
<dl class="indent">
<dt>
<strong>Version</strong> (Integer)
</dt>
<dd>
<div class="half-spaced">
Version number of file. Incremented whenever the config file format
changes. If this section or this value is missing then the default value
is 1. The installer takes care of converting earlier file versions and
stamping config file with the correct version number.
</div>
<div class="half-spaced">
Current value is <strong>6</strong>.
</div>
</dd>
</dl>
<h3>
Per User Config File
</h3>
<p>
This file records configuration information that is unique to each user of the
application. Some sections correspond to user preferences while others record
details of previous operations or the layout of the GUI. The file is named
<code>User.config</code> and is stored in the logged on user's
<code>%AppData%\DelphiDabbler\CodeSnip.4</code> directory.
</p>
<p>
There have been several versions of this file. The current one is version 8.
The change to version 8 came with CodeSnip v4 and the change to Unicode
encoding.</p>
<p>
The file is in INI file format. It has the following sections.
</p>
<h4>
[Cmp:<em>XXX</em>] sections
</h4>
<p>
There is one of these section for each compiler known to CodeSnip. Each
section describes how CodeSnip should use the compiler, or indicates that the
compiler is not available.
</p>
<p>
The actual name of a section is found by replacing <em>XXX</em> with one of
the following values:
</p>
<ul>
<li>
<em>D2</em> &ndash; Delphi 2
</li>
<li>
<em>D3</em> &ndash; Delphi 3
</li>
<li>
<em>D4</em> &ndash; Delphi 4
</li>
<li>
<em>D5</em> &ndash; Delphi 5
</li>
<li>
<em>D6</em> &ndash; Delphi 6
</li>
<li>
<em>D2005w32</em> &ndash; Windows 32 personality of Delphi 2005
</li>
<li>
<em>D2006w32</em> &ndash; Windows 32 personality of Delphi 2006
</li>
<li>
<em>D2007</em> &ndash; Windows 32 personality of Delphi 2007
</li>
<li>
<em>D2009w32</em> &ndash; Windows 32 personality of Delphi 2009
</li>
<li>
<em>D2010</em> &ndash; Delphi 2010
</li>
<li>
<em>DXE</em> &ndash; Delphi XE
</li>
<li>
<em>DXE2</em> &ndash; Delphi XE2
</li>
<li>
<em>FPC</em> &ndash; Free Pascal
</li>
</ul>
<p>
Name / Value pairs (same for all sections):
</p>
<dl class="indent">
<dt>
<strong>ExePath</strong> (String)
</dt>
<dd>
Path to compiler. Empty string if compiler not configured.
</dd>
<dt>
<strong>Prefix0</strong> (String)
</dt>
<dd>
Double quoted prefix to text output by the compiler to indicate fatal
compiler errors. If not present the default is &quot;Fatal: &quot;.
</dd>
<dt>
<strong>Prefix1</strong> (String)
</dt>
<dd>
Double quoted prefix to text output by the compiler to indicate standard
compiler errors. If not present the default is &quot;Error: &quot;.
</dd>
<dt>
<strong>Prefix2</strong> (String)
</dt>
<dd>
Double quoted prefix to text output by the compiler to indicate warnings. If
not present the default is &quot;Warning: &quot;.
</dd>
<dt>
<strong>Switches</strong> (String)
</dt>
<dd>
Comma separated list of compiler switches. Empty string value &rArr; use
default switches for compiler. A missing value is the same as an empty
string value.
</dd>
<dt>
<strong>SearchDirCount</strong> (Integer)
</dt>
<dd>
Count of number of search directories configured for compiler.
</dd>
<dt>
<strong>SearchDir<em>XXX</em></strong> (String)
</dt>
<dd>
<div class="half-spaced">
Once entry for each search directory configured for compiler where
<em>XXX</em> ranges from 0 to <strong>SearchDirCount</strong> - 1.
</div>
<div class="half-spaced">
Each entry contains a fully specified directory path.
</div>
</dd>
</dl>
<h4>
[FindCompiler] section
</h4>
<p>
Provides information about the last compiler search that was run.
</p>
<p>
Name / Value pairs:
</p>
<dl class="indent">
<dt>
<strong>D2</strong> (Boolean)
</dt>
<dd>
Indicates whether Delphi 2 was included in search.
</dd>
<dt>
<strong>D3</strong> (Boolean)
</dt>
<dd>
Indicates whether Delphi 3 was included in search.
</dd>
<dt>
<strong>D4</strong> (Boolean)
</dt>
<dd>
Indicates whether Delphi 4 was included in search.
</dd>
<dt>
<strong>D5</strong> (Boolean)
</dt>
<dd>
Indicates whether Delphi 5 was included in search.
</dd>
<dt>
<strong>D6</strong> (Boolean)
</dt>
<dd>
Indicates whether Delphi 6 was included in search.
</dd>
<dt>
<strong>D7</strong> (Boolean)
</dt>
<dd>
Indicates whether Delphi 7 was included in search.
</dd>
<dt>
<strong>D2005w32</strong> (Boolean)
</dt>
<dd>
Indicates whether the Win32 personality of Delphi 2005 was included in
search.
</dd>
<dt>
<strong>D2006w32</strong> (Boolean)
</dt>
<dd>
Indicates whether the Win32 personality of Delphi 2006 was included in
search.
</dd>
<dt>
<strong>D2007</strong> (Boolean)
</dt>
<dd>
Indicates whether the Win32 personality of Delphi 2007 was included in
search.
</dd>
<dt>
<strong>D2009w32</strong> (Boolean)
</dt>
<dd>
Indicates whether the Win32 personality of Delphi 2009 was included in
search.
</dd>
<dt>
<strong>D2010</strong> (Boolean)
</dt>
<dd>
Indicates whether Delphi 2010 was included in search.
</dd>
<dt>
<strong>DXE</strong> (Boolean)
</dt>
<dd>
Indicates whether Delphi XE was included in search.
</dd>
<dt>
<strong>DXE2</strong> (Boolean)
</dt>
<dd>
Indicates whether Delphi XE2 was included in search.
</dd>
<dt>
<strong>FPC</strong> (Boolean)
</dt>
<dd>
Indicates whether Free Pascal was included in search.
</dd>
<dt>
<strong>Option</strong> (Integer)
</dt>
<dd>
Code that describes the kind of compilation result to be searched for: 0
&rArr; snippet compiles OK; 1 &rArr; snippet compiles without warnings; 2
&rArr; snippet compiles with warning(s); 3 &rArr; snippet fails to compile;
4 &rArr; snippet not tested.
</dd>
<dt>
<dt>
<strong>Logic</strong> (Integer)
</dt>
<dd>
Code that describes search logic to use: 0 &rArr; &quot;and&quot;; 1 &rArr;
&quot;or&quot;.
</dd>
</dl>
<h4>
[FindText] section
</h4>
<p>
Provides information about last the last text search that was run and records
a history of search terms.
</p>
<p>
Name / Value pairs:
</p>
<dl class="indent">
<dt>
<strong>HistoryCount</strong> (Integer)
</dt>
<dd>
Count of items in search term history.
</dd>
<dt>
<strong>History<em>XXX</em></strong> (String)
</dt>
<dd>
<div class="half-spaced">
One entry for each search term in history where <em>XXX</em> ranges from 0
to <strong>HistoryCount</strong> - 1.
</div>
<div class="half-spaced">
Each entry contains one or more spaced separated search words.
</div>
</dd>
<dt>
<strong>MatchCase</strong> (Boolean)
</dt>
<dd>
One of the search options. Indicates whether searches are case sensitive.
</dd>
<dt>
<strong>WholeWord</strong> (Boolean)
</dt>
<dd>
One of the search options. Indicates whether searches match whole words
only.
</dd>
<dt>
<strong>Logic</strong> (Integer)
</dt>
<dd>
Code that describes search logic to use: 0 &rArr; &quot;and&quot;; 1 &rArr;
&quot;or&quot;.
</dd>
</dl>
<h4>
[FindXRefs] section
</h4>
<p>
Provides information about the last snippet cross reference search that was
run.
</p>
<p>
Name / Value pairs:
</p>
<dl class="indent">
<dt>
<strong>IncludeRoutine</strong> (Boolean)
</dt>
<dd>
Indicates whether to include the snippet for which the search is being
performed in the search result.
</dd>
<dt>
<strong>Required</strong> (Boolean)
</dt>
<dd>
Indicates whether to include snippets that are required to compile the
selected snippet are included in search result.
</dd>
<dt>
<strong>RequiredRecurse</strong> (Boolean)
</dt>
<dd>
Indicates whether to recurse required snippets to search for required
snippets of each required snippet and so on. Ignored if
<strong>Required</strong> = False.
</dd>
<dt>
<strong>SeeAlso</strong> (Boolean)
</dt>
<dd>
Indicates whether to include snippets that are cross referenced by the
selected snippet in search results.
</dd>
<dt>
<strong>SeeAlsoRecurse</strong> (Boolean)
</dt>
<dd>
Indicates whether to recurse cross-referenced snippets to search for their
own cross references and so on. Ignored if <strong>SeeAlso</strong> = False.
</dd>
</dl>
<h4>
[IniFile] section
</h4>
<p>
Provides information about the config file itself.
</p>
<p>
Name / Value pairs:
</p>
<dl class="indent">
<dt>
<strong>Version</strong> (Integer)
</dt>
<dd>
<div class="half-spaced">
Version number of file. Incremented whenever the config file format
changes. If this section or this value is missing then the default value
is 1. The installer takes care of converting earlier file versions and
stamping config file with the correct version number.
</div>
<div class="half-spaced">
Current value is <strong>8</strong>.
</div>
</dd>
</dl>
<h4>
[MainWindow] section
</h4>
<p>
Records the state and size of the main window and some of its UI controls.
</p>
<p>
Name / Value pairs:
</p>
<dl class="indent">
<dt>
<strong>Left</strong> (Integer)
</dt>
<dd>
Location of left side of window on screen in pixels.
</dd>
<dt>
<strong>Top</strong> (Integer)
</dt>
<dd>
Location of top of window on screen in pixels.
</dd>
<dt>
<strong>Width</strong> (Integer)
</dt>
<dd>
Width of window in pixels.
</dd>
<dt>
<strong>Height</strong> (Integer)
</dt>
<dd>
Height of window in pixels.
</dd>
<dt>
<strong>State</strong> (Integer)
</dt>
<dd>
Value of that describes state of window: 0 &rArr; normal state; 1 &rArr;
minimized; 2 &rArr; maximized.
</dd>
<dt>
<strong>SplitterPos</strong> (Integer)
</dt>
<dd>
Position of vertical splitter control in main window, in pixels from left of
window client area.
</dd>
<dt>
<strong>OverviewTab</strong> (Integer)
</dt>
<dd>
Index of selected tab in overview pane.
</dd>
<dt>
<strong>DetailTab</strong> (Integer)
</dt>
<dd>
Unused. Will only be present if this config file was copied from an earlier
config file version by the program installer. This value is neither read nor
written by CodeSnip v4 and later.
</dd>
</dl>
<h4>
[Prefs:CodeGen] section
</h4>
<p>
Stores source code generation preferences. Used in test compilations or when
generating user defined units.
</p>
<p>
Name / Value pairs:
</p>
<dl class="indent">
<dt>
<strong>SwitchOffWarnings</strong> (Boolean)
</dt>
<dd>
Flag indicating whether directives are emitted to switch off specified
warnings.
</dd>
<dt>
<strong>WarningCount</strong> (Integer)
</dt>
<dd>
Number of warnings supported.
</dd>
<dt>
<strong>Warning<em>XXX</em>.Symbol</strong> (String).
</dt>
<dd>
<div class="half-spaced">
One entry for each supported warning where <em>XXX</em> ranges from 0 to
<strong>WarningCount</strong> - 1.
</div>
<div class="half-spaced">
Each entry contains the symbol representing a warning as used in Delphi's
$WARN directive.
</div>
</dd>
<dt>
<strong>Warning<em>XXX</em>.MinCompiler</strong> (Float)
</dt>
<dd>
<div class="half-spaced">
One entry for each supported warning where <em>XXX</em> ranges from 0 to
<strong>WarningCount</strong> - 1.
</div>
<div class="half-spaced">
Records the earliest version of Delphi that supports the warning. This
version number is a decimal value containing compiler version number as
specified by Delphi's <var>CompilerVersion</var> constant. Must be 14.0
(Delphi 6) or higher.
</div>
</dd>
</dl>
<h4>
[Prefs:General] section
</h4>
<p>
Stores general application preferences.
</p>
<p>
Name / Value pairs:
</p>
<dl class="indent">
<dt>
<strong>Units</strong> (Integer)
</dt>
<dd>
A code that records the units of measurement used by the application: 0
&rArr; inches; 1 &rArr; millimeters.
</dd>
<dt>
<strong>OverviewStartState</strong> (Integer)
</dt>
<dd>
Code that indicates the desired start state of the overview pane treeview:
0 &rArr; fully expanded; 1 &rArr; fully collapsed.
</dd>
<dt>
<strong>ShowEmptySections</strong> (Boolean)
</dt>
<dd>
Flag that specifies whether empty sections should be displayed in overview
pane. True &rArr; display empty sections; False &rArr; hide empty
sections.
</dd>
<dt>
<strong>ShowNewSnippetsInNewTabs</strong> (Boolean)
</dt>
<dd>
Flag that specifies how newly created snippets and categories are displayed
in detail pane. True &rArr; new tab created for each new item; False &rArr;
new items overwrite item in selected tab.
</dd>
</dl>
<h4>
[Prefs:Hiliter] section
</h4>
<p>
Stores preferences that configure the syntax highlighter and record some
information about the custom colours available when configuring the
highlighter.
</p>
<p>
Name / Value pairs:
</p>
<dl class="indent">
<dt>
<strong>FontSize</strong> (Integer)
</dt>
<dd>
Size of highlighter font in points.
</dd>
<dt>
<strong>FontName</strong> (String)
</dt>
<dd>
Name of highlighter font.
</dd>
<dt>
<strong>Elem<em>XXX</em>.Color</strong> (Integer)
</dt>
<dd>
<div class="half-spaced">
One entry for each of the 12 source code elements recognised by the syntax
highlighter. <em>XXX</em> ranges from 0 to 11.
</div>
<div class="half-spaced">
Colour of highlight element. Integer representation of a Delphi
<var>TColor</var> value. If the colour is not specified the value is the
integer representation of clNone.
</div>
</dd>
<dt>
<strong>Elem<em>XXX</em>.Style</strong> (Integer)
</dt>
<dd>
<div class="half-spaced">
One entry for each of the 12 source code elements recognised by the syntax
highlighter. <em>XXX</em> ranges from 0 to 11.
</div>
<div class="half-spaced">
Bitmask representing the font styles used for the highlighter element.
</div>
</dd>
<dt>
<strong>CustomColourCount</strong> (Integer)
</dt>
<dd>
Number of recorded custom colours.
</dd>
<dl>
<strong>CustomColour<em>XXX</em></strong> (String)
</dl>
<dd>
<div class="half-spaced">
One entry for each recorded custom colour, where <em>XXX</em> ranges from
0 to <strong>CustomColourCount</strong> - 1.
</div>
<div class="half-spaced">
The value is a definition of a custom colour in the format used by the
Color dialogue box. This format is <em>ColourID</em>=<em>ColourNum</em>
where <em>ColourID</em> is a value from &quot;ColorA&quot; to
&quot;ColorP&quot; and <em>ColourNum</em> is the hex representation of the
colour.
</div>
</dd>
</dl>
<h4>
[Prefs:News] section
</h4>
<p>
Stores preferences that determine how items from the CodeSnip news feed are
displayed.
</p>
<p>
Name / Value pairs:
</p>
<dl class="indent">
<dt>
<strong>MaxAge</strong> (Integer)
</dt>
<dd>
Maximum age of a news item that can appear in CodeSnip News dialogue box in
days. Default is 92 days.
</dd>
</dl>
<h4>
[Prefs:Printing] section
</h4>
<p>
Stores preferences that determine printing defaults.
</p>
<p>
Name / Value pairs:
</p>
<dl class="indent">
<dt>
<strong>UseColor</strong> (Boolean)
</dt>
<dd>
Flag that indicates whether printing is to be in colour.
</dd>
<dt>
<strong>SyntaxPrint</strong> (Boolean)
</dt>
<dd>
Flag that indicates whether source code in printed output is to be syntax
highlighted.
</dd>
<dt>
<strong>LeftMargin</strong> (Double)
</dt>
<dd>
Size of printed page's left margin in mm.
</dd>
<dt>
<strong>TopMargin</strong> (Double)
</dt>
<dd>
Size of printed page's top margin in mm.
</dd>
<dt>
<strong>RightMargin</strong> (Double)
</dt>
<dd>
Size of printed page's right margin in mm.
</dd>
<dt>
<strong>BottomMargin</strong> (Double)
</dt>
<dd>
Size of printed page's bottom margin in mm.
</dd>
</dl>
<h4>
[Prefs:SourceCode] section
</h4>
<p>
Stores preferences that govern the way source code is stored in exported
documents by default.
</p>
<p>
Name / Value pairs:
</p>
<dl class="indent">
<dt>
<strong>FileType</strong> (Integer)
</dt>
<dd>
Code that determines type of exported files: 0 &rArr; plain text; 1 &rArr;
Pascal; 2 &rArr; HTML; 3 &rArr; rich text (RTF).
</dd>
<dt>
<strong>CommentStyle</strong> (Integer)
</dt>
<dd>
Code that determines style of commenting used for documentation of snippets
in output files: 0 &rArr; no documentation comment; 1 &rArr; description of
snippet between prototype and body; 2 &rArr; description of snippet
immediately precedes snippet.
</dd>
<dt>
<strong>UseSyntaxHiliting</strong> (Boolean)
</dt>
<dd>
Flag indicating whether source code is to be syntax highlighted.
</dd>
</dl>
<h4>
[ProxyServer] section
</h4>
<p>
Stores information about any proxy internet server that is to be used.
</p>
<p>
Name / Value pairs:
</p>
<dl class="indent">
<dt>
<strong>UseProxy</strong> (Boolean)
</dt>
<dd>
Flag that indicates whether to use a proxy server or not. If false the
remaining name / value pairs in this section are ignored.
</dd>
<dt>
<strong>IPAddress</strong> (String)
</dt>
<dd>
IP address of proxy server in dotted quad format, e.g. 127.0.0.1.
</dd>
<dt>
<strong>Port</strong> (Integer)
</dt>
<dd>
Port on which to access proxy server.
</dd>
<dt>
<strong>UserName</strong> (String)
</dt>
<dd>
Username for proxy server access. Empty if server doesn't require a user
name.
</dd>
<dt>
<strong>Password</strong> (String)
</dt>
<dd>
Encrypted form of any password required to access proxy server. Empty if no
password is required. This value is a hex representation of the bytes of
the encrypted password.
</dd>
</dl>
<h4>
[UserInfo] section
</h4>
<p>
Stores personal information about the user.
</p>
<p>
Name / Value pairs:
</p>
<dl class="indent">
<dt>
<strong>Name</strong> (String)
</dt>
<dd>
User's name.
</dd>
<dt>
<strong>Email</strong> (String)
</dt>
<dd>
User's email address.
</dd>
</dl>
</body>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.