Am 2014-11-12 04:22, schrieb Vlad Irnov:
I have encountered a bug when long wrapped lines are briefly displayed
incorrectly after normal command "s". To reproduce:
1) Open attached .txt file:
        gvim -u NONE -N s-wrapped-line-display-bug.txt
2) Set the following options, the long line with aaaa's should be wrapped:
        :set wrap linebreak cul cuc
3) Place the cursor on line with bbbb and press "s". The results
before and after are in the attached .png screenshot. The display  of
the long wrapped line changes unexpectedly from 'linebreak' to
'nolinebreak'. The cursor position is also wrong, as seen in the
screenshot, but this does not always happen.

Setting 'showbreak' may also have the same affect as setting cul
and/or cuc, but I am not sure about that.

Tested Vim versions: the most recent gvim 7.4.507, source downloaded
2014-11-11, compiled on Windows; gvim 7.4.488 on Linux (Debian Live
7.6, vim-gtk installed from backports).
Vim 7.4.256 on Windows is not affected.

This is probably caused by 7.4.435 which tries to fix
an formatting error caused by the linebreak setting.

I'll look into this. Perhaps one can reset the linebreak setting
earlier.

Best,
Christian

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui