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

Re: Linewise Visual highlight problem

Expand Messages
  • Bram Moolenaar
    ... Highlighting starts at the cursor, instead of at the start of the line, right? That looks like a bug. -- Seen on the back of a biker s vest: If you can
    Message 1 of 4 , May 2, 2008
    • 0 Attachment
      Dasn wrote:

      > It seems highlighted wrong in Visual Line mode with:
      > vim -u NONE -c "se sbr=+ smd wrap co=80 lines=25|pu! =repeat('k',2000)| norm $"
      >
      > Then press 'V' to see the problem.

      Highlighting starts at the cursor, instead of at the start of the line,
      right? That looks like a bug.

      --
      Seen on the back of a biker's vest: If you can read this, my wife fell off.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ download, build and distribute -- http://www.A-A-P.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Dasn
      ... Ah, yes. I think all the k s should be highlighted, like Erik said. :) -- Dasn --~--~---------~--~----~------------~-------~--~----~ You received this
      Message 2 of 4 , May 2, 2008
      • 0 Attachment
        On 02/05/08 22:23 +0200, Bram Moolenaar wrote:
        >
        > Dasn wrote:
        >
        > > It seems highlighted wrong in Visual Line mode with:
        > > vim -u NONE -c "se sbr=+ smd wrap co=80 lines=25|pu! =repeat('k',2000)| norm $"
        > >
        > > Then press 'V' to see the problem.
        >
        > Highlighting starts at the cursor, instead of at the start of the line,
        > right? That looks like a bug.
        >

        Ah, yes. I think all the 'k's should be highlighted, like Erik said. :)
        --
        Dasn


        --~--~---------~--~----~------------~-------~--~----~
        You received this message from the "vim_dev" maillist.
        For more information, visit http://www.vim.org/maillist.php
        -~----------~----~----~----~------~----~------~--~---
      Your message has been successfully submitted and would be delivered to recipients shortly.