1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 14:27:59 +01:00

Fix closing the MOW after using hints.

This commit is contained in:
Kris Maglione
2010-09-24 09:50:03 -04:00
parent 3155e489aa
commit 519bf3b9c4
2 changed files with 4 additions and 5 deletions

View File

@@ -470,7 +470,7 @@ const Hints = Module("hints", {
this.timeout(function () { this.timeout(function () {
if (modes.extended & modes.HINTS) if (modes.extended & modes.HINTS)
modes.reset(); modes.pop();
this._hintMode.action(elem, elem.href || "", this._extendedhintCount); this._hintMode.action(elem, elem.href || "", this._extendedhintCount);
}, timeout); }, timeout);
return true; return true;
@@ -763,7 +763,7 @@ const Hints = Module("hints", {
if (this._validHints.length == 0) { if (this._validHints.length == 0) {
dactyl.beep(); dactyl.beep();
modes.reset(); modes.pop();
} }
else if (this._validHints.length == 1) else if (this._validHints.length == 1)
this._processHints(false); this._processHints(false);
@@ -833,8 +833,8 @@ const Hints = Module("hints", {
case mappings.getMapLeader(): case mappings.getMapLeader():
hints.escNumbers = !hints.escNumbers; hints.escNumbers = !hints.escNumbers;
if (hints.escNumbers && this._usedTabKey) // this._hintNumber not used normally, but someone may wants to toggle if (hints.escNumbers && this._usedTabKey)
this._hintNumber = 0; // <tab>s ? this._reset. Prevent to show numbers not entered. this._hintNumber = 0;
this._updateStatusline(); this._updateStatusline();
return; return;

View File

@@ -36,7 +36,6 @@ BUGS:
bookmark - they're being set after the observer triggers the autocmd event. bookmark - they're being set after the observer triggers the autocmd event.
- :messages is _very_ slow for message history of several thousand lines -> - :messages is _very_ slow for message history of several thousand lines ->
Unresponsive Script: util.js:79 (sometimes xmlToDom() and elsewhere) Unresponsive Script: util.js:79 (sometimes xmlToDom() and elsewhere)
- The MOW shouldn't close when executing hints and ;F isn't working.
FEATURES: FEATURES:
9 Add quoting help tag 9 Add quoting help tag