Opened 16 years ago

Closed 16 years ago

#7649 closed (fixed)

Line numbers in debug output are wrong

Reported by: dusk Owned by: nobody
Component: Uncategorized Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Blank lines get skipped entirely when displaying context around code, leading to incorrect line numbering.

Simplest possible fix (don't skip blank lines) is attached.

Attachments (1)

dontSkipBlankLines.patch (1.6 KB ) - added by dusk 16 years ago.

Download all attachments as: .zip

Change History (3)

by dusk, 16 years ago

Attachment: dontSkipBlankLines.patch added

comment:1 by Malcolm Tredinnick, 16 years ago

Triage Stage: UnreviewedReady for checkin

Sounds reasonable.

comment:2 by Adrian Holovaty, 16 years ago

Resolution: fixed
Status: newclosed

(In [7863]) Fixed #7649 -- Fixed incorrect line numbering in debug view in case of empty spaces. Thanks, dusk

Note: See TracTickets for help on using tickets.
Back to Top