1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-10 23:55:45 +01:00

Add descriptions for mappable modes.

This commit is contained in:
Kris Maglione
2010-12-30 17:59:57 -05:00
parent f3903dc3d2
commit 2cb3135220
4 changed files with 119 additions and 49 deletions

View File

@@ -147,8 +147,14 @@ var RangeFinder = Module("rangefinder", {
}, {
modes: function () {
/* Must come before commandline. */
modes.addMode("FIND_FORWARD", true);
modes.addMode("FIND_BACKWARD", true);
modes.addMode("FIND_FORWARD", {
extended: true,
description: "Forward Find mode, active when typing search input"
});
modes.addMode("FIND_BACKWARD", {
extended: true,
description: "Forward Find mode, active when typing search input"
});
},
commandline: function () {
commandline.registerCallback("change", modes.FIND_FORWARD, this.closure.onKeyPress);