Re: [code] [Textadept] How to use buffer.margin_left & _right?

From: Mitchell <m.att.foicica.com>
Date: Tue, 25 Jul 2017 09:55:25 -0400 (EDT)

Hi Franck,

On Tue, 25 Jul 2017, Franck Guadagnini wrote:

> Hello,
>
> I'd like to add some horizontal padding to the buffer (useful to write markdown in full screen). I tried, in my properties.lua, `buffer.margin_left = 50` and the same for `_right` (these command are commented in the default properties.lua), but the margins are set to 0 instead, as stated in this thread from the Google Group archive: https://foicica.com/lists/textadept_archive/201006/1072.html <https://foicica.com/lists/textadept_archive/201006/1072.html>. I confirmed that the margins are set to 0 with the `buffer.margin_left` command run in the command entry.
> So how could I make these commands work?

You found a bug. Thanks for the report. I've committed a fix[1] that will be in the next nightly build.

Cheers,
Mitchell

[1]: http://foicica.com/hg/textadept/rev/81a105a50315

-- 
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 25 Jul 2017 - 09:55:25 EDT

This archive was generated by hypermail 2.2.0 : Wed 26 Jul 2017 - 06:34:45 EDT