diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-11-08 13:06:04 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-11-08 13:37:24 +0100 |
| commit | 757abc02702222bef853de873f92b410b5a7d31a (patch) | |
| tree | cd104e63815947a7a79c7f31e944f6c2c45e088b /view.c | |
| parent | cdecc540371bce1ca3666559b1da7adfe7363db2 (diff) | |
| download | vis-757abc02702222bef853de873f92b410b5a7d31a.tar.gz vis-757abc02702222bef853de873f92b410b5a7d31a.tar.xz | |
view: do not highlight matching symbols if selection is active
Diffstat (limited to 'view.c')
| -rw-r--r-- | view.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -417,7 +417,7 @@ void view_draw(View *view) { size_t pos = view_cursors_pos(c); if (view_coord_get(view, pos, &c->line, &c->row, &c->col)) { c->line->cells[c->col].cursor = true; - if (view->ui) { + if (view->ui && !c->sel) { Line *line_match; int col_match; size_t pos_match = text_bracket_match_except(view->text, pos, "<>"); if (pos != pos_match && view_coord_get(view, pos_match, &line_match, NULL, &col_match)) { |
