Modify ↓
Ticket #520 (closed enhancement: fixed)
Opened 8 years ago
Last modified 7 years ago
line numbers in file view
| Reported by: | dju` | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | low | Milestone: | 0.9 |
| Component: | version control/browser | Version: | 0.7.1 |
| Severity: | normal | Keywords: | helpwanted |
| Cc: | |||
| Release Notes: | |||
| API 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
Change History
comment:1 Changed 8 years ago by daniel
- Milestone set to 1.0
- Priority changed from normal to low
comment:2 Changed 7 years ago by cmlenz
- Keywords helpwanted added
- Milestone 1.0 deleted
- Severity changed from normal to enhancement
comment:3 Changed 7 years ago by cmlenz
- Component changed from general to browser
#579 has been marked as duplicate of this ticket.
comment:4 Changed 7 years ago by cmlenz
- Milestone set to 0.9
- Owner changed from jonas to cmlenz
- Status changed from new to assigned
I'm working on this.
comment:5 Changed 7 years ago by cmlenz
- Resolution set to fixed
- Status changed from assigned to closed
Implemented in [1764].
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.