[kde-doc-english] [kate] doc/katepart: fix xml
Burkhard Lück
lueck at hube-lueck.de
Tue Jun 28 07:11:14 UTC 2016
Git commit 9bb1fb2356b52077a7556a326d43da7423228c80 by Burkhard Lück.
Committed on 28/06/2016 at 07:10.
Pushed by lueck into branch 'master'.
fix xml
M +7 -7 doc/katepart/development.docbook
http://commits.kde.org/kate/9bb1fb2356b52077a7556a326d43da7423228c80
diff --git a/doc/katepart/development.docbook b/doc/katepart/development.docbook
index 7a4ff3e..1c72046 100644
--- a/doc/katepart/development.docbook
+++ b/doc/katepart/development.docbook
@@ -1172,9 +1172,9 @@ with a different tab width.
<para>
A default &kde; installation ships &kappname; with several indenters. The
-corresponding JavaScript source code can be found in <filename>$<envar>XDG_DATA_DIRS</envar>/katepart5/script/indentation</filename>.
+corresponding JavaScript source code can be found in <filename>$<envar>XDG_DATA_DIRS</envar>/katepart5/script/indentation</filename>.</para>
<para>On &Windows; these files are located in <filename>%USER%\AppData\Local\katepart5\indentation</filename>.
-<replaceable>%USER%</replaceable> usually expands to <filename>C:\\Users\\<replaceable>user</replaceable></filename>.</para>
+<replaceable>%USER%</replaceable> usually expands to <filename>C:\\Users\\<replaceable>user</replaceable></filename>.
</para>
<para>
@@ -1209,10 +1209,9 @@ So as a first step, create a new <filename>*.js</filename> file called
<filename>myutils.js</filename> in the local home folder
<filename>$<envar>XDG_DATA_HOME</envar>/katepart5/script/commands</filename>.
Therein, the environment variable <envar>XDG_DATA_HOME</envar> typically expands to
-either <filename>~/.local</filename> or <filename>~/.local/share</filename>.
+either <filename>~/.local</filename> or <filename>~/.local/share</filename>.</para>
<para>On &Windows; these files are located in <filename>%USER%\AppData\Local\katepart5\commands</filename>.
-<replaceable>%USER%</replaceable> usually expands to <filename>C:\\Users\\<replaceable>user</replaceable></filename>.</para>
-
+<replaceable>%USER%</replaceable> usually expands to <filename>C:\\Users\\<replaceable>user</replaceable></filename>.
</para>
<sect3 id="dev-scripting-command-line-header">
@@ -1375,8 +1374,6 @@ require ("range.js");
To extend the standard scripting API with your own functions and prototypes simply
create a new file in &kde;'s local configuration folder
<filename>$<envar>XDG_DATA_HOME</envar>/katepart5/libraries</filename> and include it into your script using:
-<para>On &Windows; these files are located in <filename>%USER%\AppData\Local\katepart5\libraries</filename>.
-<replaceable>%USER%</replaceable> usually expands to <filename>C:\\Users\\<replaceable>user</replaceable></filename>.</para>
<programlisting>
require ("myscriptnamehere.js");
@@ -1384,6 +1381,9 @@ require ("myscriptnamehere.js");
</para>
+<para>On &Windows; these files are located in <filename>%USER%\AppData\Local\katepart5\libraries</filename>.
+<replaceable>%USER%</replaceable> usually expands to <filename>C:\\Users\\<replaceable>user</replaceable></filename>.</para>
+
<para>
To extend existing prototypes like <classname>Cursor</classname> or
<classname>Range</classname>, the recommended way is to
More information about the kde-doc-english
mailing list