Loading ...
Sorry, an error occurred while loading the content.
 

Re: Bug?

Expand Messages
  • Bram Moolenaar
    ... It wasn t really expected you wanted to move the cursor with a Cursorhold event. This patch might help. Please check if this works OK. ...
    Message 1 of 2 , Sep 29, 2001
      Bohdan Vlasyuk wrote:

      > :au Cursorhold * normal G
      > works as exepected, yet doesn't update statusline.
      > Is this known and/or exepected ?

      It wasn't really expected you wanted to move the cursor with a
      Cursorhold event. This patch might help. Please check if this works
      OK.

      *** gui.c~ Fri Sep 28 17:29:55 2001
      --- gui.c Sat Sep 29 17:17:40 2001
      ***************
      *** 2374,2379 ****
      --- 2374,2381 ----
      {
      apply_autocmds(EVENT_CURSORHOLD, NULL, NULL, FALSE, curbuf);
      update_screen(VALID);
      + showruler(FALSE);
      + setcursor();

      once_already = 1;
      retval = 0;

      --
      hundred-and-one symptoms of being an internet addict:
      53. To find out what time it is, you send yourself an e-mail and check the
      "Date:" field.

      /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
      ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim )))
      \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
    Your message has been successfully submitted and would be delivered to recipients shortly.