[code] [textadept] I found a simple and reproducible bug in textadept, regarding buffer.tab_width and init.lua.

From: Volker Weißmann <volker.weissmann.att.gmx.de>
Date: Fri, 18 May 2018 18:18:09 +0200


I found a simple and reproducible bug in textadept. To reproduce it
execute the following commands on a linux-system without textadept
installed (tested on Ubuntu 16.04 and Ubuntu 17.10):

curl https://foicica.com/textadept/download/textadept_LATEST.x86_64.tgz
-o textadept.tgz
tar -xzf textadept.tgz
mkdir ~/.textadept
echo "buffer.tab_width=8" > ~/.textadept/init.lua
./textadept_9.6.x86_64/textadept # or textadeptjit or textadept-curses
or textadeptjit-curses

Expected outcome: Textadept starts and tab width is set to 8 spaces.

Observed outcome: Textadept starts but tab width is set to 2 spaces.

Note: If I execute "buffer.tab_width=8" by pressing Ctrl+E, it works.

I would be thankful if anyone could fix this bug.

Volker Weißmann

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 18 May 2018 - 12:18:09 EDT

This archive was generated by hypermail 2.2.0 : Sat 19 May 2018 - 06:37:50 EDT