Re: [code] [textadept] Show scrollbars only when needed

From: Mitchell <m.att.foicica.com>
Date: Fri, 8 Mar 2013 16:09:07 -0500 (Eastern Standard Time)

Hi Carlos,

On Fri, 8 Mar 2013, Carlos Fonseca wrote:

> Hello,
>
> I read on scroll bar section of Scintilla documentation that "The default
> state is to display it when needed". Why this does not happen on textadept?
> I tried adding v/h_scroll_bar = false on set_buffer_preferences() inside
> init.lua but it also didn't worked.
> Any thoughts?

I think with GTK the scroll bars always show by default, despite what the
Scintilla documentation says. To hide them, set buffer.v/h_scroll_bar =
false in your theme's view.lua file. If you search in the default themes'
view.lua, you'll see the lines to uncomment.

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 Fri 08 Mar 2013 - 16:09:07 EST

This archive was generated by hypermail 2.2.0 : Sat 09 Mar 2013 - 06:45:06 EST