[kate] doc/katepart: Turn the version into a integer number (rather thing of a revision)

Dominik Haumann dhaumann at kde.org
Thu Sep 8 21:31:02 UTC 2016


Git commit 92e71151321fd642e5dc14948a30d1f61edfcbe4 by Dominik Haumann.
Committed on 08/09/2016 at 21:30.
Pushed by dhaumann into branch 'master'.

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.

M  +3    -3    doc/katepart/development.docbook

http://commits.kde.org/kate/92e71151321fd642e5dc14948a30d1f61edfcbe4

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 "*.cpp;*.h"</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>
-<language name="C++" version="1.00" kateversion="2.4" section="Sources" extensions="*.cpp;*.h" />
+<language name="C++" version="1" kateversion="2.4" section="Sources" extensions="*.cpp;*.h" />
 </programlisting>
 </listitem>
 </varlistentry>


More information about the kde-doc-english mailing list