[gtksourceview] python3: Improve syntax highlighting
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] python3: Improve syntax highlighting
- Date: Tue, 13 Sep 2016 12:16:13 +0000 (UTC)
commit c43ca3cd8d02b473bf6518097bd7962d8dc0d1c8
Author: Garrett Regier <garrettregier gmail com>
Date: Tue Sep 13 04:02:42 2016 -0700
python3: Improve syntax highlighting
This includes the same syntax highlighting
added to Python in commit:
ec24e9530f8cace2ab5c578eb0118d79341a2faf
https://bugzilla.gnome.org/show_bug.cgi?id=771352
data/language-specs/python3.lang | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/data/language-specs/python3.lang b/data/language-specs/python3.lang
index 7f22edc..8526154 100644
--- a/data/language-specs/python3.lang
+++ b/data/language-specs/python3.lang
@@ -159,7 +159,11 @@
<context ref="python:hex"/>
+ <context ref="python:module-handler-from"/>
<context ref="python:module-handler"/>
+ <context ref="python:function-definition"/>
+ <context ref="python:class-definition"/>
+ <context ref="python:decorator"/>
<context ref="python:keywords"/>
<context id="3x-only-keywords" style-ref="keyword">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]