mirror of git://git.sv.gnu.org/nano.git
in browser_refresh(), make sure the highlighting of the currently
selected file or directory respects the -D/--boldtext option git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3492 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
26dd1b66de
commit
02a7f84412
11
ChangeLog
11
ChangeLog
|
@ -25,11 +25,12 @@ CVS code -
|
|||
main(), display_string(), and do_credits(). (DLR)
|
||||
- Add the ability to use bold text instead of reverse video
|
||||
text, via the -D/--boldtext command line option and the
|
||||
"boldtext" rcfile option. Changes to do_help(), usage(),
|
||||
main(), update_statusbar_prompt(), do_yesno_prompt(),
|
||||
titlebar(), statusbar(), onekey(), edit_draw(),
|
||||
do_replace_highlight(), nano.1, nanorc.5, nano.texi, and
|
||||
nanorc.sample. (DLR, suggested by Benno Schulenberg)
|
||||
"boldtext" rcfile option. Changes to browser_refresh(),
|
||||
do_help(), usage(), main(), update_statusbar_prompt(),
|
||||
do_yesno_prompt(), titlebar(), statusbar(), onekey(),
|
||||
edit_draw(), do_replace_highlight(), nano.1, nanorc.5,
|
||||
nano.texi, and nanorc.sample. (DLR, suggested by Benno
|
||||
Schulenberg)
|
||||
- Add the ability to use self-contained color syntaxes from
|
||||
separate files, accessible in the nanorc via the "include"
|
||||
command. New function parse_include(); changes to
|
||||
|
|
|
@ -561,7 +561,7 @@ void browser_refresh(void)
|
|||
|
||||
/* Highlight the currently selected file or directory. */
|
||||
if (i == selected)
|
||||
wattron(edit, A_REVERSE);
|
||||
wattron(edit, reverse_attr);
|
||||
|
||||
blank_line(edit, line, col, longest);
|
||||
mvwaddstr(edit, line, col, disp);
|
||||
|
@ -598,7 +598,7 @@ void browser_refresh(void)
|
|||
mvwaddnstr(edit, line, col - strlen(foo), foo, foo_len);
|
||||
|
||||
if (i == selected)
|
||||
wattroff(edit, A_REVERSE);
|
||||
wattroff(edit, reverse_attr);
|
||||
|
||||
/* Add some space between the columns. */
|
||||
col += 2;
|
||||
|
|
Loading…
Reference in New Issue