History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-15221
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Serge Baltic
Reporter: Erwin Derksen
Votes: 3
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
ReSharper

Error Stripe Mark Positions Not in Sync with Document Ranges

Created: 05 Aug 06 21:28   Updated: 08 Jun 07 15:33
Component/s: VS integration
Fix Version/s: Mirabilie Futurum
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. resharper.PNG
(7 kb)

Old URL: http://www.intellij.net/tracker/resharper/viewSCR?publicId=15221


 Description  « Hide
With Resharper installed you have 2 bars at the right end of an edit Window. However, the scale of those bars is slightly different.
  • The length of the scroll bar denotes the number of lines in the file + 1 (empty) screen - 1 line.
  • The length of the Resharper analysis bar denotes the number of lines in the file.

Result:
If I scroll through my file I exect the warnings that are to the right of the slider to be visible on the edit screen. due to the scaling differences this is not true.



 All   Comments   Work Log   Change History      Sort Order:
Erwin Derksen - 08 Aug 06 18:35
Re: #15221- Analysis bar and scroll bar of edit window are not to scale
This, of course, matters only when no collapsing has taken place. Which is very often, I guess. (it is for me)

With collapsing I guess it wil be very hard to synchronise the warning lines with position in the editor window.


Adam Clauss - 08 Aug 06 18:35
Re: #15221- Analysis bar and scroll bar of edit window are not to scale
I was just about to submit this same report. I've come across one that seems particularly bad - although, like Erwin said - the problem gets more complicated when code is collapsed - which I currently have a significant amount of at the bottom of my open file. Out of the > 2000 lines in this particular file, only the top 200 or so are expanded. The rest is divided into 6 or 7 collapsed regions.

If Resharper could be smart enough to sink this up, that would be awesome.

In the attached picture, the scroll bar position is the location of the topmost error indicated by the analysis bar.


Erwin Derksen - 08 Aug 06 18:35
Re: #15221- Analysis bar and scroll bar of edit window are not to scale
Though I did notice some improvement, it is still not what I expect.

What I would expect is that when I scroll through a file (without any collapsed regions) that all warnings that are visible on my editor window are to the right of the scrollbar and vice versa. For example, if a warning is on the same height as the bottom of the scroll bar, I would expect that warning to seen on the bottom line of my edit window. and if a warning is on the same height as the top of the scroll bar, I would expect that warning to seen on the top line of my edit window.