<div class="gmail_quote">2011/7/16 Matthias Felleisen <span dir="ltr"><<a href="mailto:matthias@ccs.neu.edu" target="_blank">matthias@ccs.neu.edu</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
On Jul 16, 2011, at 10:04 AM, José Lopes wrote:<br>
<br>
> The second feature is the ability to expand/collapse function definitions, i.e., hide<br>
> the body of a function and just see the name and parameters.<br>
<br>
</div>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.</blockquote><div><br></div><div><br></div><div>I tried this option some time ago.</div>
<div>I can collapse s-expressions by right-clicking them and choosing "Collapse S-expression", and expand back in a similar fashion.</div><div><br></div><div>That works good for editing the file. Having a way to toggle top-level defines would sure be useful.</div>
<div><br></div><div>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).</div>
<div><br></div><div>(At least that's what I observe in Racket 5.1.1)</div><div><br></div><div>Is there a way to force saving in "text-only" format? (And keep the (...) forms in the editor)</div><div><br></div>
<div><br></div><div>[]'s</div><div><br></div><div>Rodolfo Carvalho</div></div>