Sorry for not responding any sooner!

On Friday 28 March 2008 05:05 pm, Tony Balinski wrote:
> Keep the text in the buffer together: no splits. It limits various
> possibilities rather than creating opportunities, IMO. Using a variation of
> the mechanism of position maintenance used by rangesets is the way to go. 
The
> text widget would just skip over the defined collapsed ranges (perhaps
> replacing them with a symbol of sorts).

> The single buffer, apart from being the way things are done just now, allows
> for easy searching. This is fundamental for syntax highlighting. You'd have
> much more complicated searching if you have to switch from buffer to buffer.

Good point!

> Having the text (almost) contiguous helps a lot. I think Joachim was the one
> who offered an initial reaction. I agree with his position. Let folding be a
> pure construct of visualisation, with no impact on the document's content.

As I try to learn the nedit codebase, I'll consider this--maybe it is the best 
approach.

> It may match HTML, but not all situations. It's also 
> line-based and I agree with Aaron that we should try to provide collapsing 
of
> any area, within lines, complete lines and lines with partial lines at 
either
> end.

Agreed.

Randy Kramer
-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to