folding question [message #168676] |
Wed, 14 July 2004 08:19  |
Eclipse User |
|
|
|
I am working on adding folding support to a custom editor. I have found
that if I set the positions for the folding regions to *not* be on line
boundaries, my line numbers get off by one. From looking at the java
implementation, it appears that it sets its folding regions to include the
carriage returns. Does anyone know if this is required, or if this is a
bug?
Thanks,
Ernest
|
|
|
Re: folding question [message #169249 is a reply to message #168676] |
Mon, 19 July 2004 08:47  |
Eclipse User |
|
|
|
Originally posted by: daniel.megert.gmx.net
Ernest Pasour wrote:
>I am working on adding folding support to a custom editor. I have found
>that if I set the positions for the folding regions to *not* be on line
>boundaries, my line numbers get off by one. From looking at the java
>implementation, it appears that it sets its folding regions to include the
>carriage returns. Does anyone know if this is required, or if this is a
>bug?
>
>
The projection model itself can handle regions but currently only
line-based folding is supported by the projection viewer. Please file a
bug if you are using the ProjectionViewer.
Dani
>Thanks,
>Ernest
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.56346 seconds