On Tue, Jul 19, 2011 at 16:53, Rodolfo Carvalho <rhcarva...@gmail.com>wrote:
> 2011/7/16 Matthias Felleisen <matth...@ccs.neu.edu> > >> >> On Jul 16, 2011, at 10:04 AM, José Lopes wrote: >> >> > The second feature is the ability to expand/collapse function >> definitions, i.e., hide >> > the body of a function and just see the name and parameters. >> >> You can collapse S-expressions into dots in DrRacket. Perhaps we should >> offer a menu item to do this for all top-level defines or all class-level >> defines etc. > > > > I tried this option some time ago. > I can collapse s-expressions by right-clicking them and choosing "Collapse > S-expression", and expand back in a similar fashion. > > That works good for editing the file. Having a way to toggle top-level > defines would sure be useful. > > However, whenever I use this feature and save the file it goes in "GRacket > editor format", and though it's still a text file, that's not wanted in many > cases (for me) (for instance it doesn't play that nice with version > control). > > (At least that's what I observe in Racket 5.1.1) > > Is there a way to force saving in "text-only" format? (And keep the (...) > forms in the editor) > > > I'd love that too! (annotated source files can hardly be used in different editors) It probably means that folding is reset each time the file is re-opened, but really I'd be very happy with that. Laurent
_________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users