[TxMt] bug in latest python highlighter

Alexander Ross alex.j.ross at gmail.com
Wed Nov 1 03:55:36 UTC 2006


Michael,

This has been fixed in current svn.  Thank you!

- Alex Ross


On Oct 31, 2006, at 7:45 PM, Michael Bayer wrote:

> well, it appears that my original issue persists, and it occurs  
> with both the latest bundle as well as the 5797 version...so it  
> would seem the issue is in textmate itself (and perhaps some  
> interaction with the python bundle).  the case to reproduce can be  
> made even simpler:
>
> 1. new file (or any file)
>
> 2. enable python highlighting
>
> 3. type:  "print foo(bar)"
>
> 4. back the cursor up right before the "foo", and manually type  
> "lala(bar), ", attempting to make the line say "print lala(bar), foo 
> (bar)".  after you type the last ), textmate hangs indefinitely.
>
>
> On Oct 31, 2006, at 8:49 PM, Allan Odgaard wrote:
>
>> I forgot to mention, after having exported the bundle, be sure to  
>> either relaunch TextMate, or select Bundles → Bundle Editor →  
>> Reload Bundles from within TextMate.
>>
>>
>> On 1. Nov 2006, at 02:46, Allan Odgaard wrote:
>>
>>> On 1. Nov 2006, at 02:17, Michael Bayer wrote:
>>>
>>>> [...]
>>>> im gathering the python highlighting has an endless loop in it.   
>>>> can we revert to the previous highlighter ?
>>>
>>> I believe this has since been fixed, if you have svn on your  
>>> system you can run these three lines to update just the Python  
>>> bundle:
>>>
>>>    # assume you have TextMate in /Applications
>>>    cd /Applications/TextMate.app/Contents/SharedSupport/Bundles
>>>
>>>    # remove the old bundle
>>>    rm -rf Python.tmbundle
>>>
>>>    # retrieve latest version
>>>    svn export http://macromates.com/svn/Bundles/trunk/Bundles/ 
>>> Python.tmbundle
>>>
>>> If you still see problems with the latest version, please let us  
>>> know.
>>>
>>> It is also possible to retrieve the bundle prior to the latest  
>>> changes, that would be done using:
>>>
>>>    svn export -r5797 http://macromates.com/svn/Bundles/trunk/ 
>>> Bundles/Python.tmbundle
>>>
>>>
>>> ____________________________________________________________________ 
>>> __
>>> For new threads USE THIS: textmate at lists.macromates.com
>>> (threading gets destroyed and the universe will collapse if you  
>>> don't)
>>> http://lists.macromates.com/mailman/listinfo/textmate
>>
>>
>> _____________________________________________________________________ 
>> _
>> For new threads USE THIS: textmate at lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you  
>> don't)
>> http://lists.macromates.com/mailman/listinfo/textmate
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate




More information about the textmate mailing list