Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » folding question
folding question [message #168676] Wed, 14 July 2004 08:19 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
>
>
>
Previous Topic:How to dispose of unwanted Ant configurations in M9/RC1?
Next Topic:Creating comments
Goto Forum:
  


Current Time: Mon Jul 14 23:22:24 EDT 2025

Powered by FUDForum. Page generated in 0.56346 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top