Christian wrote:
> Bram,
> I noticed a thread in reddit¹ about how to avoid breaking the undo
> sequence in insert mode with <S-Left>. I thought <C-G>U should do it,
> but it didn't work, so I looked it up and noticed we need some special
> handling there as well.
>
> Please see the attached patch. It adds a test as well. Furthermore it
> simplifies the function signature of the various ins_left() functions to
> not require the end_change parameter anymore. Since the variable
> dont_sync_undo is static to edit.c we can as well just determine the
> value inside the function.
Looks good, I'll include it.
--
hundred-and-one symptoms of being an internet addict:
126. You brag to all of your friends about your date Saturday night...but
you don't tell them it was only in a chat room.
/// 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.