Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2001-12-11 09:36:44 -0500
committerDani Megert2001-12-11 09:36:44 -0500
commit04062e004825b71606809215c907118c7b350cbc (patch)
treee943be5989edb0dc403c92a039673f25beb0159f
parentb2bc57e0f7bcb003ec847a9eee71a6e42eefff70 (diff)
downloadeclipse.platform.text-04062e004825b71606809215c907118c7b350cbc.tar.gz
eclipse.platform.text-04062e004825b71606809215c907118c7b350cbc.tar.xz
eclipse.platform.text-04062e004825b71606809215c907118c7b350cbc.zip
Fixed bug 5620: Search: control keys for navigating the list of search results
-rw-r--r--org.eclipse.search/buildnotes_search.html2
-rw-r--r--org.eclipse.search/search/org/eclipse/search/internal/ui/SearchResultViewer.java8
2 files changed, 10 insertions, 0 deletions
diff --git a/org.eclipse.search/buildnotes_search.html b/org.eclipse.search/buildnotes_search.html
index 6cdea1d1e..7ea64836e 100644
--- a/org.eclipse.search/buildnotes_search.html
+++ b/org.eclipse.search/buildnotes_search.html
@@ -31,6 +31,8 @@ Known deficiencies</h2>
Problem reports fixed</h2>
<a href="http://dev.eclipse.org/bugs/show_bug.cgi?id=5868">5868</a> Define
working set does too much work in the UI thread
+<br><a href="http://dev.eclipse.org/bugs/show_bug.cgi?id=5620">5620</a>
+Search: control keys for navigating the list of search results
<p>
<hr SIZE=0 WIDTH="100%">
<h1>
diff --git a/org.eclipse.search/search/org/eclipse/search/internal/ui/SearchResultViewer.java b/org.eclipse.search/search/org/eclipse/search/internal/ui/SearchResultViewer.java
index b863f4e29..bd5bc582b 100644
--- a/org.eclipse.search/search/org/eclipse/search/internal/ui/SearchResultViewer.java
+++ b/org.eclipse.search/search/org/eclipse/search/internal/ui/SearchResultViewer.java
@@ -278,6 +278,14 @@ class SearchResultViewer extends TableViewer {
new RemoveResultAction(SearchResultViewer.this).run();
return; // performance
}
+ if (e.stateMask == SWT.CTRL && e.character == 'E'-0x40) {
+ showNextResult();
+ return; // performance
+ }
+ if (e.stateMask == (SWT.CTRL | SWT.SHIFT) && e.character == 'E'-0x40) {
+ showPreviousResult();
+ return; // performance
+ }
}
});
}

Back to the top