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

53965Re: Using internal-variables in regexp

Expand Messages
  • V.Chandrasekaran
    Oct 3, 2004
    • 0 Attachment
      This works great. Thanks. However, if the line number changes due to edits
      above this highlighted line, the highlighted line changes too. But this is
      ok.

      thanks,
      -chandra.

      #>>>>>>>>>>>>
      #Look one item lower in docs.
      #
      #Get number of line and highlight line with \%<number>l
      #It should be faster and NULL problems with escaping special #characters.
      #
      #:let thisline=line(".")
      #:exe 'match MyLine /\%'.thisline.'l.*/'
      #
      #m.
      #>>>>>>>>>>>
    • Show all 19 messages in this topic