Pulsar-Edit-Highlights / line

@Pulsar-Edit package for highlighting the currently selected line.
https://web.pulsar-edit.dev/packages/highlight-line
MIT License
52 stars 16 forks source link

Stray highlighted lines #22

Closed dariuskl closed 10 years ago

dariuskl commented 10 years ago

When selecting any line in a file that can be scrolled vertically, then scrolling up and selecting a different line and then scrolling down again, there will be a highlighted line near the previously selected one.

For example: The file has 350 lines, the screen ranges from line ~238 to 350, I select line 329, I scroll up, the screen ranges from line ~118 to 230, I select line 169. When I scroll down again, both line 280 and a random line in the periphery of 329 are selected.

This seems to only happen if both lines would not fit on the screen at once.

richrace commented 10 years ago

That is odd.

I can't seem to recreate this. I'm using Atom 0.117.0 with React Editor enabled, you?

dariuskl commented 10 years ago

After updating to 0.117.0 the issue is gone. I was using 0.115.0 previously.

Sorry for the report, I wasn't aware of the update.

richrace commented 10 years ago

It's alright. I only updated this morning :) Thanks for reporting it anyway!