Opened 17 years ago
Closed 17 years ago
#6384 closed defect (worksforme)
Extra lines w/ Silvercity formatter
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | rendering | Version: | 0.10.4 |
Severity: | normal | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
This may be related to #2201 or #1649, not sure, but the bug still occurs in 0.10.4
#ifdef DEBUG #define TEST 1 #else #define TEST 0 #endif int foo();
renders as
#ifdef DEBUG #define TEST 1 #else #define TEST 0 #endif int foo();
in the "Browse Source" view, and the line numbering is offset as a result. To reproduce simply copy the first example, check it in, and use the "Browse Source" viewer to view it.
Attachments (0)
Change History (2)
comment:1 by , 17 years ago
Keywords: | needinfo added |
---|---|
Milestone: | → 0.11.1 |
comment:2 by , 17 years ago
Milestone: | 0.11.1 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Assuming this works now (anyway, everybody should be using Pygments by now).
The original issue was not clear anyway, probably a line ending issue. An attachment for the test case would have been more appropriate here.
Please check if that still occurs with Trac 0.11 (trunk) as that problem won't be fixed for 0.10.x.