General :
K-Meleon Web Browser Forum
General discussion about K-Meleon
Re: Autocompletion in K-M?
Posted by:
asmpgmr
Date: April 16, 2003 03:18PM
MonkeeSage,
One big problem in implementing autocompletion - it requires an in-memory global history list or an interface to access it from Mozilla which currently doesn't exist. You certainly don't want to re-read the history.txt file every single time a user is typing into the URL bar. Also it would be much better if the list was sorted.
Re: Autocompletion in K-M?
Posted by:
MonkeeSage
Date: April 16, 2003 10:01PM
asmpgmr:
Along those lines, I was thinking reading \ parsing history.txt could be done once per session, or every N urls or something to that effect.That guy's autocomplete class just takes a very simple structure (item-per-line) and doesn't have to have all that IEnum crud that the standard IAutoComplete class does, should be simple enough to fill on K-M init (and it could also be limited to n number of items, too -- e.g., 100 items, &c).
Shelumi`El
Jordan
S.D.G
Re: Autocompletion in K-M?
Posted by:
asmpgmr
Date: April 17, 2003 02:35AM
MonkeeSage,
The history data is read in and parsed each time the history window is opened, once it's closed the data isn't kept. As it stands the embedded Mozilla code needs to be enhanced to allow embeddors better support for stuff like deleting history entries, clearing the entire history, a listener to allow an open history window to be automatically updated with new entries, and direct access to the history data which would allow the implementation of autocompletion.