]> git.pld-linux.org Git - packages/vim.git/blame - 6.3.064
- rel 1; kvim is being dropped (no longer maintained - use yzis.spec as kde alternative)
[packages/vim.git] / 6.3.064
CommitLineData
a6f905ff
AG
1To: vim-dev@vim.org
2Subject: Patch 6.3.064
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 6.3.064
11Problem: line2byte(line("$") + 1) sometimes returns the wrong number.
12 (Charles Campbell)
13Solution: Flush the cached line before counting the bytes.
14Files: src/memline.c
15
16
17*** ../vim-6.3.041/src/memline.c Wed Jun 9 14:56:26 2004
18--- src/memline.c Thu Feb 17 11:02:53 2005
19***************
20*** 4247,4252 ****
21--- 4247,4255 ----
22 int ffdos = (get_fileformat(buf) == EOL_DOS);
23 int extra = 0;
24
25+ /* take care of cached line first */
26+ ml_flush_line(curbuf);
27+
28 if (buf->b_ml.ml_usedchunks == -1
29 || buf->b_ml.ml_chunksize == NULL
30 || line < 0)
31*** ../vim-6.3.041/src/version.c Fri Mar 11 19:14:17 2005
32--- src/version.c Fri Mar 11 19:15:46 2005
33***************
34*** 643,644 ****
35--- 643,646 ----
36 { /* Add new patch number below this line */
37+ /**/
38+ 64,
39 /**/
40
41--
42FATHER: You killed eight wedding guests in all!
43LAUNCELOT: Er, Well ... the thing is ... I thought your son was a lady.
44FATHER: I can understand that.
45 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
46
47 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
48/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
49\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
50 \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
This page took 0.13296 seconds and 4 git commands to generate.