Christian wrote:

> here are 2 patches for the linebreak feature:
> 
> 1) set linebreak does not break the line, if the line contains a tab
>    and the line size is only as long as the screen (counting tab as 1). 
>    (although because of the tab size, the screen line will be longer 
>    than the screen width, thus is should be broken).
>    Example:
>    vim -u NONE -N -c "put =repeat('a', winwidth(0))" -c 
>    's/^.\{8}\zs./\t/' -c ':set linebreak'
>    Patch:  linebreak_bug.diff
> 
> 2) 'linebreak' doesn't work with list option.
>    Patch: list_lbr.diff (including test for problem 1)

Thanks, I'll look into it this week.


-- 
ARTHUR:  Shut up!  Will you shut up!
DENNIS:  Ah, now we see the violence inherent in the system.
ARTHUR:  Shut up!
DENNIS:  Oh!  Come and see the violence inherent in the system!
         HELP! HELP!  I'm being repressed!
                                  The Quest for the Holy Grail (Monty Python)

 /// Bram Moolenaar -- [email protected] -- 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    ///

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui