phyllisstein / Pandown

A powerful, versatile, highly Subliminal Pandoc build wrapper for ST2/3
64 stars 12 forks source link

should open output after building is finished #13

Open randy3k opened 10 years ago

randy3k commented 10 years ago

For now, the openAndDisplay does not wait for the building causing the open function opens nothing.

This piece of code should be blocked until the building is finished, which also implies, it should not be run in the main thread.

fredcallaway commented 10 years ago

Since ST gives you a message indicating when building has finished, the python code must "know" when building is finished, correct? Shouldn't this be as easy as running openAndDisplay at the same time as it updates this message?

randy3k commented 10 years ago

I think the current Sublime api doesn't allow us to do so...