[gtksourceview] Revert "Bug 621132 - Added the char class and applied it to chars in the C language"
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Revert "Bug 621132 - Added the char class and applied it to chars in the C language"
- Date: Wed, 23 Jun 2010 18:37:36 +0000 (UTC)
commit a6dfb6f28eaa5ee89fd83235eb51801b20323433
Author: Paolo Borelli <pborelli gnome org>
Date: Wed Jun 23 20:32:17 2010 +0200
Revert "Bug 621132 - Added the char class and applied it to chars in the C language"
This reverts commit da9c56f8a742b067ec2a0b94752c46ddc0f6985b.
data/language-specs/c.lang | 2 +-
gtksourceview/gtksourcebuffer.c | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/data/language-specs/c.lang b/data/language-specs/c.lang
index 2cafdf9..18846cd 100644
--- a/data/language-specs/c.lang
+++ b/data/language-specs/c.lang
@@ -157,7 +157,7 @@
</include>
</context>
- <context id="char" style-ref="char" class="char">
+ <context id="char" style-ref="char">
<match>L?'(\%{escaped-character}|.)'</match>
</context>
diff --git a/gtksourceview/gtksourcebuffer.c b/gtksourceview/gtksourcebuffer.c
index 0081941..4edb13c 100644
--- a/gtksourceview/gtksourcebuffer.c
+++ b/gtksourceview/gtksourcebuffer.c
@@ -1039,7 +1039,6 @@ gtk_source_buffer_real_delete_range (GtkTextBuffer *buffer,
static const gchar *cclass_mask_definitions[] = {
"comment",
"string",
- "char"
};
static gint
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]