User configurable folding?

This forum should be used for all code folding problems, questions or suggestions. You can also use this forum to request folding support for a new language.
Post Reply
McC
Posts: 1
Joined: Sat May 27, 2006 6:47 pm

User configurable folding?

Post by McC » Sat May 27, 2006 7:03 pm

Hi,

Do you plan on making folding configurable by the user? Either via some preference options or via a plug-in API?

We end up creating a lot of little text formats in the course of our work, and I'd love to be able to quickly configure folding rules for it. One example is given below. Folding for "major headings" should start with the line of text above the "============="'s and end with the line above the text of the next set of "==============="'s. The number of equal signs should be equal to the length of text but it is not enforced. Any set of 4 or more equal signs constitutes a major heading. The same is true of other headings (---------- and ~~~~~~ and ++++++++, etc).
Lists should fold, paragraphs should fold, etc.

Thanks in advance,
McC


This is a major heading
===============

This is a paragraph. It is just text and text
and more text.

- Here is a list of item
- There are a number of items here
in this list that are of no use at all.
- Some list item have children
- This is a child
- This is another child
- This is not a child.

This is a minor heading
---------------------------

More text.

A tertiary heading
~~~~~~~~~~~~

Yet more text.

Another minor heading
--------------------------

With more text.

- And a list
- The list has items.

The second major heading
=================

That has more text.

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 4 guests