Re: [code] [textadept] Textadept 7.0 beta 4

From: Mitchell <m.att.foicica.com>
Date: Thu, 3 Oct 2013 08:46:48 -0400 (Eastern Daylight Time)

Ryan,

On Wed, 2 Oct 2013, Ryan Pusztai wrote:

> [snip]
>
> Now onto a feature tweak. I used to make the lua run command start like
> this:
>
>> local m_run = textadept.run
>> m_run.run_command.lua = [[lua -e "io.stdout:setvbuf 'no'" %(filename)]]
>
>
> The reason is so the order of the prints come out correctly. Without it
> for example if you have a lua module that prints to the std::out it can
> come out of order and makes the output confusing. Thoughts?

Sorry if I'm misunderstanding your question, but you should be able to do

   textadept.run.run_commands.lua = ...
                            ^
Note the extra 's'.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 03 Oct 2013 - 08:46:48 EDT

This archive was generated by hypermail 2.2.0 : Fri 04 Oct 2013 - 06:32:15 EDT