You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2018/04/18 04:46:31 UTC
groovy git commit: Add 'var' in the highlighted keyword for the
Groovy Console (closes #685)
Repository: groovy
Updated Branches:
refs/heads/master 4840d1fce -> 264985f7f
Add 'var' in the highlighted keyword for the Groovy Console (closes #685)
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/264985f7
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/264985f7
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/264985f7
Branch: refs/heads/master
Commit: 264985f7f7ca75ba53511836d68ce7c1d99ca41a
Parents: 4840d1f
Author: Guillaume Laforge <gl...@gmail.com>
Authored: Tue Apr 17 11:21:26 2018 +0200
Committer: Paul King <pa...@asert.com.au>
Committed: Wed Apr 18 14:45:45 2018 +1000
----------------------------------------------------------------------
.../groovy-console/src/main/groovy/groovy/ui/text/GroovyFilter.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/264985f7/subprojects/groovy-console/src/main/groovy/groovy/ui/text/GroovyFilter.java
----------------------------------------------------------------------
diff --git a/subprojects/groovy-console/src/main/groovy/groovy/ui/text/GroovyFilter.java b/subprojects/groovy-console/src/main/groovy/groovy/ui/text/GroovyFilter.java
index baa29e1..11f799a 100644
--- a/subprojects/groovy-console/src/main/groovy/groovy/ui/text/GroovyFilter.java
+++ b/subprojects/groovy-console/src/main/groovy/groovy/ui/text/GroovyFilter.java
@@ -121,6 +121,7 @@ public class GroovyFilter extends StructuredSyntaxDocumentFilter {
"\\bgoto\\b",
"\\bpackage\\b",
"\\bdef\\b",
+ "\\bvar\\b",
"\\bas\\b",
"\\bin\\b",
"\\bsynchronized\\b",