[PATCH] gdb/tui: Add command completion to winheight command.
Pedro Alves
palves@redhat.com
Sun Jul 12 14:59:00 GMT 2015
On 07/12/2015 09:51 AM, Andrew Burgess wrote:
> gdb/ChangeLog:
>
> * tui/tui-win.c (window_name_completer): New function.
> (focus_completer): Call window_name_completer. All old content
> moved into window_name_completer.
> (winheight_completer): New function.
> (_initialize_tui_win): Rename variable. Add completer to
> winheight command. Update doc string on winheight.
>
This is OK.
> -/* Complete possible window names to focus on. TEXT is the complete text
> - entered so far, WORD is the word currently being completed. */
> +/* Generic window name completion function. Complete window name pointed
> + to by TEXT and WORD. If INCLUDE_NEXT_PREV_P is true then the special
> + window names 'next' and 'prev' are also included in the list of possible
> + completions (if appropriate). */
>
I don't really understand what "if appropriate" is referring to, though.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list