[TxMt] Minor update request to Python Bundle

Allan Odgaard throw-away-1 at macromates.com
Tue Sep 12 21:43:46 UTC 2006


On 12/9/2006, at 4:02, Steve Lianoglou wrote:

> Can we update the Python Language definition in order to add  
> folding markers for python docstrings (particularly for long  
> function docstrings)?

I made this change to the Python grammar:

   • make doc-strings foldable, at least when first line of the string
     has """ + at least one character and no terminating """ — the last
     line needs to only contain """

Though empty lines in doc-strings might confuse the other folding  
patterns, but that was already the case.




More information about the textmate mailing list