Opened 19 years ago
Closed 16 years ago
#2528 closed defect (duplicate)
Code Selection: Line Numbers in CodeBrowser (CopyPaste Problem)
Reported by: | anonymous | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | version control/browser | Version: | 0.9.2 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Hello,
Maybe you already fixed this. I am using 0.92.
This is very ugly if want to copy/paste code from the browser. The selection is always code & linenumbers and not only code.
—> look at koders.com
they have only 2 seperate <td>
-one for linenumbers -one for code -and the code newlines/linenumber newline made with <br> not <td>
like this you are able to copy paste code with or without linenumbers.
Cheers
Attachments (0)
Change History (4)
comment:1 by , 19 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 17 years ago
I've been getting some requests for this as well since it feels completely unintuitive to go to plain text view to copy and paste. There's a trick that friends at userscripts.org are using that I'll look into for Trac that lets you select the code with line numbers and not let the numbers get into what you copy.
comment:3 by , 17 years ago
Component: | general → browser |
---|---|
Milestone: | → 0.11.1 |
Resolution: | wontfix |
Status: | closed → reopened |
I wonder also if we wouldn't be able to gain some speed here. Currently, looking at > 100Kbytes files is a bit of a pain.
I think it's worth experimenting the alternatives a bit.
comment:4 by , 16 years ago
Milestone: | 0.11.2 |
---|---|
Resolution: | → duplicate |
Status: | reopened → closed |
See #7055, when the line number column is hidden, the code can be easily copied without the line numbers.
The line numbering is done in the table rows so that long lines can overflow and extend the row while keeping the line numbers properly aligned. The plain text view can be used to select code without the line numbers.