comparison src/mark.c @ 3660:bdf7f3e4c763 v7.3.590

updated for version 7.3.590 Problem: The '< and '> marks cannot be set directly. Solution: Allow setting '< and '>. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Fri, 06 Jul 2012 17:51:28 +0200
parents 43243f7ce351
children 80b041b994d1
comparison
equal deleted inserted replaced
3659:22ab3555bf83 3660:bdf7f3e4c763
95 if (c == ']') 95 if (c == ']')
96 { 96 {
97 curbuf->b_op_end = *pos; 97 curbuf->b_op_end = *pos;
98 return OK; 98 return OK;
99 } 99 }
100
101 #ifdef FEAT_VISUAL
102 if (c == '<')
103 {
104 curbuf->b_visual.vi_start = *pos;
105 return OK;
106 }
107 if (c == '>')
108 {
109 curbuf->b_visual.vi_end = *pos;
110 return OK;
111 }
112 #endif
100 113
101 #ifndef EBCDIC 114 #ifndef EBCDIC
102 if (c > 'z') /* some islower() and isupper() cannot handle 115 if (c > 'z') /* some islower() and isupper() cannot handle
103 characters above 127 */ 116 characters above 127 */
104 return FAIL; 117 return FAIL;