Mercurial > vim
comparison src/ui.c @ 11158:501f46f7644c v8.0.0466
patch 8.0.0466: still macros that should be all-caps
commit https://github.com/vim/vim/commit/8820b48654b62472821d9b155fe03ab7ac13a05c
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 16 17:23:31 2017 +0100
patch 8.0.0466: still macros that should be all-caps
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 16 Mar 2017 17:30:06 +0100 |
parents | 506f5d8b7d8b |
children | 96d83cd2904a |
comparison
equal
deleted
inserted
replaced
11157:35a1705f4d02 | 11158:501f46f7644c |
---|---|
494 if (cbd->owned | 494 if (cbd->owned |
495 && (get_real_state() == VISUAL | 495 && (get_real_state() == VISUAL |
496 || get_real_state() == SELECTMODE) | 496 || get_real_state() == SELECTMODE) |
497 && (cbd == &clip_star ? clip_isautosel_star() | 497 && (cbd == &clip_star ? clip_isautosel_star() |
498 : clip_isautosel_plus()) | 498 : clip_isautosel_plus()) |
499 && hl_attr(HLF_V) != hl_attr(HLF_VNC)) | 499 && HL_ATTR(HLF_V) != HL_ATTR(HLF_VNC)) |
500 redraw_curbuf_later(INVERTED_ALL); | 500 redraw_curbuf_later(INVERTED_ALL); |
501 } | 501 } |
502 } | 502 } |
503 #else | 503 #else |
504 /* Only own the clipboard when we didn't own it yet. */ | 504 /* Only own the clipboard when we didn't own it yet. */ |
532 if (was_owned | 532 if (was_owned |
533 && (get_real_state() == VISUAL | 533 && (get_real_state() == VISUAL |
534 || get_real_state() == SELECTMODE) | 534 || get_real_state() == SELECTMODE) |
535 && (cbd == &clip_star ? | 535 && (cbd == &clip_star ? |
536 clip_isautosel_star() : clip_isautosel_plus()) | 536 clip_isautosel_star() : clip_isautosel_plus()) |
537 && hl_attr(HLF_V) != hl_attr(HLF_VNC)) | 537 && HL_ATTR(HLF_V) != HL_ATTR(HLF_VNC)) |
538 { | 538 { |
539 update_curbuf(INVERTED_ALL); | 539 update_curbuf(INVERTED_ALL); |
540 setcursor(); | 540 setcursor(); |
541 cursor_on(); | 541 cursor_on(); |
542 out_flush(); | 542 out_flush(); |