[textadept] [code] z-order of buffers

From: Procházka Lukáš Ing. <LPr.att.pontex.cz>
Date: Tue, 17 Sep 2019 14:42:58 +0200

Hello Mitchell,

many MDI apps allow switching opened documents viz Ctrl+Tab by their z-order.

Having digged in TA source, I found that core/ui.lua uses variable "local buffers_zorder = {}" (line 169), which seems to be useful to implement switching buffers in their z-order.

However, this variable is "local".

Would it be possible to make "buffers_zorder" non-local - to add its synonym into a "reasonable namespace", e.g. to add
        "textadept.buffers_zorder = buffers_zorder" (or something like that)?

Cheers,

Lukas

-- 
Ing. Lukáš Procházka | mailto:LPr.att.pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4
Mob.: +420 702 033 396
-- 
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 17 Sep 2019 - 08:42:58 EDT

This archive was generated by hypermail 2.2.0 : Wed 18 Sep 2019 - 06:32:24 EDT