diff options
author | snaka | 2009-08-03 14:38:27 +0000 |
---|---|---|
committer | snaka | 2009-08-03 14:38:27 +0000 |
commit | 9142761ed5b0e80359c14d867b6e3a7dfc651a8b (patch) | |
tree | 1e842e521c6c733da59b4a209b0d14b6aabd4ffd /maine_coon.js | |
parent | 173f4e754e99dde8976414a67a655230da51acc2 (diff) | |
download | vimperator-plugins-9142761ed5b0e80359c14d867b6e3a7dfc651a8b.tar.bz2 |
FIX: Multiline input behavior.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@34727 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'maine_coon.js')
-rw-r--r-- | maine_coon.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/maine_coon.js b/maine_coon.js index 6976630..b004e1e 100644 --- a/maine_coon.js +++ b/maine_coon.js @@ -38,7 +38,7 @@ let PLUGIN_INFO = <name lang="ja">メインクーン</name> <description>Make the screen larger</description> <description lang="ja">なるべくでかい画面で使えるように</description> - <version>2.2.2</version> + <version>2.2.3</version> <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author> <minVersion>2.0pre</minVersion> <maxVersion>2.0pre</maxVersion> @@ -343,6 +343,14 @@ let tagetIDs = (liberator.globalVariables.maine_coon_targets || '').split(/\s+/) }); } + { + // for multiline input + let cmdline = document.getElementById("liberator-commandline"); + messageBox.inputField.__defineGetter__("scrollWidth", function() { + return cmdline.clientWidth; + }); + } + around(commandline, 'open', function (next, args) { messageBox.collapsed = false; return next(); |