Infrastructure
  1. Infrastructure
  2. INFRA-2377

Remove line numbers from ViewVC's "view" option

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Fix Version/s: Initial Clearing
    • Component/s: Subversion
    • Labels:
      None

      Description

      The ViewVC window on Subversion directories has two viewing options for any file: view and annotate, for example on this page:
      http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/doc/BasicDataSourceExample.java?view=log

      The "annotate" option is fine--it shows line numbers and who made the last change, but the "view" option should *not* have line numbers because it makes it very difficult to copy and paste code from the site. (Copies end up copying also the line numbers, which requires manual removal once you paste the code into your IDE.)

      Example of view option where it would be good for line numbers to be removed:
      http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/doc/BasicDataSourceExample.java?revision=884350&view=markup

      I suspect ViewVC has some template option that would allow for removing the line numbers.

      Glen

        Activity

        Hide
        #asfinfra IRC Bot added a comment -
        <pgollucc1> done
        Show
        #asfinfra IRC Bot added a comment - <pgollucc1> done
        Show
        #asfinfra IRC Bot added a comment - <pgollucc1> use the download link, i.e.: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/doc/BasicDataSourceExample.java?view=co

          People

          • Assignee:
            Unassigned
            Reporter:
            Glen Mazza
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development