mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
Revert "Add completion styling"
This reverts commiteca1f90cf4. Several changes were requested, and it seemed simplest to revert it. gdb/ChangeLog 2020-05-23 Tom Tromey <tom@tromey.com> Revert commiteca1f90c: * 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.
This commit is contained in:
@@ -98,21 +98,6 @@ cli_style_option metadata_style ("metadata", ui_file_style::DIM);
|
||||
|
||||
/* See cli-style.h. */
|
||||
|
||||
cli_style_option completion_prefix_style ("completion-prefix",
|
||||
ui_file_style::DIM);
|
||||
|
||||
/* See cli-style.h. */
|
||||
|
||||
cli_style_option completion_difference_style ("completion-difference",
|
||||
ui_file_style::MAGENTA);
|
||||
|
||||
/* See cli-style.h. */
|
||||
|
||||
cli_style_option completion_suffix_style ("completion-suffix",
|
||||
ui_file_style::NONE);
|
||||
|
||||
/* See cli-style.h. */
|
||||
|
||||
cli_style_option::cli_style_option (const char *name,
|
||||
ui_file_style::basic_color fg)
|
||||
: changed (name),
|
||||
@@ -381,33 +366,6 @@ your data, for example \"<unavailable>\""),
|
||||
&style_set_list, &style_show_list,
|
||||
false);
|
||||
|
||||
completion_prefix_style.add_setshow_commands (no_class, _("\
|
||||
Completion prefix display styling.\n\
|
||||
Configure completion prefix colors and display intensity\n\
|
||||
The \"completion-prefix\" style is used when GDB displays the shared\n\
|
||||
prefix common to the possible completions."),
|
||||
&style_set_list,
|
||||
&style_show_list,
|
||||
false);
|
||||
|
||||
completion_difference_style.add_setshow_commands (no_class, _("\
|
||||
Completion difference display styling.\n\
|
||||
Configure completion difference colors and display intensity\n\
|
||||
The \"completion-difference\" style is used when GDB displays the\n\
|
||||
character that differs between the possible completions."),
|
||||
&style_set_list,
|
||||
&style_show_list,
|
||||
false);
|
||||
|
||||
completion_suffix_style.add_setshow_commands (no_class, _("\
|
||||
Completion suffix display styling.\n\
|
||||
Configure completion suffix colors and display intensity\n\
|
||||
The \"completion-suffix\" style is used when GDB displays the suffix\n\
|
||||
of the possible completions."),
|
||||
&style_set_list,
|
||||
&style_show_list,
|
||||
false);
|
||||
|
||||
tui_border_style.add_setshow_commands (no_class, _("\
|
||||
TUI border display styling.\n\
|
||||
Configure TUI border colors\n\
|
||||
|
||||
Reference in New Issue
Block a user