Hi, TextChanged works but TextChangedI seems never to be triggered for
me. I use something like the following to test:
set noshowmode
au TextChangedI * echomsg "changed" b:changedtick
I think the attached patch fixes the problem but don't know if that's
ok. The code was there since TextChanged and TextChangedI were
introduced (7.3.867).
--
Best regards,
lilydjwg
diff --git a/src/edit.c b/src/edit.c
index d14b04e..b322dc5 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -1603,7 +1603,7 @@ ins_redraw(ready)
#endif
#ifdef FEAT_AUTOCMD
/* Trigger TextChangedI if b_changedtick differs. */
- if (!ready && has_textchangedI()
+ if (ready && has_textchangedI()
&& last_changedtick != curbuf->b_changedtick
# ifdef FEAT_INS_EXPAND
&& !pum_visible()
--
--
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/groups/opt_out.