Mercurial > vim
comparison src/mark.c @ 1188:2a276274c592
updated for version 7.1b
author | vimboss |
---|---|
date | Thu, 10 May 2007 16:48:19 +0000 |
parents | ef3b59af4207 |
children | 801d55448282 |
comparison
equal
deleted
inserted
replaced
1187:f89c43568067 | 1188:2a276274c592 |
---|---|
213 || curwin->w_jumplistidx + count >= curwin->w_jumplistlen) | 213 || curwin->w_jumplistidx + count >= curwin->w_jumplistlen) |
214 return (pos_T *)NULL; | 214 return (pos_T *)NULL; |
215 | 215 |
216 /* | 216 /* |
217 * if first CTRL-O or CTRL-I command after a jump, add cursor position | 217 * if first CTRL-O or CTRL-I command after a jump, add cursor position |
218 * to list. Careful: If there are duplicates (CTRL-O immidiately after | 218 * to list. Careful: If there are duplicates (CTRL-O immediately after |
219 * starting Vim on a file), another entry may have been removed. | 219 * starting Vim on a file), another entry may have been removed. |
220 */ | 220 */ |
221 if (curwin->w_jumplistidx == curwin->w_jumplistlen) | 221 if (curwin->w_jumplistidx == curwin->w_jumplistlen) |
222 { | 222 { |
223 setpcmark(); | 223 setpcmark(); |