program feature suggestion: rule grouping

Let the developers know what you think of the software and what can be done to either improve the CFDG language or the Context Free program.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
headhammer
Posts: 3
Joined: Thu Jun 09, 2005 1:34 am

program feature suggestion: rule grouping

Post by headhammer »

very simple idea, serving no other purpose than to make cfdg files more organised and easier to read through when you have lots of rules.
e.g., the polygons cfdg, which has quite a few to sift through.

i can't really think of an accurate succint way of describing it, but it's a feature in [textmate], which i've been using for quite a while. only, they call it foldings. a little animation on the front page of [textmate]'s site shows how it works.

basically, there's a little arrow button at the beginning and end of each specified section, and clicking either of them collapses it down to one line. clicking the button again expands it out, if you need to edit/examine the contents. hovering over a section title shows you some/all of the code hidden therein.

it's a great idea, and it makes for very, very clean files.

gimmegimmegimme (please? :D )

Post Reply