[TxMt] Re: 2.0-alpha.9501 folding / display bug

Jason Smith jason at ncpod.org
Sat Dec 21 07:30:46 UTC 2013


Beautiful!

--
Jason

> On Dec 20, 2013, at 19:45, "Allan Odgaard" <mailinglist at textmate.org> wrote:
> 
>> On 21 Dec 2013, at 7:58, Jason McC. Smith wrote:
>> 
>> Why on earth would refreshing the contents of the file itself fix this?  Or
>> is the process of doing so triggering a re-folding/coloring by TextMate?
> 
> Folded ranges are metadata associated with the document and based on byte offsets. This is why changing the file outside TextMate can mess with folded ranges.
> 
> By deleting the text you also delete the metadata (i.e. what ranges were folded), undo does not restore this metadata.
> 
> In alpha.9501 it is btw (finally) possible to click the ellipsis image to unfold the range that the image represents.
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate


More information about the textmate mailing list