[gtksourceview] Doc: explain the "v2" for the language definition file format
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Doc: explain the "v2" for the language definition file format
- Date: Mon, 27 May 2013 09:43:44 +0000 (UTC)
commit 62cc1ec0d713cbba4c59bc670f67a109ee5498e0
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat May 18 23:00:40 2013 +0200
Doc: explain the "v2" for the language definition file format
docs/reference/lang-reference.xml | 9 +++++++++
docs/reference/lang-tutorial.xml | 9 +++++++++
2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/lang-reference.xml b/docs/reference/lang-reference.xml
index 3ac74eb..140f9a5 100644
--- a/docs/reference/lang-reference.xml
+++ b/docs/reference/lang-reference.xml
@@ -12,6 +12,15 @@ Reference to the GtkSourceView language definition file format
<refsect1>
<title>Overview</title>
+
+<note>
+ <para>
+ The version 2 here refers to the language definition file format,
+ not to the version of GtkSourceView. So this reference is suitable
+ for GtkSourceView 2 and 3.
+ </para>
+</note>
+
<para>
This is an overview of the Language Definition XML format, describing the
meaning and usage of every element and attribute. The formal definition is
diff --git a/docs/reference/lang-tutorial.xml b/docs/reference/lang-tutorial.xml
index 2b2e91d..6157cec 100644
--- a/docs/reference/lang-tutorial.xml
+++ b/docs/reference/lang-tutorial.xml
@@ -12,6 +12,15 @@ Guide to the GtkSourceView language definition file format
<refsect1 id="tutorial">
<title>A language definition for the C language</title>
+
+<note>
+ <para>
+ The version 2 here refers to the language definition file format,
+ not to the version of GtkSourceView. So this tutorial is suitable
+ for GtkSourceView 2 and 3.
+ </para>
+</note>
+
<para>
To describe the syntax of a language GtkSourceView uses an XML format which
defines nested context to be highlighted. Each context roughly corresponds
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]