scrollbar thumb and marker bar not synchronized

Scrollbar thumb and marker bar are not synchronized when regions are
compressed.

I am working with a lot of regions in my code and normally only the region I
work in is expanded. The marker bar shows me some red and orange ticks as if
the regions are not comressed. So, clicking on one of the ticks the cursor
will be positioned correctly, but the scrollbar thumb is not on th esame
position as the tick.

Michael


4 comments
Comment actions Permalink

This is known problem, and we have no idea how this could be fixed.
The source of this problem is that VisualStudio' API doesn't contain methods
to check if region os expanded/collapsed, and their coordinate translation
doesn't mind the regions

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Michael Reukauff" <mreukauff@gmx.net> wrote in message
news:dblem1$ifg$1@is.intellij.net...

Scrollbar thumb and marker bar are not synchronized when regions are
compressed.

>

I am working with a lot of regions in my code and normally only the region
I work in is expanded. The marker bar shows me some red and orange ticks
as if the regions are not comressed. So, clicking on one of the ticks the
cursor will be positioned correctly, but the scrollbar thumb is not on th
esame position as the tick.

>

Michael



0
Comment actions Permalink

I'm curious why you think this is a bug?

The markers should reflect the position of the problem within the context of
the entire file (regardless of expansion or folding). So the marker should
appear relative to the actual problem within the whole file. The "scroll
thumb" shows the position relative to the folded/compressed/whatever text as
you scroll. It's a different thing.

I actually think it was a bug in 1.5 that when code was folded, that the
markers for syntax errors or warnings weren't relative to the entire file.
It caused weird things like a bunch of warnings in a folded block of code to
be all piled on top of themselves at the top of the bar, even if the actual
warnings were at the BOTTOM of the file.


"Michael Reukauff" <mreukauff@gmx.net> wrote in message
news:dblem1$ifg$1@is.intellij.net...

Scrollbar thumb and marker bar are not synchronized when regions are
compressed.

>

I am working with a lot of regions in my code and normally only the region
I work in is expanded. The marker bar shows me some red and orange ticks
as if the regions are not comressed. So, clicking on one of the ticks the
cursor will be positioned correctly, but the scrollbar thumb is not on th
esame position as the tick.

>

Michael



0
Comment actions Permalink

Hi Paul

In R# 1.5 it works! That's why I think it's a bug in 2.0.

Michael

"Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
news:dblqv1$jdb$1@is.intellij.net...

I'm curious why you think this is a bug?

>

The markers should reflect the position of the problem within the context
of the entire file (regardless of expansion or folding). So the marker
should appear relative to the actual problem within the whole file. The
"scroll thumb" shows the position relative to the
folded/compressed/whatever text as you scroll. It's a different thing.

>

I actually think it was a bug in 1.5 that when code was folded, that the
markers for syntax errors or warnings weren't relative to the entire file.
It caused weird things like a bunch of warnings in a folded block of code
to be all piled on top of themselves at the top of the bar, even if the
actual warnings were at the BOTTOM of the file.

>
>

"Michael Reukauff" <mreukauff@gmx.net> wrote in message
news:dblem1$ifg$1@is.intellij.net...

>> Scrollbar thumb and marker bar are not synchronized when regions are
>> compressed.
>>
>> I am working with a lot of regions in my code and normally only the
>> region I work in is expanded. The marker bar shows me some red and orange
>> ticks as if the regions are not comressed. So, clicking on one of the
>> ticks the cursor will be positioned correctly, but the scrollbar thumb is
>> not on th esame position as the tick.
>>
>> Michael
>>
>



0
Comment actions Permalink

See, in R# 1.5, I consider it broken. :)


"Michael Reukauff" <mreukauff@gmx.net> wrote in message
news:dbolhj$oae$1@is.intellij.net...

Hi Paul

>

In R# 1.5 it works! That's why I think it's a bug in 2.0.

>

Michael

>

"Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
news:dblqv1$jdb$1@is.intellij.net...

>> I'm curious why you think this is a bug?
>>
>> The markers should reflect the position of the problem within the context
>> of the entire file (regardless of expansion or folding). So the marker
>> should appear relative to the actual problem within the whole file. The
>> "scroll thumb" shows the position relative to the
>> folded/compressed/whatever text as you scroll. It's a different thing.
>>
>> I actually think it was a bug in 1.5 that when code was folded, that the
>> markers for syntax errors or warnings weren't relative to the entire
>> file. It caused weird things like a bunch of warnings in a folded block
>> of code to be all piled on top of themselves at the top of the bar, even
>> if the actual warnings were at the BOTTOM of the file.
>>
>>
>> "Michael Reukauff" <mreukauff@gmx.net> wrote in message
>> news:dblem1$ifg$1@is.intellij.net...
>>> Scrollbar thumb and marker bar are not synchronized when regions are
>>> compressed.
>>>
>>> I am working with a lot of regions in my code and normally only the
>>> region I work in is expanded. The marker bar shows me some red and
>>> orange ticks as if the regions are not comressed. So, clicking on one of
>>> the ticks the cursor will be positioned correctly, but the scrollbar
>>> thumb is not on th esame position as the tick.
>>>
>>> Michael
>>>
>>
>>
>



0

Please sign in to leave a comment.