Code

Opened 6 years ago

Closed 6 years ago

#7649 closed (fixed)

Line numbers in debug output are wrong

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

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 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by dusk

comment:1 Changed 6 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

Sounds reasonable.

comment:2 Changed 6 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.