[PATCHSET,3/4] Fix various issue in TUI
Commit Message
This patch fixes a couple of problems with documentation of TUI
features.
OK?
2014-12-31 Eli Zaretskii <eliz@gnu.org>
* gdb/tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command):
Doc fix.
* gdb/doc/gdb.texinfo (TUI Commands): Document the possible
values of NAME argument to 'winheight' command. Explain the
effect of 'tabset' setting better.
Comments
On 12/31/2014 05:50 PM, Eli Zaretskii wrote:
> This patch fixes a couple of problems with documentation of TUI
> features.
>
> OK?
Looks fine to me.
>
> 2014-12-31 Eli Zaretskii <eliz@gnu.org>
>
> * gdb/tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command):
> Doc fix.
>
> * gdb/doc/gdb.texinfo (TUI Commands): Document the possible
> values of NAME argument to 'winheight' command. Explain the
> effect of 'tabset' setting better.
Recall that gdb/doc/ has its own ChangeLog.
> @item tabset @var{nchars}
> @kindex tabset
> -Set the width of tab stops to be @var{nchars} characters.
> +Set the width of tab stops to be @var{nchars} characters. This
> +setting affects the display of TAB characters in the source and
> +assembly windows.
> @end table
(this is yet another setting that would be nicer if the TUI reflected
updates immediately.)
Thanks,
Pedro Alves
> Date: Mon, 05 Jan 2015 19:29:20 +0000
> From: Pedro Alves <palves@redhat.com>
>
> On 12/31/2014 05:50 PM, Eli Zaretskii wrote:
> > This patch fixes a couple of problems with documentation of TUI
> > features.
> >
> > OK?
>
> Looks fine to me.
Thanks, pushed.
@@ -403,10 +403,10 @@
Scroll window backward.\n\
Usage: - [win] [n]\n"));
add_com ("<", class_tui, tui_scroll_left_command, _("\
-Scroll window forward.\n\
+Scroll window text to the left.\n\
Usage: < [win] [n]\n"));
add_com (">", class_tui, tui_scroll_right_command, _("\
-Scroll window backward.\n\
+Scroll window text to the right.\n\
Usage: > [win] [n]\n"));
if (xdb_commands)
add_com ("w", class_xdb, tui_xdb_set_win_height_command, _("\
@@ -24384,11 +24384,15 @@
@kindex winheight
Change the height of the window @var{name} by @var{count}
lines. Positive counts increase the height, while negative counts
-decrease it.
+decrease it. The @var{name} parameter can be one of @code{src} (the
+source window), @code{cmd} (the command window), @code{asm} (the
+disassembly window), or @code{regs} (the register display window).
@item tabset @var{nchars}
@kindex tabset
-Set the width of tab stops to be @var{nchars} characters.
+Set the width of tab stops to be @var{nchars} characters. This
+setting affects the display of TAB characters in the source and
+assembly windows.
@end table
@node TUI Configuration