Permalink
Browse files

syntax highlight dashes in dcf field names

  • Loading branch information...
1 parent 08d657a commit 453a6c8956c0bee7ae3644f95fb05a7fcb684774 @jjallaire jjallaire committed Mar 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gwt/acesupport/acemode/dcf_highlight_rules.js
@@ -26,7 +26,7 @@ var DcfHighlightRules = function() {
"start" : [ {
token : ["keyword", "text"],
- regex : "^" +"(\\w+)" + "(\\:)"
+ regex : "^" +"([\\w-]+)" + "(\\:)"
}, {
token : "text",
regex : ".+"

0 comments on commit 453a6c8

Please sign in to comment.