1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 22:14:12 +01:00

Revert 975d3f90c8a1 for now.

The magical powers of getCurrentWord() have temporarily won.
This commit is contained in:
Doug Kearns
2010-09-23 20:21:11 +10:00
parent ad8b0de148
commit 06215e2eb9
3 changed files with 6 additions and 8 deletions

View File

@@ -195,14 +195,14 @@ const RangeFinder = Module("rangefinder", {
"Find word under cursor",
function () {
rangefinder._found = false;
rangefinder.onSubmit(buffer.currentWord, false);
rangefinder.onSubmit(buffer.getCurrentWord(), false);
});
mappings.add(myModes.concat([modes.CARET, modes.TEXTAREA]), ["#"],
"Find word under cursor backwards",
function () {
rangefinder._found = false;
rangefinder.onSubmit(buffer.currentWord, true);
rangefinder.onSubmit(buffer.getCurrentWord(), true);
});
},