Modify ↓
Opened 16 years ago
Last modified 6 years ago
#6172 assigned enhancement
Have the link at the top of the included source highlight the indicated section
| Reported by: | anonymous | Owned by: | ttressieres |
|---|---|---|---|
| Priority: | normal | Component: | IncludeMacro |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 1.4 |
Description
On the rendered wiki page, this macro produces a box containing source code, line numbers, and a "title bar" of sorts with a hyperlink to the file in the browser. I think it would be nice if this hyperlink would:
- Link to a line just prior to the section being illustrated. (5 lines before?)
- Highlight the indicated section (between the
start=andend=)
Kudos on the plugin! Very nice!
Attachments (0)
Change History (3)
comment:1 Changed 6 years ago by
| Owner: | changed from Chris Heller to ttressieres |
|---|---|
| Status: | new → assigned |
comment:2 Changed 6 years ago by
comment:3 Changed 6 years ago by
| Component: | IncludeSourcePartialPlugin → IncludeMacro |
|---|---|
| Trac Release: | 0.11 → 1.4 |
this plugin is deprecated, use IncudeMacro instead
Note: See
TracTickets for help on using
tickets.



to have an hyperlink that respect the source link syntax, such as
to display trac.ini file at @head revision, starting from line 25 with lines 27 to 30 highlighted