On Nov 29, 2008, at 4:28 PM, Stefan Schimanski wrote:

Hi!

In fact there is some logic in the autocompletion to remember the last choice. I fear it is not working correctly and should be fixed (and extended).

It is not that obvious what exactly should be remembered. Probably it would be enough to remember just a fixed number of completions and put those in front to be selected first on tab. Everytime a selection is chosen, the item it put in front again. So next time you want press tab on the same prefix, you get the same completion again.

Regards,
 Stefan

Yes, that would be perfect. Having a ranking of autocompletions accepted with this rule would be nice and I think it would solve it.

As a simple example of the problems no:if one attempts to type the sequence (within math): \sum \beta \sum \beta \sum ... auto-completion does not help very much. The problem is it will forget what you wanted to complete \su with after completing typing \beta(\beta, then \sagitarius, then \subarray are given priority to \sum) and viceversa.

This case would be fixed with the suggested rule.

I really value having the autocompletion feature in LyX. I hope it can get an improved memory!

-Ivan

Reply via email to