changeset 2379:b67b0b5a93d3 vim73

Window split didn't copy the value of 'conceallevel'.
author Bram Moolenaar <bram@vim.org>
date Fri, 23 Jul 2010 22:27:03 +0200
parents 85b7dc8da5eb
children b47748aa3236
files runtime/doc/todo.txt src/option.c
diffstat 2 files changed, 2 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -30,13 +30,7 @@ be worked on, but only if you sponsor Vi
 							*known-bugs*
 -------------------- Known bugs and current work -----------------------
 
-a |test| and a |test| and a |test|.
-Conceal in help files doesn't work nice.  How about adding a 'concealcursor'
-option:
--> implemented, but column isn't quite right just after concealed character.
-- Don't conceal in Insert and Visual mode?  Or make 'concealcursor' a string
-  option with mode characters.
-- Check position in wrapped line.
+Check position in wrapped line with 'concealcursor' set.
 
 Trick with syntax ID works, but it's not nice.  Can we give a sequence nr to
 syntax item matches?  At least the ones with a replacement char.
--- a/src/option.c
+++ b/src/option.c
@@ -9766,6 +9766,7 @@ copy_winopt(from, to)
 #endif
 #ifdef FEAT_CONCEAL
     to->wo_cocu = vim_strsave(from->wo_cocu);
+    to->wo_cole = from->wo_cole;
 #endif
 #ifdef FEAT_FOLDING
     to->wo_fdc = from->wo_fdc;