Friday, October 26, 2012

Re: About b:changetick

On 08:48 Fri 26 Oct , Ben Fritz wrote:
> On Friday, October 26, 2012 10:46:04 AM UTC-5, Ben Fritz wrote:
> > On Friday, October 26, 2012 9:43:14 AM UTC-5, John Miller wrote:
> > > Is there some another built-in way to detect when the actual contents of the buffer has changed? (obviously you can implement such check with a bit of a VimL)
> >
> > Yes, the b:changetick variable is supposed to provide this.
>
> And by b:changetick, I meant b:changedtick.
>
> --
> You received this message from the "vim_use" 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 can also try testing &modified variable (which corresponds to the
value of 'modified' vim setting).

Best,
Marcin

--
You received this message from the "vim_use" 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

No comments: