Mercurial > vim
comparison src/hardcopy.c @ 29328:60977de70684 v9.0.0007
patch 9.0.0007: no support for double, dotted and dashed underlines
Commit: https://github.com/vim/vim/commit/84f546363068e4ddfe14a8a2a2322bb8d3a25417
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 29 18:39:11 2022 +0100
patch 9.0.0007: no support for double, dotted and dashed underlines
Problem: No support for double, dotted and dashed underlines.
Solution: Add the termcap entries and highlight modes. (closes https://github.com/vim/vim/issues/9553)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 29 Jun 2022 19:45:03 +0200 |
parents | fb4c30606b4a |
children | 9716c7d24c12 |
comparison
equal
deleted
inserted
replaced
29327:4675995a5b8a | 29328:60977de70684 |
---|---|
291 | 291 |
292 pattr->bold = (highlight_has_attr(hl_id, HL_BOLD, modec) != NULL); | 292 pattr->bold = (highlight_has_attr(hl_id, HL_BOLD, modec) != NULL); |
293 pattr->italic = (highlight_has_attr(hl_id, HL_ITALIC, modec) != NULL); | 293 pattr->italic = (highlight_has_attr(hl_id, HL_ITALIC, modec) != NULL); |
294 pattr->underline = (highlight_has_attr(hl_id, HL_UNDERLINE, modec) != NULL); | 294 pattr->underline = (highlight_has_attr(hl_id, HL_UNDERLINE, modec) != NULL); |
295 pattr->undercurl = (highlight_has_attr(hl_id, HL_UNDERCURL, modec) != NULL); | 295 pattr->undercurl = (highlight_has_attr(hl_id, HL_UNDERCURL, modec) != NULL); |
296 // TODO: HL_UNDERDOUBLE, HL_UNDERDOTTED, HL_UNDERDASHED | |
296 | 297 |
297 # if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) | 298 # if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) |
298 if (USE_24BIT) | 299 if (USE_24BIT) |
299 { | 300 { |
300 bg_color = highlight_gui_color_rgb(hl_id, FALSE); | 301 bg_color = highlight_gui_color_rgb(hl_id, FALSE); |