Would it be useful to extend tab-completion to work for LFUN-arguments of LFUNs? For example, the following commands accept LFUNs as arguments:
repeat command-sequence inset-forall buffer-forall If this would be useful, I have the following untested implementation in mind: 1. GuiCommandBuffer::complete would stay the same. 2. GuiCommandBuffer::completions would instead only complete the right-most word. 3. Instead of replacing the text in the text box, GuiCommandBuffer::itemSelected would add on to it. Note that the cursor position is not taken into account. Thus, if the input text is "command-sequence char-for<cursor is here>; char-delete-forward" then the completion functions would try to complete "char-delete-forward" instead of the desired "char-for". I would look at this also if it would be desired. Any comments? Thanks, Scott