From 6170c1b2576ad73c0b94bf4a11aef48b90d140dd Mon Sep 17 00:00:00 2001
From: hogelog
Date: Fri, 19 Dec 2008 07:09:22 +0000
Subject: * show correct statusline. * remove commentout code.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@27063 d0d07461-0603-4401-acd4-de1884942a52
---
char-hints-mod2.js | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
(limited to 'char-hints-mod2.js')
diff --git a/char-hints-mod2.js b/char-hints-mod2.js
index 9473bc9..b064f58 100644
--- a/char-hints-mod2.js
+++ b/char-hints-mod2.js
@@ -24,7 +24,6 @@ set charhintshow=uppercase|lowercase:
charhint show in uppercase|lowercase
== TODO ==
- * support hinttimeout.
]]>
;
//}}}
@@ -162,17 +160,16 @@ set charhintshow=uppercase|lowercase:
}
let hintString = commandline.command;
commandline.command = hintString.replace(inputRegex, "");
- //commandline.command = hintString.replace(/[A-Z]+/g, "");
charhints.original.onInput(event);
showCharHints();
for(let i=0,l=hintString.length;i0) {
- let numstr = String(chars2num(hintChars.join("")));
+ let hintinput = hintChars.join("");
+ let numstr = String(chars2num(hintinput));
// no setTimeout, don't run nice
setTimeout(function () {
for(let i=0,l=numstr.length;i