Re: [textadept] Re: can the size of user_list_show be adjusted?

From: mitchell <c....at.caladbolg.net>
Date: Thu, 16 Dec 2010 09:07:49 -0500 (Eastern Standard Time)

Scott

> Thanks! Can you adjust the width too? It seems like it's way wider
> than needed for the list I am popping up.

Please see the LuaDoc for 'buffer'. Yes you can adjust the width.

mitchell

>
> On Dec 15, 4:07�pm, mitchell <c....at.caladbolg.net> wrote:
>> Scott,
>>
>>> I would like to display the user_list_show popup with no scroll bars.
>>> Is there some way to force it to display all list options without
>>> having to scroll?
>>
>> list = { 'foo', 'bar', 'baz' }
>> buffer.auto_c_max_height = #list
>> buffer:user_list_show(10, table.concat(list, ' '))
>>
>> mitchell
>>
>>
>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "textadept" group.
>>> To post to this group, send email to textadept.at.googlegroups.com.
>>> To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
>>> For more options, visit this group athttp://groups.google.com/group/textadept?hl=en.
>>
>> mitchell
>
> --
> You received this message because you are subscribed to the Google Groups "textadept" group.
> To post to this group, send email to textadept.at.googlegroups.com.
> To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/textadept?hl=en.
>
>

mitchell
Received on Thu 16 Dec 2010 - 09:07:49 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:57:12 EST