Modify ↓
Opened 21 years ago
Closed 20 years ago
#520 closed enhancement (fixed)
line numbers in file view
| Reported by: | dju` | Owned by: | Christopher Lenz |
|---|---|---|---|
| Priority: | low | Milestone: | 0.9 |
| Component: | version control/browser | Version: | 0.7.1 |
| Severity: | normal | Keywords: | helpwanted |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
It would be great to display the line numbers on the left side when viewing a file, obviously taking the line wraps in account.
Attachments (0)
Change History (5)
comment:1 by , 21 years ago
| Milestone: | → 1.0 |
|---|---|
| Priority: | normal → low |
comment:2 by , 21 years ago
| Keywords: | helpwanted added |
|---|---|
| Milestone: | 1.0 |
| Severity: | normal → enhancement |
comment:3 by , 21 years ago
| Component: | general → browser |
|---|
#579 has been marked as duplicate of this ticket.
comment:4 by , 20 years ago
| Milestone: | → 0.9 |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
I'm working on this.
Note:
See TracTickets
for help on using tickets.



This is difficult, due to the use of external libraries/tools (like enscript and silvercity) for fontlocking/syntax-highlighting of files. It's hard (if not impossible) to know how they output lines in the resulting HTML.
If either had line number display, it'd be trivial to add, of course.
Note: Since we already have a 'prettification' function in enscript.py , it might be possible to parse lines as well.