diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-10-24 21:46:39 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-10-24 21:47:36 +0200 |
commit | 440756af947322d956d10311956f38dfd721c047 (patch) | |
tree | f9f1b1864d7a9b766498526c9b5b71707ce1da76 /source/view.c | |
parent | b19ab62e1796a0570e6943e04aed904970f9e6e8 (diff) |
Option to disable/enable the highlighting of match.
Diffstat (limited to 'source/view.c')
-rw-r--r-- | source/view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/view.c b/source/view.c index 30a6da14..a8d027b7 100644 --- a/source/view.c +++ b/source/view.c @@ -698,7 +698,7 @@ static void update_callback ( textbox *t, unsigned int index, void *udata, TextB // Move into list view. textbox_text ( t, text ); - if ( state->tokens ) { + if ( state->tokens && config.show_match ) { PangoAttrList *list = textbox_get_pango_attributes ( t ); if ( list != NULL ) { pango_attr_list_ref ( list ); |