[vim] - patchlevel 747
Karsten Hopp
karsten at fedoraproject.org
Mon Jan 28 11:14:40 UTC 2013
commit 2ddae5093a4604272e68f2a8e1ac4b71ffa4f929
Author: Karsten Hopp <karsten at redhat.com>
Date: Mon Jan 28 12:11:11 2013 +0100
- patchlevel 747
7.3.747 | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/7.3.747 b/7.3.747
new file mode 100644
index 0000000..158c233
--- /dev/null
+++ b/7.3.747
@@ -0,0 +1,67 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.3.747
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.3.747
+Problem: When characters are concealed text aligned with tabs are no longer
+ aligned, e.g. at ":help :index".
+Solution: Compensate space for tabs for concealed characters. (Dominique
+ Pelle)
+Files: src/screen.c
+
+
+*** ../vim-7.3.746/src/screen.c 2012-10-03 18:24:55.000000000 +0200
+--- src/screen.c 2012-12-05 15:22:03.000000000 +0100
+***************
+*** 4269,4275 ****
+ {
+ /* tab amount depends on current column */
+ n_extra = (int)wp->w_buffer->b_p_ts
+! - VCOL_HLC % (int)wp->w_buffer->b_p_ts - 1;
+ #ifdef FEAT_MBYTE
+ mb_utf8 = FALSE; /* don't draw as UTF-8 */
+ #endif
+--- 4269,4288 ----
+ {
+ /* tab amount depends on current column */
+ n_extra = (int)wp->w_buffer->b_p_ts
+! - vcol % (int)wp->w_buffer->b_p_ts - 1;
+! #ifdef FEAT_CONCEAL
+! /* Tab alignment should be identical regardless of
+! * 'conceallevel' value. So tab compensates of all
+! * previous concealed characters, and thus resets vcol_off
+! * and boguscols accumulated so far in the line. Note that
+! * the tab can be longer than 'tabstop' when there
+! * are concealed characters. */
+! n_extra += vcol_off;
+! vcol -= vcol_off;
+! vcol_off = 0;
+! col -= boguscols;
+! boguscols = 0;
+! #endif
+ #ifdef FEAT_MBYTE
+ mb_utf8 = FALSE; /* don't draw as UTF-8 */
+ #endif
+*** ../vim-7.3.746/src/version.c 2012-12-05 15:16:42.000000000 +0100
+--- src/version.c 2012-12-05 15:22:27.000000000 +0100
+***************
+*** 727,728 ****
+--- 727,730 ----
+ { /* Add new patch number below this line */
++ /**/
++ 747,
+ /**/
+
+--
+hundred-and-one symptoms of being an internet addict:
+99. The hum of a cooling fan and the click of keys is comforting to you.
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net \\\
+/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\ an exciting new programming language -- http://www.Zimbu.org ///
+ \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
More information about the scm-commits
mailing list