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

Re: TODO entry: ":z#" should list lines with line numbers.

Expand Messages
  • Bohdan Vlasyuk
    ... Hopefully it won t. ... Problems are -- it won t fit. see various.txt:91 [:h :z] -- line is full. Or add it as another command ?? That d require to rewrite
    Message 1 of 3 , Jul 2, 2001
    • 0 Attachment
      On Mon, Jul 02, 2001 at 06:00:11PM +0200, Bram Moolenaar wrote:

      >> I'm wondering why this hasn't beed done before. [hope I've
      >> understood what's required right]
      > Nvi doesn't allow further arguments after the #. I'll include it,
      > won't hurt anyone.
      Hopefully it won't.

      > How about a patch for the
      > documentation?
      Problems are -- it won't fit.
      see various.txt:91 [:h :z] -- line is full. Or add it as another
      command ?? That'd require to rewrite everything after :z, and anyway,
      where would E144 refer ?? :-\..

      Is this ok ??

      $ diff -u various.txt.old various.txt
      --- various.txt.old Mon Jul 2 19:15:31 2001
      +++ various.txt Mon Jul 2 19:24:59 2001
      @@ -87,13 +87,17 @@
      *:#*
      :[range]# [count] synonym for :number.

      - *:z* *E144*
      -:{range}z[+-^.=]{count} Display several lines of text surrounding the li
      ne
      +:{range}z[+-^.=]{count} or *:z*
      +:{range}z#[+-^.=]{count} *:z#* *E144*
      + Display several lines of text surrounding the line
      specified with {range}, or around the current line
      if there is no {range}. If there is a {count}, that's
      how many lines you'll see; otherwise, the current
      window size is used.

      + :z# acts exactly as :z, but it also numbers lines
      + like :number does.
      +
      :z can be used either alone or followed by any of
      several punctuation marks. These have the following
      effect:



      --
    Your message has been successfully submitted and would be delivered to recipients shortly.