aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-05-24 20:25:09 -0600
committerTom Tromey <tom@tromey.com>2020-05-24 20:27:48 -0600
commit0a4f5f8cae7ced715aca791bf4b212f43165119c (patch)
tree93b70ac665a17a33c0d732e7746f62b3e6f1c9b3 /gdb/doc
parentddb9ebd500c5accf0128b703a8154ef710bf604c (diff)
downloadgdb-0a4f5f8cae7ced715aca791bf4b212f43165119c.zip
gdb-0a4f5f8cae7ced715aca791bf4b212f43165119c.tar.gz
gdb-0a4f5f8cae7ced715aca791bf4b212f43165119c.tar.bz2
Revert "Add completion styling"
This reverts commit eca1f90cf47a2edc1a1cd22e12c6c0f3b900654e. Several changes were requested, and it seemed simplest to revert it. gdb/ChangeLog 2020-05-23 Tom Tromey <tom@tromey.com> Revert commit eca1f90c: * NEWS: Remove entry for completion styling. * completer.c (_rl_completion_prefix_display_length): Move declaration later. (gdb_fnprint): Revert. (gdb_display_match_list_1): Likewise. * cli/cli-style.c (completion_prefix_style) (completion_difference_style, completion_suffix_style): Remove. (_initialize_cli_style): Revert. * cli/cli-style.h (completion_prefix_style) (completion_difference_style, completion_suffix_style): Don't declare. gdb/doc/ChangeLog 2020-05-23 Tom Tromey <tom@tromey.com> * gdb.texinfo (Output Styling): Don't mention completion styling. (Editing): Don't mention readline completion styling. gdb/testsuite/ChangeLog 2020-05-23 Tom Tromey <tom@tromey.com> * gdb.base/style.exp: Remove completion styling test. * lib/gdb-utils.exp (style): Remove completion styles.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo20
2 files changed, 5 insertions, 20 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 8a86047..5a39643 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,10 @@
2020-05-23 Tom Tromey <tom@tromey.com>
+ * gdb.texinfo (Output Styling): Don't mention completion styling.
+ (Editing): Don't mention readline completion styling.
+
+2020-05-23 Tom Tromey <tom@tromey.com>
+
* gdb.texinfo (Output Styling): Mention completion styling.
(Editing): Mention readline completion styling.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 10d4173..6418162 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -25271,10 +25271,6 @@ This command accepts the current line for execution and fetches the
next line relative to the current line from the history for editing.
Any argument is ignored.
-Note that @value{GDBN} ignores the Readline
-@code{colored-completion-prefix} setting. Instead, this is handled
-using the style settings (@xref{Output Styling}).
-
@node Command History
@section Command History
@cindex command history
@@ -25608,22 +25604,6 @@ general styling to @value{GDBN}. @xref{TUI Configuration}.
Control the styling of the active TUI border; that is, the TUI window
that has the focus.
-@item completion-prefix
-Control the styling of the completion prefix. When completing, the
-common prefix of completion candidates will be shown with this style.
-By default, this style's intensity is dim.
-
-@item completion-difference
-Control the styling of the completion difference character. When
-completing, the character that differs between different completions
-will be shown using this style. By default, this style's foreground
-color is magenta.
-
-@item completion-suffix
-Control the styling of the completion suffix. When completing, the
-suffix of completion candidates will be shown with this style. By
-default, this style is the same as the default styling.
-
@end table
@node Numbers