summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorCamilo Bernal2013-04-17 16:23:32 (EDT)
committer Sami Wagiaalla2013-04-18 10:55:00 (EDT)
commitfe3cc4a170ce702116b43a6f01a9ba6ff456879a (patch)
treed0588db6911cbad962a1dd876bb2d3a3f7141219
parent5c98f20665e7cf55fddae679d664dafe88e2ff5b (diff)
downloadorg.eclipse.linuxtools-fe3cc4a170ce702116b43a6f01a9ba6ff456879a.zip
org.eclipse.linuxtools-fe3cc4a170ce702116b43a6f01a9ba6ff456879a.tar.gz
org.eclipse.linuxtools-fe3cc4a170ce702116b43a6f01a9ba6ff456879a.tar.bz2
Systemtap IDE: Treat any white space character as a token delimeterrefs/changes/99/11999/2
Enable auto-completion on lines containing any type whitespace character. Change-Id: I8d79d9defb1ad160019fec94bcd9c00f28f431bc Reviewed-on: https://git.eclipse.org/r/11999 Tested-by: Hudson CI Reviewed-by: Sami Wagiaalla <swagiaal@redhat.com> IP-Clean: Sami Wagiaalla <swagiaal@redhat.com> Tested-by: Sami Wagiaalla <swagiaal@redhat.com>
-rw-r--r--systemtap/org.eclipse.linuxtools.systemtap.ui.ide/src/org/eclipse/linuxtools/internal/systemtap/ui/ide/editors/stp/STPCompletionProcessor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/src/org/eclipse/linuxtools/internal/systemtap/ui/ide/editors/stp/STPCompletionProcessor.java b/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/src/org/eclipse/linuxtools/internal/systemtap/ui/ide/editors/stp/STPCompletionProcessor.java
index fe07420..e395d8a 100644
--- a/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/src/org/eclipse/linuxtools/internal/systemtap/ui/ide/editors/stp/STPCompletionProcessor.java
+++ b/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/src/org/eclipse/linuxtools/internal/systemtap/ui/ide/editors/stp/STPCompletionProcessor.java
@@ -369,7 +369,7 @@ public class STPCompletionProcessor implements IContentAssistProcessor, ITextHov
}
private boolean isTokenDelimiter(char c) {
- if (Character.isSpaceChar(c)) {
+ if (Character.isWhitespace(c)) {
return true;
}