diff --git a/common/locale/en-US/pattern.xml b/common/locale/en-US/pattern.xml index e779db3c..6ecac3a0 100644 --- a/common/locale/en-US/pattern.xml +++ b/common/locale/en-US/pattern.xml @@ -45,7 +45,7 @@

- / + /]]> /pattern

Find pattern starting at the current caret position.

@@ -75,7 +75,7 @@
- ? + ?]]> ?pattern

@@ -86,7 +86,7 @@ - n + n]]> n

Find next. Repeat the last find.

@@ -94,7 +94,7 @@
- N + N]]> N

Find previous. Repeat the last find in the opposite direction.

@@ -102,7 +102,7 @@
- * + *]]> *

Search forward for the next occurrence of the word under cursor.

@@ -110,7 +110,7 @@
- # + #]]> #

Search backward for the previous occurrence of the word under cursor.

diff --git a/common/modules/finder.jsm b/common/modules/finder.jsm index e8108215..a0c21bcc 100644 --- a/common/modules/finder.jsm +++ b/common/modules/finder.jsm @@ -225,29 +225,29 @@ var RangeFinder = Module("rangefinder", { var myModes = config.browserModes.concat([modes.CARET]); mappings.add(myModes, - ["/"], "Find a pattern starting at the current caret position", + ["/", ""], "Find a pattern starting at the current caret position", function () { rangefinder.openPrompt(modes.FIND_FORWARD); }); mappings.add(myModes, - ["?"], "Find a pattern backward of the current caret position", + ["?", ""], "Find a pattern backward of the current caret position", function () { rangefinder.openPrompt(modes.FIND_BACKWARD); }); mappings.add(myModes, - ["n"], "Find next", + ["n", ""], "Find next", function () { rangefinder.findAgain(false); }); mappings.add(myModes, - ["N"], "Find previous", + ["N", ""], "Find previous", function () { rangefinder.findAgain(true); }); - mappings.add(myModes.concat([modes.CARET, modes.TEXT_EDIT]), ["*"], + mappings.add(myModes.concat([modes.CARET, modes.TEXT_EDIT]), ["*", ""], "Find word under cursor", function () { rangefinder.find(Buffer.currentWord(buffer.focusedFrame, true), false); rangefinder.findAgain(); }); - mappings.add(myModes.concat([modes.CARET, modes.TEXT_EDIT]), ["#"], + mappings.add(myModes.concat([modes.CARET, modes.TEXT_EDIT]), ["#", ""], "Find word under cursor backwards", function () { rangefinder.find(Buffer.currentWord(buffer.focusedFrame, true), true);