[code] Message Buffer / ui.print always stealing focus

From: Ryan Pusztai <rpusztai.att.gmail.com>
Date: Mon, 17 Mar 2014 14:31:36 -0400

Hi Mitchell,

I got my C++ module back up and running and doing some testing. I use your
Spawn module [1] to output compiler output and I just call "ui.print" for
each output [2]. I do have tabs enabled. If I start a build the messages go
to the "[Message Buffer]", but move my cursor to it. So if I switch away
from the "[Message Buffer]" tab while messages are being written the tab
just switches back to the "[Message Buffer]". It makes the editor not
usable during that time. Is this expected? It did not do this in earlier
versions. I am in Ubuntu 13.10 x84_64 with Textadept v7.2 beta 2.


[1] http://foicica.com/wiki/lspawn
[2] os.spawn( project_root, { "make", "verbose=true -j" .. num_cpus }, nil,
nil, ui.print, ui.print,
ui.statusbar_text = "Done building " .. project_name
ui.print( "Done building " .. project_name )
 end )
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 Mon 17 Mar 2014 - 14:31:36 EDT

This archive was generated by hypermail 2.2.0 : Tue 18 Mar 2014 - 06:50:34 EDT