Mercurial > vim
comparison src/sign.c @ 18763:49b78d6465e5 v8.1.2371
patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Commit: https://github.com/vim/vim/commit/05ad5ff0ab34ed9a5296dedd420ca81698b8ce22
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 30 22:48:27 2019 +0100
patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Problem: FEAT_TEXT_PROP is a confusing name.
Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes https://github.com/vim/vim/issues/5291)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Nov 2019 23:00:05 +0100 |
parents | b29d8a06e72c |
children | d34ec6fe207d |
comparison
equal
deleted
inserted
replaced
18762:19582783e5ad | 18763:49b78d6465e5 |
---|---|
494 // Signs are sorted by line number in the buffer. No need to check | 494 // Signs are sorted by line number in the buffer. No need to check |
495 // for signs after the specified line number 'lnum'. | 495 // for signs after the specified line number 'lnum'. |
496 break; | 496 break; |
497 | 497 |
498 if (sign->se_lnum == lnum | 498 if (sign->se_lnum == lnum |
499 # ifdef FEAT_TEXT_PROP | 499 # ifdef FEAT_PROP_POPUP |
500 && sign_group_for_window(sign, wp) | 500 && sign_group_for_window(sign, wp) |
501 # endif | 501 # endif |
502 ) | 502 ) |
503 { | 503 { |
504 sattr->sat_typenr = sign->se_typenr; | 504 sattr->sat_typenr = sign->se_typenr; |
2654 sign_entry_T * | 2654 sign_entry_T * |
2655 get_first_valid_sign(win_T *wp) | 2655 get_first_valid_sign(win_T *wp) |
2656 { | 2656 { |
2657 sign_entry_T *sign = wp->w_buffer->b_signlist; | 2657 sign_entry_T *sign = wp->w_buffer->b_signlist; |
2658 | 2658 |
2659 # ifdef FEAT_TEXT_PROP | 2659 # ifdef FEAT_PROP_POPUP |
2660 while (sign != NULL && !sign_group_for_window(sign, wp)) | 2660 while (sign != NULL && !sign_group_for_window(sign, wp)) |
2661 sign = sign->se_next; | 2661 sign = sign->se_next; |
2662 # endif | 2662 # endif |
2663 return sign; | 2663 return sign; |
2664 } | 2664 } |