summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpschonbac2008-01-23 18:07:47 (EST)
committerpschonbac2008-01-23 18:07:47 (EST)
commit4b45af6f134085e05ce4d06b88d8d6ca18cfb05a (patch)
treee9bce22d1d8a39b9fe3cd021c4237c0fdc7b9b52
parent264ff2283c7ea8762c6e6271af60d95ac9296211 (diff)
downloadorg.eclipse.xpand-4b45af6f134085e05ce4d06b88d8d6ca18cfb05a.zip
org.eclipse.xpand-4b45af6f134085e05ce4d06b88d8d6ca18cfb05a.tar.gz
org.eclipse.xpand-4b45af6f134085e05ce4d06b88d8d6ca18cfb05a.tar.bz2
[Bug 211460] Keyword "then" is not highlighted in xTend editor
URL: https://bugs.eclipse.org/bugs/show_bug.cgi?id=211460
-rw-r--r--plugins/org.eclipse.xtend.ui/src/org/eclipse/xtend/ui/editor/lang/XtendTokens.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/org.eclipse.xtend.ui/src/org/eclipse/xtend/ui/editor/lang/XtendTokens.java b/plugins/org.eclipse.xtend.ui/src/org/eclipse/xtend/ui/editor/lang/XtendTokens.java
index 4c4d12e..961157a 100644
--- a/plugins/org.eclipse.xtend.ui/src/org/eclipse/xtend/ui/editor/lang/XtendTokens.java
+++ b/plugins/org.eclipse.xtend.ui/src/org/eclipse/xtend/ui/editor/lang/XtendTokens.java
@@ -47,9 +47,13 @@ public class XtendTokens {
public final static String REEXPORT = "reexport";
public final static String AROUND = "around";
+
public final static String IF = "if";
+
+ public final static String THEN = "then";
+
public final static String ELSE = "else";
-
+
public final static String CTX = "context";
public final static String ERR = "ERROR";
@@ -58,6 +62,6 @@ public class XtendTokens {
public final static String[] allKeywords() {
return new String[] { CTX, ERR, WARN, PRIVATE, CREATE, REEXPORT, EXTENSION, IMPORT, SWITCH, CASE, DEFAULT, NEW, TRUE_CONST,
- FALSE_CONST, NULL_CONST, THIS, JAVA, WORKFLOWSLOT, CACHED, LET, AROUND, IF, ELSE };
+ FALSE_CONST, NULL_CONST, THIS, JAVA, WORKFLOWSLOT, CACHED, LET, AROUND, IF, THEN, ELSE };
}
}