ここ数日のVimperatorのバグを直すつもりのパッチ
とりあえずこれで良さそう?
diff --git a/content/options.js b/content/options.js
index be173f5..4777c42 100644
--- a/content/options.js
+++ b/content/options.js
@@ -947,7 +947,7 @@ function Options() //{{{
let context = CompletionContext("");
let res = this.completer(context);
if (!res)
- res = context.allItems.map(function (item) [item.text]);
+ res = context.allItems.items.map(function (item) [item.text]);
return Array.concat(values).every(
function (value) res.some(function (item) item[0] == value));
},
あと,タブにOverlayされるとTreeStyleTabがぶっ壊れるので回避してみる.TODO見る限りは,将来的にはset guioptionsでどうにかできるようになる模様.
diff --git a/content/tabs.js b/content/tabs.js
index 25f4c94..3f86a7e 100644
--- a/content/tabs.js
+++ b/content/tabs.js
@@ -220,8 +220,8 @@ function Tabs() //{{{
validator: options.validateCompleter
});
// TODO: Add option, or only apply when go~=[nN]
- styles.addSheet("tab-binding", "chrome://*",
- ".tabbrowser-tab { -moz-binding: url(chrome://liberator/content/vimperator/bindings.xml#tab) !important; }", true);
+ // styles.addSheet("tab-binding", "chrome://*",
+ // ".tabbrowser-tab { -moz-binding: url(chrome://liberator/content/vimperator/bindings.xml#tab) !important; }", true);
}
スポンサーサイト
2008/11/29 22:24 | Firefox | トラックバック(0) | コメント(0)
コメントの投稿
トラックバック
トラックバックURL
→http://relaxedcolumn.blog8.fc2.com/tb.php/135-43e6358e
コメント