setRangeIndication in folding annotations [message #306284] |
Wed, 26 July 2006 11:08  |
Eclipse User |
|
|
|
I am writing a folding editor, and I want the range indicators (by
which, I mean the vertical line that shows up in the folding region and
extends to the bottom of the region) to show up all the time. So I
create a ProjectionAnnotation and call setRangeIndication(true). When I
create the annotation, the range indicator line shows up. However, if I
move the mouse over that line, it goes away, and the behavior from that
point seems to be the same as if I had done setRangeIndication(false).
Am I missing something?
|
|
|
Re: setRangeIndication in folding annotations [message #306299 is a reply to message #306284] |
Wed, 26 July 2006 12:25  |
Eclipse User |
|
|
|
Originally posted by: tom_eicher.ch.ibm.com
Ernest,
from the code it seems that you cannot permanently set the range
indication. ProjectionRulerColumn will reset the state based on mouse
events.
-tom
Ernest Pasour wrote:
> I am writing a folding editor, and I want the range indicators (by
> which, I mean the vertical line that shows up in the folding region and
> extends to the bottom of the region) to show up all the time. So I
> create a ProjectionAnnotation and call setRangeIndication(true). When I
> create the annotation, the range indicator line shows up. However, if I
> move the mouse over that line, it goes away, and the behavior from that
> point seems to be the same as if I had done setRangeIndication(false).
>
> Am I missing something?
|
|
|
Powered by
FUDForum. Page generated in 0.03409 seconds