Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Inglis2003-09-26 20:46:14 +0000
committerDavid Inglis2003-09-26 20:46:14 +0000
commit7348d15aa0e23d4a6828554b26f76d29bc4b33ae (patch)
tree580918b45eb72d6b53c925eba1d21d43b562e513
parentdcbbea5b74a1234e7a9481da96c90e787b644599 (diff)
downloadorg.eclipse.cdt-7348d15aa0e23d4a6828554b26f76d29bc4b33ae.tar.gz
org.eclipse.cdt-7348d15aa0e23d4a6828554b26f76d29bc4b33ae.tar.xz
org.eclipse.cdt-7348d15aa0e23d4a6828554b26f76d29bc4b33ae.zip
fixed bug#43776
-rw-r--r--core/org.eclipse.cdt.ui/ChangeLog5
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CWordFinder.java1
2 files changed, 6 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.ui/ChangeLog b/core/org.eclipse.cdt.ui/ChangeLog
index 2b74e4e75c6..f8670516403 100644
--- a/core/org.eclipse.cdt.ui/ChangeLog
+++ b/core/org.eclipse.cdt.ui/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-26 David Inglis
+ fixes: https://bugs.eclipse.org/bugs/show_bug.cgi?id=43776
+
+ * src/org/eclipse/cdt/internal/ui/text/CWordFinder.java
+
2003-09-25 Andrew Niefer
-bug43129 - Search: Cannot search for definitions of global variables
- modify UI to allow selecting Definitions for more items
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CWordFinder.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CWordFinder.java
index fb1d4243836..010cd6f6c6b 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CWordFinder.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CWordFinder.java
@@ -175,6 +175,7 @@ public class CWordFinder
while(pos >= 0) {
c = document.getChar( pos );
if(functionend == -1 && c == ' ' ) {
+ pos--;
continue;
}

Back to the top