Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.editors Subject: Re: Something NEW for a change? Keywords: novelty Message-ID: <7241@ficc.uu.net> Date: 8 Dec 89 18:54:51 GMT References: <559@kunivv1.sci.kun.nl> <1989Dec6.225640.15945@sun1.ruf.uni-freiburg.de> <567@kunivv1.sci.kun.nl> Reply-To: peter@ficc.uu.net (Peter da Silva) Distribution: comp Organization: Xenix Support, FICC Lines: 29 In article <567@kunivv1.sci.kun.nl> ge@kunivv1.sci.kun.nl (Ge' Weijers) writes: > An editor that can 'hide' the body of a program part (procedure module) you > are not interested in at the moment. You only see the procedure/module header. > The editor needs to know a bit about the language to do this. Not necessarily. You can hide the folding information in a comment: /* +@+frobozz() * ... */ frobozz() { ... } /* +@+ */ Then this would be displayed as a single line marked "frobozz()" in some contrasting color (or whatever). I'd much rather do this than have a language directed editor. My experience with them in the past has given me a bad taste in the mouth. Besides, this'd give you the ability to fold other stuff. (waits for 40 people to say they have Emacs macros for this already) -- `-_-' Peter da Silva. +1 713 274 5180. . 'U` Also or . "If you want PL/I, you know where to find it." -- Dennis