1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 14:34:11 +01:00

Make 'cpt' a stringlist. Add support for native autocomplete providers.

This commit is contained in:
Kris Maglione
2011-09-26 15:52:51 -04:00
parent 2ca292f55d
commit 45218f4141
15 changed files with 166 additions and 75 deletions

View File

@@ -279,9 +279,9 @@ var KeyProcessor = Class("KeyProcessor", {
return KeyArgProcessor(this, map, true, "motion");
return this.execute(map, {
keyEvents: this.keyEvents,
command: this.command,
count: this.count,
keyEvents: events.keyEvents,
keypressEvents: this.events
});
}
@@ -313,7 +313,8 @@ var KeyArgProcessor = Class("KeyArgProcessor", KeyProcessor, {
let args = {
command: this.parent.command,
count: this.count || this.parent.count,
events: this.parent.events.concat(this.events)
keyEvents: events.keyEvents,
keypressEvents: this.parent.events.concat(this.events)
};
args[this.argName] = this.command;