Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Line Numbers Stop Short #735

Closed
adrocknaphobia opened this issue Apr 25, 2012 · 6 comments
Closed

Line Numbers Stop Short #735

adrocknaphobia opened this issue Apr 25, 2012 · 6 comments

Comments

@adrocknaphobia
Copy link
Contributor

When scrolling to the bottom of a 259 line file, the line numbering ends at line 253. (see the attached image)

When scrolling down it looks as if line numbers are being generated then added to the display. There is a bit of a flicker/delay. It looks like there aren't enough lines to trigger the next display so it's left blank.

http://dl.dropbox.com/u/8136628/Brackets-LineNumbersStopShort.PNG

@njx
Copy link
Contributor

njx commented Apr 27, 2012

Adding medium priority and recommending for sprint 8. Adam, can you post the file somewhere?

@gruehle
Copy link
Member

gruehle commented May 1, 2012

@adrocknaphobia - Can you post a sample file? I've tried several files and can't repro.

@gruehle
Copy link
Member

gruehle commented May 1, 2012

Assigning to @tvoliter for investigation.

@tvoliter
Copy link
Contributor

tvoliter commented May 1, 2012

I tested this on Win7 and 10.7.3 and it didn't repro.

@adrocknaphobia I am curious whether the missing line numbers persisted after scrolling stopped or it was just delayed drawing? Your screen capture makes me think the drawing artifact persisted, but the description sounds like a drawing delay related to scrolling. Any more info on steps to repro is appreciated.

@peterflynn
Copy link
Member

Missing lines/line numbers is often also a symptom of the editor getting into a borked state (see e.g. #777 or #752). If this doesn't repro consistently merely by opening a specific file, then it's possible there are some steps leading up to this that break the editor and cause it to draw wrong, regardless of what file it has open.

@tvoliter
Copy link
Contributor

tvoliter commented May 8, 2012

Closing this as "not a bug" since it doesn't occur in an un modified version of brackets. I did put up a pull request that adds a comment to prevent others running into this issue if they modify their Brackets css to change the code font size

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants