Skip to content

Commit 1746ab9

Browse files
committed
fix spelling for 'editing xslt' page
at source - following pull-request with fixes in the generated html
1 parent 4c1c63d commit 1746ab9

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"cSpell.enableFiletypes": [
3+
"xml"
4+
],
5+
"cSpell.enabled": true
6+
}

vscode-xslt-xpath/authoring/editing-xslt.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
</p>
112112
<h5>Triggering the auto-complete list</h5>
113113
<p>For XSLT intellisense, the <span class="shortcut">&lt;</span> character triggers suggestions. XSLT instruction suggestions
114-
fit the context of the curstor location.
114+
fit the context of the cursor location.
115115
On accepting a suggestion a <a href="https://code.visualstudio.com/docs/editor/userdefinedsnippets">Code Snippet</a> is inserted
116116
which will include common attributes for the selected instruction.
117117
</p>
@@ -173,7 +173,7 @@
173173
<aside>Note: The XSLT Linter uses a Symbol Provider. To ensure checks are performed you should keep the
174174
<a href="https://code.visualstudio.com/Docs/editor/editingevolved#_breadcrumbs">Breadcrumbs</a> view enabled.</aside>
175175
<p>
176-
The XSLT/XPath linter performs checks on your code as you type, peforming symbol reference tests across all included modules.
176+
The XSLT/XPath linter performs checks on your code as you type, performing symbol reference tests across all included modules.
177177
Any problems are shown in the Problems Panel and also highlighted inline with a squiggly
178178
underline for the specific token at issue.
179179
Here is a summary of the key checks:
@@ -182,7 +182,7 @@
182182
<li>XML Syntax</li>
183183
<li>XSLT/XPath Variable name references</li>
184184
<li>XSLT/XPath Parameter name references</li>
185-
<li><strong>All</strong> other symbol name refererences (<code>xsl:accumulator</code> <code>xsl:key</code> etc.)</li>
185+
<li><strong>All</strong> other symbol name references (<code>xsl:accumulator</code> <code>xsl:key</code> etc.)</li>
186186
<li>Function name and arity (number of params)</li>
187187
<li><code>xsl:with-param</code> names</li>
188188
<li>File locations in <code>xsl:import</code> <code>xsl:include</code> <code>xsl:use-package</code></li>
@@ -200,18 +200,18 @@
200200
can be reported. In such cases, the spurious problems are annoying and may obscure reported problems that are actually relevant.
201201
</p>
202202
<p>The <strong>Inferred Imports</strong> feature prevents spurious problems being highlighted in the editor.
203-
With this featue, a search is made to find if the active XSLT stylesheet has been declared as an import by another stylesheet opened recently
203+
With this feature, a search is made to find if the active XSLT stylesheet has been declared as an import by another stylesheet opened recently
204204
in Visual Studio Code. If such a 'parent' stylesheet is found (the most recently opened example is used) it is imported along with any other imports. Functions and,
205-
variables etc. used in the active stylehseet can therefore be resolved.
205+
variables etc. used in the active stylesheet can therefore be resolved.
206206
</p>
207207
<h5>Unused Variables</h5>
208208
<p>The Code Checker detects unused variables and parameters declared in either XSLT or XPath expressions. These are highlighted by being 'grayed out' in
209209
the editor. Global variables are shown as unused if they are not referenced in the current file, the 'unused' state is not affected by
210-
imported stylesheets thay may reference the same variable.
210+
imported stylesheets they may reference the same variable.
211211
</p>
212212
<h5>Compile-time and Run-time problems</h5>
213213
<p>The Code Checking feature is designed to find most basic code problems due to typos or changes to referenced symbols.
214-
When XSLT is run, an attempt is made to parse error messages from the Saxon XSLT procesor
214+
When XSLT is run, an attempt is made to parse error messages from the Saxon XSLT processor
215215
(shown in the Task tab of the Terminal View) so that the problem token is highlighted,
216216
and the error message is shown in the Problems View.
217217
</p>

0 commit comments

Comments
 (0)