[gtksourceview] javascript.lang, jsx.lang, objj.lang, typescript.lang: Add issue URL
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] javascript.lang, jsx.lang, objj.lang, typescript.lang: Add issue URL
- Date: Tue, 12 Nov 2019 17:59:42 +0000 (UTC)
commit 9d983ca540b1ea0c66e24972f184824c2abf772c
Author: Jeffery To <jeffery to gmail com>
Date: Tue Nov 12 05:00:11 2019 +0800
javascript.lang, jsx.lang, objj.lang, typescript.lang: Add issue URL
This adds the issue URL for the "unknown context" / "style not defined"
errors to the workaround comments.
data/language-specs/javascript.lang | 2 ++
data/language-specs/jsx.lang | 2 ++
data/language-specs/objj.lang | 1 +
data/language-specs/typescript.lang | 4 +++-
4 files changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/data/language-specs/javascript.lang b/data/language-specs/javascript.lang
index ca904861..701c70be 100644
--- a/data/language-specs/javascript.lang
+++ b/data/language-specs/javascript.lang
@@ -236,6 +236,8 @@
<!-- "unknown id" errors can occur when using a regex defined in one
component file in another component file
+ https://gitlab.gnome.org/GNOME/gtksourceview/issues/67
+
so we move the definitions of these regexes here
-->
diff --git a/data/language-specs/jsx.lang b/data/language-specs/jsx.lang
index 4184ddb7..63942bd8 100644
--- a/data/language-specs/jsx.lang
+++ b/data/language-specs/jsx.lang
@@ -45,6 +45,7 @@
<!-- using a style from another lang file before referencing a
context from the file causes "style not defined" errors
+ https://gitlab.gnome.org/GNOME/gtksourceview/issues/67
-->
<context id="style-not-defined-error-workaround">
<include>
@@ -57,6 +58,7 @@
<!-- reference js here to avoid "unknown id" error when referencing
a regex from js before referencing a context from js
+ https://gitlab.gnome.org/GNOME/gtksourceview/issues/67
-->
<context id="main-lang">
<include>
diff --git a/data/language-specs/objj.lang b/data/language-specs/objj.lang
index a40bef28..6a6c6917 100644
--- a/data/language-specs/objj.lang
+++ b/data/language-specs/objj.lang
@@ -53,6 +53,7 @@
<!-- using a style from another lang file before referencing a
context from the file causes "style not defined" errors
+ https://gitlab.gnome.org/GNOME/gtksourceview/issues/67
-->
<context id="style-not-defined-error-workaround">
<include>
diff --git a/data/language-specs/typescript.lang b/data/language-specs/typescript.lang
index 9576cfed..3b958e74 100644
--- a/data/language-specs/typescript.lang
+++ b/data/language-specs/typescript.lang
@@ -662,7 +662,9 @@
<!-- using a context from a component file in a <replace> before
referencing a context from the file causes "unknown context"
- errors -->
+ errors
+ https://gitlab.gnome.org/GNOME/gtksourceview/issues/67
+ -->
<context id="unknown-context-error-workaround">
<include>
<context ref="typescript-js-lit:choice-number"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]