Re: [code] Disable folding altogether

From: Robert Gieseke <rob.g.att.web.de>
Date: Wed, 20 Apr 2016 07:57:23 +0200

Hi Arnel,

Am 20/04/16 um 06:19 schrieb Arnel:
> I noticed that removing the 'M._foldsymbols' table from local copies of the
> lexers I use "disables" the folding symbols but does not remove the fold margin.
> (By 'local copies' I mean those stored in my user lexers directory.)
>
> Is there a setting in TA that removes/hides the fold margin, preferably
> something that can be set in either my 'properties.lua' or 'init.lua'? The
> editor SciTE based on Scintilla has one, so I thought I'd ask.

You can find the margin settings in Textadept's `properties.lua` file
and overwrite them in your `~/.textadept/properties.lua`.

To hide it completely:

buffer.margin_width_n[2] = 0

You could also change the margin type to something different.

Cheers,
Robert

-- 
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 Wed 20 Apr 2016 - 01:57:23 EDT

This archive was generated by hypermail 2.2.0 : Wed 20 Apr 2016 - 06:45:13 EDT