mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
change width listbox, change output format
This commit is contained in:
parent
4be6c1c2c5
commit
474d22d6c9
@ -3079,7 +3079,7 @@ edit_select_definition_dialog (WEdit * edit, char *match_expr, int max_len, int
|
||||
|
||||
/* fill the listbox with the completions */
|
||||
for (i = 0; i < num_lines; i++) {
|
||||
label_def = g_strdup_printf ("%s>%s:%ld", def_hash[i].short_define, def_hash[i].filename, def_hash[i].line);
|
||||
label_def = g_strdup_printf ("%s -> %s:%ld", def_hash[i].short_define, def_hash[i].filename, def_hash[i].line);
|
||||
listbox_add_item (def_list, LISTBOX_APPEND_AT_END, 0, label_def, &def_hash[i]);
|
||||
g_free(label_def);
|
||||
}
|
||||
@ -3180,7 +3180,7 @@ edit_get_match_keyword_cmd (WEdit *edit)
|
||||
}
|
||||
g_free (path);
|
||||
|
||||
max_len = 50;
|
||||
max_len = 60;
|
||||
word_len = 0;
|
||||
if ( num_def > 0 ) {
|
||||
edit_select_definition_dialog (edit, match_expr, max_len, word_len,
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef MC_EDIT_ETAGS_H
|
||||
#define MC_EDIT_ETAGS_H 1
|
||||
|
||||
#define MAX_DEFINITIONS 50
|
||||
#define MAX_DEFINITIONS 60
|
||||
#define SHORT_DEF_LEN 30
|
||||
#define LONG_DEF_LEN 40
|
||||
#define LINE_DEF_LEN 16
|
||||
|
Loading…
Reference in New Issue
Block a user