Edgewall Software

Ticket #6384 (closed defect: worksforme)

Opened 12 months ago

Last modified 9 months ago

Extra lines w/ Silvercity formatter

Reported by: ghazel@… Owned by: cboos
Priority: normal Milestone:
Component: rendering Version: 0.10.4
Severity: normal Keywords: needinfo
Cc:

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

Change History

Changed 12 months ago by cboos

  • keywords needinfo added
  • milestone set to 0.11.1

Please check if that still occurs with Trac 0.11 (trunk) as that problem won't be fixed for 0.10.x.

Changed 9 months ago by cboos

  • status changed from new to closed
  • resolution set to worksforme
  • milestone 0.11.1 deleted

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.

Add/Change #6384 (Extra lines w/ Silvercity formatter)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cboos. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.