summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Thoms2016-02-02 15:40:30 -0500
committerKarsten Thoms2016-02-02 15:40:30 -0500
commit28e350ef56c0d31f9d30ee74a548715d870c2382 (patch)
tree610f9e5f69c30e09fa589122cbaac0c5b8d98014
parent936dcc97918155e4c71138a2e08d4a7d9cb68535 (diff)
downloadorg.eclipse.xpand-28e350ef56c0d31f9d30ee74a548715d870c2382.tar.gz
org.eclipse.xpand-28e350ef56c0d31f9d30ee74a548715d870c2382.tar.xz
org.eclipse.xpand-28e350ef56c0d31f9d30ee74a548715d870c2382.zip
[476794] Fix code completion within selectFirst and forAll
Change-Id: I23fe37f59cbf38a8fecb5a314fe216201039e505 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/expression/codeassist/ExpressionProposalComputer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/expression/codeassist/ExpressionProposalComputer.java b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/expression/codeassist/ExpressionProposalComputer.java
index 86e0fba1..8ca27e28 100644
--- a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/expression/codeassist/ExpressionProposalComputer.java
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/expression/codeassist/ExpressionProposalComputer.java
@@ -194,7 +194,7 @@ public class ExpressionProposalComputer implements ProposalComputer {
}
private final static Pattern COL_OP = Pattern
- .compile("((select|collect|exists|notExists|reject|forEach|sortBy)\\s*\\(\\s*(\\w+)\\s*\\|)|(\\()|(\\))");
+ .compile("((select|selectFirst|forAll|collect|exists|notExists|reject|forEach|sortBy)\\s*\\(\\s*(\\w+)\\s*\\|)|(\\()|(\\))");
private final static Pattern LET = Pattern.compile(".*let\\s*(\\w+)\\s*=\\s*([^:]+):([^:]*)");