Feature #9613
closedLine numbers copied in repository file view
0%
Description
It is normally one to copy parts of the files contents when the files are displayed in the repository browser. Unfortunately, the line numbers that are in the left are copied too.
My proposition is to add new link next to the "View" link, named "Raw view" or "View without line numbers" and this link to deliver files without the line numbers. If syntax highlighting remain it would be the best.
Related issues
Updated by Alex Shulgin about 13 years ago
Well, I would vote for using :line_numbers => :table
HTML option for the highlighter (if it's the default, CodeRay), like my Pastebin plugin does: https://github.com/commandprompt/redmine_pastebin/blob/master/app/helpers/pastes_helper.rb#L73
It would be also helpful if this could be abstracted by the Redmine::SyntaxHighligthing module, to avoid the hardcoding.
Updated by Jean-Philippe Lang about 13 years ago
- Status changed from New to Closed
- Resolution set to Duplicate
See #3382.