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:
parent
da12b5d0d1
commit
af3c4b8b71
@ -484,6 +484,11 @@ function onFindBarKeyPress(evt)
|
||||
if (!findString.value)
|
||||
return;
|
||||
|
||||
if (evt.ctrlKey) {
|
||||
document.getElementById("highlight").click();
|
||||
return;
|
||||
}
|
||||
|
||||
if (evt.shiftKey)
|
||||
findPrevious();
|
||||
else
|
||||
|
||||
@ -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">
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user