gtksourceview r1963 - in trunk: . gtksourceview/language-specs
- From: muntyan svn gnome org
- To: svn-commits-list gnome org
- Subject: gtksourceview r1963 - in trunk: . gtksourceview/language-specs
- Date: Wed, 18 Jun 2008 17:37:07 +0000 (UTC)
Author: muntyan
Date: Wed Jun 18 17:37:07 2008
New Revision: 1963
URL: http://svn.gnome.org/viewvc/gtksourceview?rev=1963&view=rev
Log:
2008-06-18 Yevgen Muntyan <muntyan tamu edu>
* gtksourceview/language-specs/ocaml.lang: fix camlCase
highlighting. Bug 532698.
Modified:
trunk/ChangeLog
trunk/gtksourceview/language-specs/ocaml.lang
Modified: trunk/gtksourceview/language-specs/ocaml.lang
==============================================================================
--- trunk/gtksourceview/language-specs/ocaml.lang (original)
+++ trunk/gtksourceview/language-specs/ocaml.lang Wed Jun 18 17:37:07 2008
@@ -52,8 +52,8 @@
</styles>
<definitions>
- <define-regex id="cap-ident">[A-Z][A-Za-z0-9_']*</define-regex>
- <define-regex id="low-ident">[a-z][A-Za-z0-9_']*</define-regex>
+ <define-regex id="cap-ident">\b[A-Z][A-Za-z0-9_']*</define-regex>
+ <define-regex id="low-ident">\b[a-z][A-Za-z0-9_']*</define-regex>
<define-regex id="char-esc">\\((\\|"|'|n|t|b|r)|[0-9]{3}|x[0-9a-fA-F]{2})</define-regex>
<context id="escape-seq" style-ref="escape">
<match>\%{char-esc}</match>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]