aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Baumstark2012-01-22 13:46:17 +0100
committerNiklas Baumstark2012-04-10 23:54:37 +0200
commit76b26a8a25522300b9e6e463e75397693fa2bb53 (patch)
treea90a3f3a066ff8e0617844382c0175a49091bb57
parent53f8158919d8b916818c54c6a9e4bf12d28df0f0 (diff)
downloadvimium-76b26a8a25522300b9e6e463e75397693fa2bb53.tar.bz2
really get more history items
-rw-r--r--background_page.html8
-rw-r--r--fuzzyMode.js2
2 files changed, 6 insertions, 4 deletions
diff --git a/background_page.html b/background_page.html
index 0f86e3ce..c065333d 100644
--- a/background_page.html
+++ b/background_page.html
@@ -308,9 +308,11 @@
};
function getHistory(args, port) {
- chrome.history.search({ text: '',
- maxResults: args.maxResults || 1000 },
- function(history) {
+ chrome.history.search({
+ text: '',
+ maxResults: args.maxResults || 1000,
+ startTime: 0,
+ }, function(history) {
port.postMessage({history:history});
});
};
diff --git a/fuzzyMode.js b/fuzzyMode.js
index 32f54eb9..90ba0aa4 100644
--- a/fuzzyMode.js
+++ b/fuzzyMode.js
@@ -11,7 +11,7 @@ var fuzzyMode = (function() {
';' : [ 'goto', '%s' ],
'?' : [ 'search', function(query) { return utils.createSearchUrl(query) } ],
}),
- new completion.FuzzyHistoryCompleter(500),
+ new completion.FuzzyHistoryCompleter(2000),
new completion.FuzzyBookmarkCompleter(),
new completion.FuzzyTabCompleter(),
]);