|
|
|
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. 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. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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.