Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#6384 closed defect (worksforme)

Extra lines w/ Silvercity formatter

Reported by: ghazel@… 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 Christian Boos, 16 years ago

Keywords: needinfo added
Milestone: 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.

comment:2 by Christian Boos, 16 years ago

Milestone: 0.11.1
Resolution: worksforme
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.