[TxMt] Re: Problem with folding code

Tim Bates timothy.c.bates at gmail.com
Mon Jan 27 12:04:58 UTC 2014


remembering a custom fold would be nice.
which makes me think that within-a-line folds would be wonderful.

For markup languages, it would be great to be able to fold, say, all the links down to just their display text.

t


On 26 Jan 2014, at 2:16 PM, Allan Odgaard <mailinglist at textmate.org> wrote:

> On 21 Jan 2014, at 1:33, Samuel Schumacher wrote:
> 
>> Since I updated to Textmate 2 I have a problem with folding code: whenever I unfold a piece of code (by clicking on the triangle), the code unfolds but the triangle disappears. This way I need to highlight the section and click fold again, instead of just clicking the triangle again to fold it […]
> 
> If there is a pattern to what you are folding then you should setup the folding patterns so that you always get the arrows (by default) rather than having to select and fold “manually”.
> 
> If there is no pattern to what you are folding, then you’re currently out of luck, as custom foldings are dropped once unfolded. TextMate 1.x may have remembered them until the file was closed (or line with a marker is edited). It probably wouldn’t be that much of an effort to re-introduce the feature, though you’re the first to bring up the changed behavior.
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate



More information about the textmate mailing list