<div dir="ltr"><div><div><div>Is there a way to fold lines in DrRacket (for pure text files)?<br></div><div><br>I.e., say there is a file in the editor, with line numbers displayed:<br></div><div>1 This is the first line.<br>
</div><div>2 This is the second line.<br></div><div>3 This is the third line.<br></div><div><br>and I want to fold line 2, the editor would then only show:<br></div><div><div>1 This is the first line.<br></div>3 This is the third line.<br>
<br></div><div>but of course line 2 is not really deleted, just hidden.<br></div><div>I don't mean something like wxWidgets, i.e., the file itself is not changed and remains pure text.</div><div><br></div>If not, what would it take roughly to implement such a feature?<br>
<br></div>Thanks,<br></div>Laurent<br></div>