Mercurial > vim
comparison src/charset.c @ 11121:778c10516955 v8.0.0448
patch 8.0.0448: some macros are in lower case
commit https://github.com/vim/vim/commit/b5aedf3e228d35821591da9ae8501b61cf2e264c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 12 18:23:53 2017 +0100
patch 8.0.0448: some macros are in lower case
Problem: Some macros are in lower case, which can be confusing.
Solution: Make a few lower case macros upper case.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 12 Mar 2017 18:30:06 +0100 |
parents | c9da7f9137af |
children | 506f5d8b7d8b |
comparison
equal
deleted
inserted
replaced
11120:29ee7ffe8df7 | 11121:778c10516955 |
---|---|
1401 { | 1401 { |
1402 if (*ptr == TAB | 1402 if (*ptr == TAB |
1403 && (State & NORMAL) | 1403 && (State & NORMAL) |
1404 && !wp->w_p_list | 1404 && !wp->w_p_list |
1405 && !virtual_active() | 1405 && !virtual_active() |
1406 && !(VIsual_active && (*p_sel == 'e' || ltoreq(*pos, VIsual))) | 1406 && !(VIsual_active |
1407 && (*p_sel == 'e' || LTOREQ_POS(*pos, VIsual))) | |
1407 ) | 1408 ) |
1408 *cursor = vcol + incr - 1; /* cursor at end */ | 1409 *cursor = vcol + incr - 1; /* cursor at end */ |
1409 else | 1410 else |
1410 *cursor = vcol + head; /* cursor at start */ | 1411 *cursor = vcol + head; /* cursor at start */ |
1411 } | 1412 } |
1494 colnr_T *left, | 1495 colnr_T *left, |
1495 colnr_T *right) | 1496 colnr_T *right) |
1496 { | 1497 { |
1497 colnr_T from1, from2, to1, to2; | 1498 colnr_T from1, from2, to1, to2; |
1498 | 1499 |
1499 if (ltp(pos1, pos2)) | 1500 if (LT_POSP(pos1, pos2)) |
1500 { | 1501 { |
1501 getvvcol(wp, pos1, &from1, NULL, &to1); | 1502 getvvcol(wp, pos1, &from1, NULL, &to1); |
1502 getvvcol(wp, pos2, &from2, NULL, &to2); | 1503 getvvcol(wp, pos2, &from2, NULL, &to2); |
1503 } | 1504 } |
1504 else | 1505 else |