Skip to content

Commit 09d8a53

Browse files
author
delphidabbler
committed
Edit and correct preference dialogue help topics
1 parent d250cd3 commit 09d8a53

8 files changed

+152
-133
lines changed

Src/Help/HTML/dlg_preferences.htm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,16 @@ <h1>
3131
dialogue box is accessed via the <em>Tools | Preferences</em> menu option.
3232
</p>
3333
<p>
34-
The dialogue box is in several sections, accessed by tabs across the top
35-
of the page. These are:
34+
The dialogue box is divided into several sections, accessed by tabs across
35+
the top of the page. These are:
3636
</p>
3737
<ul class="unspaced">
3838
<li>
3939
<a href="dlg_prefs_display.htm">Display</a>
4040
</li>
4141
<li>
4242
<a href="dlg_prefs_snippetlayout.htm">Snippet Layout</a>
43+
</li>
4344
<li>
4445
<a href="dlg_prefs_codegen.htm">Code Generation</a>
4546
</li>

Src/Help/HTML/dlg_prefs_codegen.htm

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ <h1>
2828
</h1>
2929
<p>
3030
This tab of the <a href="dlg_preferences.htm">Preferences</a> dialogue box
31-
is used to customise the source code emitted by the code generator for
32-
test compilations and generated units.
31+
is used to customise the source code emitted by the code generator when
32+
creating test compilations and when outputting units.
33+
</p>
3334
<p>
3435
The tab is accessed by selecting the <em>Tools | Preferences</em> menu
3536
item then clicking the <em>Code Generation</em> tab.
@@ -38,9 +39,10 @@ <h1>
3839
Formatting</a> tab for that.
3940
</p>
4041
<p>
41-
The Code Generator can be configured to generate $WARN compiler directives
42-
to switch specified warning messages on or off. These directives are
43-
supported by Delphi 6 and later.
42+
The Code Generator can be configured to generate <code>$WARN</code>
43+
compiler directives to switch specified warning messages on or off. These
44+
directives are supported by Delphi 6 and later. Free Pascal is not
45+
supported.
4446
</p>
4547
<p>
4648
To enable this facility you must check the <em>Emit $WARN directives</em>
@@ -50,13 +52,13 @@ <h1>
5052
The warnings for which compiler directives are to be generated are those
5153
listed in the list view control situated below the check box. Warnings
5254
are identified by the text in the <em>Symbol</em> column. These symbols
53-
must be valid parameters for Delphi's $WARN directive. Since new symbols
54-
have been introduced in different versions of Delphi, the minimum version
55-
of the compiler that supports the warning must also be specified. This is
56-
shown in the <em>Min. Compiler</em> column of the list view. The version
57-
number is that specified by the Delphi's <var>CompilerVersion</var>
58-
constant. Finally, whether a warning is switched on or off is shown in the
59-
<em>State</em> column.
55+
must be valid parameters for Delphi's <code>$WARN</code> directive. Since
56+
new symbols have been introduced in different versions of Delphi, the
57+
minimum version of the compiler that supports the warning must also be
58+
specified. This is shown in the <em>Min. Compiler</em> column of the list
59+
view. The version number is that specified by Delphi's
60+
<var>CompilerVersion</var> constant. Finally, whether a warning is
61+
switched on or off is shown in the <em>State</em> column.
6062
</p>
6163
<p>
6264
The list view can be sorted on the contents of any of the columns by
@@ -73,12 +75,12 @@ <h1>
7375
<strong>Add a symbol</strong><br>
7476
Enter the symbol name in the <em>Symbol</em> edit control, specify the
7577
earliest compiler version that supports it in the <em>Min. Compiler</em>
76-
edit control and specify whether the $WARN directive will switch the
77-
warning on or off by selecting the appropriate <em>Warning State</em>
78-
radio button. Click the <em>Add</em> button to add the symbol to the
79-
list. If the <em>Add</em> button remains disabled check that the
78+
edit control and specify whether the <code>$WARN</code> directive will
79+
switch the warning on or off by selecting the appropriate <em>Warning
80+
State</em> radio button. Click the <em>Add</em> button to add the symbol
81+
to the list. If the <em>Add</em> button remains disabled check that the
8082
compiler version is valid and that the symbol name does not already
81-
exist.
83+
exist in the list view.
8284
</li>
8385
<li>
8486
<strong>Delete a symbol</strong><br>
@@ -91,9 +93,9 @@ <h1>
9193
copied into the <em>Symbol</em> and <em>Min. Compiler</em> edit
9294
controls and the appropriate <em>Warning State</em> radio button will be
9395
selected. Change the details as required then click the <em>Update</em>
94-
button to modify the symbol. The changes will be reflected in the list
95-
view. If the entered information is not valid then the <em>Update</em>
96-
button will be disabled.
96+
button. The changes will be reflected in the list view. If the entered
97+
information is not valid then the <em>Update</em> button will be
98+
disabled.
9799
</li>
98100
</ul>
99101
<p>
@@ -109,8 +111,8 @@ <h1>
109111
source code that will be emitted by the code generator.
110112
</p>
111113
<p>
112-
The <em>Restore Defaults</em> button discards the current list of $WARN
113-
directives and replaces it with a default set.
114+
The <em>Restore Defaults</em> button discards the current list of
115+
<code>$WARN</code> directives and replaces it with a default set.
114116
</p>
115117
</body>
116118
</html>

Src/Help/HTML/dlg_prefs_display.htm

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,29 +43,30 @@ <h1>
4343
href="overview_pane.htm"
4444
>overview pane</a> appears when the program starts. Do this using the
4545
<em>Start overview pane treeview as</em> drop down list to choose either
46-
<em>Fully expanded</em> to make the treeview display all entries) or
46+
<em>Fully expanded</em> to make the treeview display all entries or
4747
<em>Fully collapsed</em> to display only section headers.
4848
</li>
4949
<li>
5050
Choose whether new snippets and categories are displayed in the current
5151
tab or in a new tab in the <a
5252
href="detail_pane.htm"
5353
>detail pane</a>. Check the <em>Display newly added snippets &amp;
54-
categories in new tabs</em> check box to add a new tab for each item
55-
created or clear the check box to overwrite the content of the currently
56-
selected tab.
54+
categories in new tabs</em> check box to add a new tab for each item,
55+
or clear the check box to overwrite the content of the currently
56+
selected tab. Note that <span class="smallcaps">Ctrl</span> clicking an
57+
item always displays the item in a new tab, regardless of this setting.
5758
</li>
5859
<li>
5960
Choose whether empty section headings are hidden in the <a
6061
href="overview_pane.htm"
6162
>overview pane</a>. Check the <em>Hide empty section headings in
62-
overiew</em> check box to hide empty section headings or clear the check
63+
overview</em> check box to hide empty section headings or clear the check
6364
box to display them.
6465
</li>
6566
<li>
66-
<div>
67+
<p>
6768
Specify the colours used for the following interface elements:
68-
</div>
69+
</p>
6970
<ul class="unspaced">
7071
<li>
7172
Snippet and category headings in the main database.
@@ -79,14 +80,16 @@ <h1>
7980
>detail pane</a>.
8081
</li>
8182
</ul>
82-
<div>
83+
<p>
8384
Choose the required colours from the appropriate drop-down colour
84-
lists. Custom colours can be created: just select the
85-
<em>Custom...</em> option from the drop down list and choose or create
86-
the colour in the displayed colour dialogue box. Default colours for
87-
any of the above interface elements can be restored by clicking the
88-
<em>Use Default Colours</em> button.
89-
</div>
85+
lists. Custom colours can be created: just select the
86+
<em>Custom...</em> option from the top of the drop down list and
87+
choose or create the colour in the displayed colour dialogue box.
88+
</p>
89+
<p>
90+
Default colours for all the above interface elements can be restored
91+
by clicking the <em>Use Default Colours</em> button.
92+
</p>
9093
</li>
9194
</ul>
9295
</body>

Src/Help/HTML/dlg_prefs_general.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h2>
4444
Select the measurement units to be used by the application from the
4545
<em>Preferred units of measurement</em> drop down list. Options are
4646
<em>Inches</em> and <em>Millimeters</em>. If you have not set this option
47-
before, the measurement units will default to your locale settings.
47+
before, the measurement units will be appropriate to your locale.
4848
</p>
4949
</body>
5050
</html>

Src/Help/HTML/dlg_prefs_hiliter.htm

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h3>
4444
</p>
4545
<p>
4646
Different syntax highlighter styles can be saved and given identifying
47-
names for later user.
47+
names for later use.
4848
</p>
4949
<h2>
5050
Highlighter Font
@@ -56,7 +56,7 @@ <h2>
5656
</p>
5757
<p>
5858
<strong>Note:</strong> The highlighter font is ignored in code previews in
59-
other tabs in the <a href="dlg_preferences.htm">Preferences</a> dialogue
59+
other tabs of the <a href="dlg_preferences.htm">Preferences</a> dialogue
6060
box to ensure that previews fit the available space.
6161
</p>
6262
<h2>
@@ -65,14 +65,14 @@ <h2>
6565
<p>
6666
The colour and font style used for various syntactic elements of the
6767
source code can be changed. Select an element in the <em>Elements</em>
68-
list box then using the <em>Font style</em> check boxes and
69-
<em>Colour</em> drop down list. A preview of the element is displayed.
68+
list box then edit its style using the <em>Font style</em> check boxes and
69+
the <em>Colour</em> drop down list. A preview of the element is displayed.
7070
</p>
7171
<h2>
7272
Named Styles
7373
</h2>
7474
<p>
75-
<em>CodeSnip</em> provides five pre-defined styles that are applied by
75+
<em>CodeSnip</em> provides some pre-defined styles that are applied by
7676
clicking the <em>Use Predefined Style</em> button and selecting the style
7777
from the drop-down menu that appears.
7878
</p>
@@ -81,7 +81,7 @@ <h2>
8181
</p>
8282
<ol class="spaced">
8383
<li>
84-
<em>CodeSnip Classic</em> &ndash; style of highlighting used in main
84+
<em>CodeSnip Classic</em> &ndash; style of highlighting used in the main
8585
display of CodeSnip v2 and earlier.
8686
</li>
8787
<li>
@@ -102,9 +102,7 @@ <h2>
102102
highlighters can also be deleted from this dialogue box.
103103
</li>
104104
<li>
105-
<em>No Highlighter</em> &ndash; no syntax highlighting used. You might
106-
want to use this style if you are storing code other than Pascal in
107-
<em>CodeSnip</em>.
105+
<em>No Highlighter</em> &ndash; no syntax highlighting is used.
108106
</li>
109107
</ol>
110108
<h2>
@@ -134,7 +132,7 @@ <h2>
134132
(see above).
135133
</p>
136134
<p>
137-
Any number of custom highlighter style can be saved.
135+
Any number of custom highlighter styles can be saved.
138136
</p>
139137
</body>
140138
</html>

Src/Help/HTML/dlg_prefs_printing.htm

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h1>
3636
tab from the <a href="dlg_print.htm">Print</a> dialogue box.
3737
</p>
3838
<p>
39-
<strong>Note:</strong> Options set in this tab usually take effect the
39+
<strong class="warning">Warning:</strong> Options set in this tab usually take effect the
4040
next time the application is started. The exception is when the tab is
4141
displayed from the <em>Print</em> dialogue box, when you can choose to
4242
apply the new options straight away.
@@ -47,7 +47,7 @@ <h2>
4747
<p>
4848
There are two options that change the way printed documents are formatted:
4949
</p>
50-
<ul class="unspaced">
50+
<ul class="spaced">
5151
<li>
5252
The <em>Syntax highlight source code</em> check box specifies whether
5353
source code included in the output is syntax highlighted by default.
@@ -62,6 +62,12 @@ <h2>
6262
A preview of the effect of the options is displayed to the right of the
6363
check boxes.
6464
</p>
65+
<p>
66+
When syntax highlighting is enabled the style used is as specified in the
67+
<a href="dlg_prefs_hiliter.htm">Syntax Highlighter</a> tab. When black and
68+
white printing is specified the highlighter's font styles are used but
69+
colours are ignored.
70+
</p>
6571
<h2>
6672
Page Margins
6773
</h2>
@@ -72,7 +78,7 @@ <h2>
7278
<p>
7379
Margins are displayed and entered either in inches or millimeters. The
7480
units being used are displayed in the group box caption.
75-
<strong>Note:</strong> measurement units can be specified on the
81+
<strong>Note:</strong> measurement units can be changed on the
7682
<a href="dlg_prefs_general.htm">Misc.</a> tab, if it is visible.
7783
</p>
7884
</body>

Src/Help/HTML/dlg_prefs_snippetlayout.htm

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,16 @@ <h1>
3030
This tab of the <a
3131
href="dlg_preferences.htm"
3232
>Preferences</a> dialogue box is used to customise the layout of pages
33-
that display the various kinds of snippet in the <a
33+
that display the various <a
34+
href="snippet_kinds.htm"
35+
>kinds</a> of snippet
36+
in the <a
3437
href="detail_pane.htm"
3538
>Detail Pane</a>.
3639
</p>
3740
<p>
3841
The tab is accessed by selecting the <em>Tools | Preferences</em> menu
39-
item then clicking the <em>Display</em> tab in the <a
42+
item then clicking the <em>Snippet Layout</em> tab in the <a
4043
href="dlg_preferences.htm"
4144
>Preferences</a> dialogue box.
4245
</p>
@@ -77,24 +80,24 @@ <h2>
7780
<em>Type</em>
7881
</div>
7982
<div>
80-
Snippet's type or kind, e.g. &quot;Routine&quot; or &quot;Type
81-
Definition&quot;
83+
Snippet's type or <a href="snippet_kinds.htm">kind</a>, e.g.
84+
&quot;Routine&quot; or &quot;Type Definition&quot;
8285
</div>
8386
</li>
8487
<li>
8588
<div>
8689
<em>Category</em>
8790
</div>
8891
<div>
89-
Category that snippet belongs to. Renders as a link.
92+
Category that a snippet belongs to. Renders as a link.
9093
</div>
9194
</li>
9295
<li>
9396
<div>
9497
<em>Required Units List</em>
9598
</div>
9699
<div>
97-
Always empty for <a
100+
List of units required by the selected snippet. Always empty for <a
98101
href="snippet_unit.htm"
99102
>Unit</a> snippets.
100103
</div>
@@ -104,7 +107,8 @@ <h2>
104107
<em>Required Snippets List</em>
105108
</div>
106109
<div>
107-
Contains links to any required snippets. Always empty for <a
110+
List of links to snippets called by the selected snippet. Always empty
111+
for <a
108112
href="snippet_unit.htm"
109113
>Unit</a> snippets.
110114
</div>
@@ -114,7 +118,7 @@ <h2>
114118
<em>Cross Reference List</em>
115119
</div>
116120
<div>
117-
Contains links to any cross referenced snippets.
121+
List of links to any cross referenced snippets.
118122
</div>
119123
</li>
120124
<li>
@@ -157,10 +161,10 @@ <h2>
157161
<p>
158162
The current page components will be displayed in the right hand
159163
<em>Displayed page components</em> list box. Any unused page components
160-
are listed in the <em>Unused page components</em> list box.
164+
are listed in the <em>Unused page components</em> list box on the left.
161165
</p>
162166
<p>
163-
You customise the page using this list boxes. Here are the available
167+
You customise the page using these list boxes. Here are the available
164168
actions:
165169
</p>
166170
<ul class="spaced">

0 commit comments

Comments
 (0)