~ubuntu-branches/debian/sid/neovim/sid

« back to all changes in this revision

Viewing changes to src/nvim/popupmnu.c

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2016-04-18 21:42:19 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20160418214219-1e6d4o1fwqarzk46
Tags: 0.1.3-1
* New upstream release.  (Closes: #820562)
* debian/control:
  + Remove unnecessary luarocks Build-Depends
  + Add libkvm-dev Build-Depends for kfreebsd-*
  + Add python(3)-neovim to Recommends.  (Closes: #812737)
  + Declare compiance with policy 3.9.8, no changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
545
545
        g_do_tagpreview = (int)p_pvh;
546
546
      }
547
547
      RedrawingDisabled++;
 
548
      // Prevent undo sync here, if an autocommand syncs undo weird
 
549
      // things can happen to the undo tree.
 
550
      no_u_sync++;
548
551
      resized = prepare_tagpreview(false);
 
552
      no_u_sync--;
549
553
      RedrawingDisabled--;
550
554
      g_do_tagpreview = 0;
551
555
 
629
633
            // the window when needed, otherwise it will always be
630
634
            // redraw.
631
635
            if (resized) {
 
636
              no_u_sync++;
632
637
              win_enter(curwin_save, true);
 
638
              no_u_sync--;
633
639
              update_topline();
634
640
            }
635
641
 
640
646
            pum_do_redraw = FALSE;
641
647
 
642
648
            if (!resized && win_valid(curwin_save)) {
 
649
              no_u_sync++;
643
650
              win_enter(curwin_save, true);
 
651
              no_u_sync--;
644
652
            }
645
653
 
646
654
            // May need to update the screen again when there are