Bug 294609: Restore Ctrl+Enter to highlight for the Find Bar; p=gavin.sharp@gmail.com, r=mconnor, a=asa

git-svn-id: svn://10.0.0.236/trunk@174760 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gandalf%firefox.pl 2005-06-17 04:40:02 +00:00
parent da12b5d0d1
commit af3c4b8b71
2 changed files with 6 additions and 1 deletions

View File

@ -484,6 +484,11 @@ function onFindBarKeyPress(evt)
if (!findString.value)
return;
if (evt.ctrlKey) {
document.getElementById("highlight").click();
return;
}
if (evt.shiftKey)
findPrevious();
else

View File

@ -12,7 +12,7 @@
<!ENTITY findCloseButton.tooltip "Close Find bar">
<!ENTITY highlight.label "Highlight all">
<!ENTITY highlight.accesskey "a">
<!ENTITY highlight.tooltip "Highlight all occurrences of the phrase">
<!ENTITY highlight.tooltip "Highlight all occurrences of the phrase (Ctrl+Enter)">
<!ENTITY caseSensitiveCheckbox.label "Match case">
<!ENTITY caseSensitiveCheckbox.accesskey "c">