Re: [code] [textadept] Textadept 7.2 beta 3

From: Ryan Pusztai <rpusztai.att.gmail.com>
Date: Tue, 1 Apr 2014 14:17:17 -0400

Hi Mitchell,

On Tue, Apr 1, 2014 at 12:41 PM, Mitchell <m.att.foicica.com> wrote:

> Hi Ryan,
>
>> Oh my... this is an amazing addition and exactly what I have done on my
>> own. Can't wait to help work out the details!
>> Not sure what you used as a key binding but I really liked
>> 'Ctrl+Shirft+B'.
>> Which is very natural because you switch buffers with 'Ctrl+B'.
>>
>
> Ctrl+Alt+Shift+P snapopens the current project and Ctrl+Shift+B builds it.
> I like your idea of Ctrl+Shift+B for snapopen project, but then there's the
> question of what key to bind to "build"...

So Visual Studio uses F6 to build the current project. I suggest that. (I
know that is not the only IDE, but I notice lots of familiar shortcuts used
in Textadept already)

> Also is there a way to use snapopen and control the width and height of
>> the
>> dialog? I like to use the "ui.width - 20" so it fills the most it can
>> without looking like it covers all the gui.
>>
>
> Yes, just call `io.snapopen()` with a table of options. Something like:
>
> io.snapopen(nil, nil, nil, {width = ui.width - 20})
>
> (The first `nil` is new and tries to snapopen the current project.) You
> can bind your call to the existing key to overwrite the default behavior.
>

Thanks. That helps.

--
Regards,
Ryan
-- 
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 Tue 01 Apr 2014 - 14:17:17 EDT

This archive was generated by hypermail 2.2.0 : Wed 02 Apr 2014 - 06:38:46 EDT