Home Download Buy Blog Forum Support

Bug: assert and crash when printing from a TextCommand?

Bug: assert and crash when printing from a TextCommand?

Postby mry on Thu Dec 10, 2009 1:42 pm

Create a text command that prints something such as this, bind it to a key and activate it through the keybinding.

Code: Select all
class Test(sublimeplugin.TextCommand):
    def run(self, view, args):       
        print "test"

Using the latest beta everything usually works fine, but sometimes I get a crash with message "Assertion failed in .\text\text_buffer.cpp:390:m_constructionDepth == 0". Looks like this happens always if I have focus set to the text buffer in the console. It works fine if another view (or input field in console) is focused.
mry
 
Posts: 10
Joined: Fri Oct 30, 2009 5:42 am

Re: Bug: assert and crash when printing from a TextCommand?

Postby jps on Fri Dec 11, 2009 9:18 am

Thanks for the report - will fix for the next beta
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 12 guests