[gtksourceview] css.lang: replaced comments contexts by refs to def.lang
- From: David Miguel Susano Pinto <davidpinto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] css.lang: replaced comments contexts by refs to def.lang
- Date: Mon, 1 Aug 2011 19:04:15 +0000 (UTC)
commit c055f445c385bed277ac9aa8f0af68559bfb07b5
Author: Carnà Draug <carandraug+dev gmail com>
Date: Mon Aug 1 17:30:23 2011 +0100
css.lang: replaced comments contexts by refs to def.lang
data/language-specs/css.lang | 19 +++----------------
1 files changed, 3 insertions(+), 16 deletions(-)
---
diff --git a/data/language-specs/css.lang b/data/language-specs/css.lang
index b1006bd..8b09485 100644
--- a/data/language-specs/css.lang
+++ b/data/language-specs/css.lang
@@ -44,7 +44,6 @@
</metadata>
<styles>
- <style id="comment" _name="Comment" map-to="def:comment"/>
<style id="error" _name="Error" map-to="def:error"/>
<style id="others-2" _name="Others 2"/>
<style id="string" _name="String" map-to="def:string"/>
@@ -64,18 +63,6 @@
<definitions>
- <context id="comment" style-ref="comment" class="comment" class-disabled="no-spell-check">
- <start>/\*</start>
- <end>\*/</end>
- <include>
- <context ref="def:in-comment"/>
- </include>
- </context>
-
- <context id="close-comment-outside-comment" style-ref="error">
- <match>\*/(?!\*)</match>
- </context>
-
<context id="unicode-character-reference" style-ref="others-2">
<match>\\([a-fA-F0-9]{1,5}[ \t]|[a-fA-F0-9]{6})</match>
</context>
@@ -493,7 +480,7 @@
<start>\{</start>
<end>\}</end>
<include>
- <context ref="comment"/>
+ <context ref="def:c-like-comment-multiline"/>
<context ref="at-rules"/>
<context ref="style-block"/>
<context ref="hexadecimal-color"/>
@@ -528,8 +515,8 @@
<include>
<context ref="def:string"/>
<context ref="def:single-quoted-string"/>
- <context ref="comment"/>
- <context ref="close-comment-outside-comment"/>
+ <context ref="def:c-like-comment-multiline"/>
+ <context ref="def:c-like-close-comment-outside-comment"/>
<context ref="unicode-character-reference"/>
<context ref="selector-pseudo-elements"/>
<context ref="selector-pseudo-classes"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]