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

Re: [patch] some more issues with 'cursorline'

Expand Messages
  • Bram Moolenaar
    ... Thanks. I ll add it next to the other cursorline patches in the todo list. -- GALAHAD hurries to the door and pushes through it. As he leaves the room we
    Message 1 of 2 , Apr 2, 2012
    • 0 Attachment
      Christian Brabandt wrote:

      > while we are at the topic of 'cursorline'. Besides the problem mentioned
      > in http://groups.google.com/group/vim_dev/msg/c26e0846bad490a8
      > there are two more problems:
      >
      > 1) in diff view when scroll-binding two windows, and scrolling,
      > the cursorline for the non-active window will also be drawn,
      > although there the cursor is on a different line. This only
      > happens when scrolling and can be reset partially by :redraw!
      >
      > 2) When 'nu' is set and the line wraps and 'sbr' is set, note,
      > that the 'sbr' string is not underlined. This looks at least
      > confusing, but could also be intentionally. I find this
      > confusing, because except for the 'sbr' setting all other parts
      > of the line is underlined.
      > Example:
      > :set sbr=+ nu cursorline wrap|exe "norm! 1000ia\<esc>"
      >
      > Attached patch fixes both problems.

      Thanks. I'll add it next to the other cursorline patches in the todo
      list.

      --
      GALAHAD hurries to the door and pushes through it. As he leaves the room
      we CUT TO the reverse to show that he is now in a room full of bathing
      and romping GIRLIES, all innocent, wide-eyed and beautiful. They smile
      enchantingly at him as he tries to keep walking without being diverted by
      the lovely sights assaulting his eyeballs.
      "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ an exciting new programming language -- http://www.Zimbu.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --
      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.