]> granicus.if.org Git - vim/commitdiff
Don't conceal text in lines inside the Visual area.
authorBram Moolenaar <Bram@vim.org>
Sat, 24 Jul 2010 11:15:07 +0000 (13:15 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 24 Jul 2010 11:15:07 +0000 (13:15 +0200)
runtime/doc/options.txt
runtime/doc/todo.txt
src/screen.c

index 9344e884e1ca5ffbcb76e54e148ca93e4bb51ce8..c54927479cd4c9350ab0b4864f016baaf3f90858 100644 (file)
@@ -1724,6 +1724,8 @@ A jump table for the options with a short description can be found at |Q_op|.
        are moving around text is concealed, but when starting to insert text
        or selecting a Visual area the concealed text is displayed, so that
        you can see what you are doing.
+       Keep in mind that the cursor position is not always where it's
+       displayed.  E.g., when moving vertically it may change column.
 
 
 'conceallevel' 'cole'          *'conceallevel'* *'cole'*
index 0a7337d5216c4ea237f48175cc0300e121931bda..87ed10817c69713cfe885e8dc20a794aa8dd805c 100644 (file)
@@ -1,4 +1,4 @@
-*todo.txt*      For Vim version 7.3b.  Last change: 2010 Jul 23
+*todo.txt*      For Vim version 7.3b.  Last change: 2010 Jul 24
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -32,9 +32,16 @@ be worked on, but only if you sponsor Vim development.  See |sponsor|.
 
 Check position in wrapped line with 'concealcursor' set.
 
+Patch for :find completion. (Nazri Ramliy)
+But I prefer to keep term.h and include/term.h
+
 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.
 
+'fenc' in modeline problem: add option to reload the file when 'fenc' is set
+to a different value in a modeline?  Option can be default on.
+Could be done with an autocommand?
+
 Include patch for horizontal scoll wheel? (Bjorn Winckler, 2010 Jul 20)
 Additional patch Jul 21.
 
@@ -100,6 +107,11 @@ Jumplist doesn't work properly in Insert mode? (Jean Johner, 2010 Mar 20)
 Problem with transparent cmdline.  Also: Terminal title is wrong with
 non-ASCII character. (Lily White, 2010 Mar 7)
 
+Restoring terminal title in gnome-terminal causes a beep.  Saved value
+contains garbage?  Ukranian language characters.  'enc' and 'tenc' are utf-8.  
+(Anatoli Sakhnik, 2010 Jul 24)
+Using ":set titlestring=abc" with non-ascii characters also fails.
+
 Patch for horizontal mouse wheel. (Bjorn Winckler, 2010 Jul 18)
 
 iconv() doesn't fail on an illegal character, as documented. (Yongwei Wu, 2009
index f9183e126537cff56d0b74f04dc06231b220f167..b7f4f408edfa9c728eeaf40a25d7355c48cd2eac 100644 (file)
@@ -4424,7 +4424,8 @@ win_line(wp, lnum, startrow, endrow, nochange)
            if (   wp->w_p_cole > 0
                && (wp != curwin || lnum != wp->w_cursor.lnum ||
                                                      conceal_cursor_line(wp))
-               && (syntax_flags & HL_CONCEAL) != 0)
+               && (syntax_flags & HL_CONCEAL) != 0
+               && !lnum_in_visual_area)
            {
                char_attr = conceal_attr;
                if (prev_syntax_id != syntax_id