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

[patch] Incorrectly recalculated cursor position

Expand Messages
  • Lech Lorens
    How to reproduce: - go to directory with Vim sources, - build C tags for Vim sources, - start Vim: $ vim -c set number lines=24 columns=80 -c 531 -c
    Message 1 of 1 , Mar 10 1:40 PM
    • 0 Attachment
      How to reproduce:
      - go to directory with Vim sources,
      - build C tags for Vim sources,
      - start Vim:
      $ vim -c 'set number lines=24 columns=80' \
      -c 531 -c 'normal 20|' \
      -c 'exe "normal \<C-w>\<C-]>"' \
      -O syntax.c syntax.c
      - move the current window to the top:
      :wincmd K

      The cursor is displayed on line 804 of structs.h, while it should be
      displayed on line 802.

      Analogically, moving a window in the horizontal direction:
      $ vim -c 'set number lines=24 columns=80' \
      -c 531 -c 'normal 20|' \
      -c 'exe "normal \<C-w>\<C-]>"' \
      syntax.c
      :wincmd L

      The cursor is displayed on line 799, while it should remain on line 802.

      --
      Cheers,
      Lech

      --
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.