aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Haumann <dhaumann@kde.org>2016-09-08 21:30:43 (GMT)
committerDominik Haumann <dhaumann@kde.org>2016-09-08 21:30:55 (GMT)
commit92e71151321fd642e5dc14948a30d1f61edfcbe4 (patch)
tree5de9c84dbff2d1cdf361b5dc8e78dc691788ba95
parent1593af0c1152dc0150d8f08d05f6df56bfe14619 (diff)
Turn the version into a integer number (rather thing of a revision)
We will change this in the documentation and our hl files, the code stays compatible with the floating point numbers, though.
-rw-r--r--doc/katepart/development.docbook6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/katepart/development.docbook b/doc/katepart/development.docbook
index 1c72046..3c106bb 100644
--- a/doc/katepart/development.docbook
+++ b/doc/katepart/development.docbook
@@ -256,11 +256,11 @@ Available attributes are:</term>
<para><userinput>name</userinput> sets the name of the language. It appears in the menus and dialogs afterwards.</para>
<para><userinput>section</userinput> specifies the category.</para>
<para><userinput>extensions</userinput> defines file extensions, such as &quot;*.cpp;*.h&quot;</para>
+<para><userinput>version</userinput> specifies the current revision of the definition file in terms of an integer number. Whenever you change a highlighting definition file, make sure to increase this number.</para>
+<para><userinput>kateversion</userinput> specifies the latest supported &kappname; version.</para>
<para>Optional attributes:</para>
<para><userinput>mimetype</userinput> associates files &MIME; type.</para>
-<para><userinput>version</userinput> specifies the current version of the definition file.</para>
-<para><userinput>kateversion</userinput> specifies the latest supported &kappname; version.</para>
<para><userinput>casesensitive</userinput> defines, whether the keywords are case sensitive or not.</para>
<para><userinput>priority</userinput> is necessary if another highlight definition file uses the same extensions. The higher priority will win.</para>
<para><userinput>author</userinput> contains the name of the author and his email-address.</para>
@@ -269,7 +269,7 @@ Available attributes are:</term>
<para><userinput>hidden</userinput> defines whether the name should appear in &kappname;'s menus.</para>
<para>So the next line may look like this:</para>
<programlisting>
-&lt;language name=&quot;C++&quot; version=&quot;1.00&quot; kateversion=&quot;2.4&quot; section=&quot;Sources&quot; extensions=&quot;*.cpp;*.h&quot; /&gt;
+&lt;language name=&quot;C++&quot; version=&quot;1&quot; kateversion=&quot;2.4&quot; section=&quot;Sources&quot; extensions=&quot;*.cpp;*.h&quot; /&gt;
</programlisting>
</listitem>
</varlistentry>