history_completer: make sort order configurable
commitd403ed8447be865564f19c2c4f3f983da0f03596
authorJohn Foerch <jjfoerch@earthlink.net>
Sat, 4 Jun 2011 18:20:02 +0000 (4 14:20 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Sat, 4 Jun 2011 18:24:37 +0000 (4 14:24 -0400)
tree9c825751e8cd693d443f46e34c0868ece934bda7
parentde864b0b7e895997ef7ac71846be518cae5fc4f5
history_completer: make sort order configurable

url_completion_sort_order: new user variable

history_completer, url_completer, read_url: $sort_order keyword argument

The new keyword argument $sort_order, taken by history_completer,
url_completer, and read_url, allows the caller to specify how to sort
the history and bookmark entries in the completions list.  The new
user variable 'url_completion_sort_order' gives the default sort order
used by read_url.
modules/content-buffer.js
modules/history.js