1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-28 15:12:26 +01:00
This commit is contained in:
Kris Maglione
2011-10-05 05:45:14 -04:00
parent c6ac63b5f9
commit e498c0662a
2 changed files with 7 additions and 1 deletions

View File

@@ -1139,7 +1139,6 @@ var CommandLine = Module("commandline", {
if (!this.session.active)
return;
this.context.updateAsync = true;
this.reset(show, tabPressed);
this.wildIndex = 0;
this._caret = this.caret;
@@ -1179,6 +1178,7 @@ var CommandLine = Module("commandline", {
if (show) {
this.itemList.update();
this.context.updateAsync = true;
if (this.haveType("list"))
this.itemList.visible = true;
this.selected = null;

View File

@@ -89,6 +89,12 @@ var Messages = Module("messages", {
return arguments.length > 2 ? default_ : value;
},
/**
* Exports known localizable strings to a properties file.
*
* @param {string|nsIFile} {file} The file to which to export
* the strings.
*/
export: function export_(file) {
let { Buffer, commands, hints, io, mappings, modes, options, sanitizer } = overlay.activeModules;
file = io.File(file);