use Ctrl+Enter for scrolling
svn: r10117
This commit is contained in:
parent
154595d454
commit
7f394fe73d
|
@ -51,8 +51,8 @@ function InitializeSearch() {
|
|||
+' font-family: arial, sans-serif; margin: 0em 0em 1em 0em;'
|
||||
+' padding: 0.5em; background-color: #f0f0f0;">'
|
||||
+'<ul style="padding: 0em; margin: 0.5em 1.5em;">'
|
||||
+'<li>Hit <tt>PageUp</tt>/<tt>PageDown</tt> and <tt>Enter</tt> to scroll'
|
||||
+' through the results.</li>'
|
||||
+'<li>Hit <tt>PageUp</tt>/<tt>PageDown</tt> and <tt>Ctrl+Enter</tt> to'
|
||||
+' scroll through the results.</li>'
|
||||
+'<li>Use “<tt>M:<i>str</i></tt>” to match only identifiers'
|
||||
+' from modules that match “<tt><i>str</i></tt>”;'
|
||||
+' “<tt>M:</tt>” by itself will restrict results to bound'
|
||||
|
@ -372,7 +372,7 @@ function HandleKeyEvent(event) {
|
|||
if (typeof event == "string") key = event;
|
||||
else if (event) {
|
||||
switch (event.which || event.keyCode) {
|
||||
case 13: key = "Enter"; break;
|
||||
case 13: if (event.ctrlKey) key = "Enter"; break;
|
||||
case 33: key = "PgUp"; break;
|
||||
case 34: key = "PgDn"; break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user