Re: [code] Creating a slip box with textadept

From: juh <>
Date: Wed, 18 Sep 2019 17:28:37 +0200

After some further investigation I think that I only need two functions
in Textadapt to be happy.

I need basically 2 file creation functions that opens new files and
gives them a special filename.

Eg. if I open the file in textadapt and want to extend miy slip
box I want to have

1. a function that opens/creates a file with the following number: here
file "" or

2. a function that opens/creates a file with an incrementing number :
here ""

These two functions have to lookup the filename of the current buffer
and create the filename of the new file after testing if the filename is
already given.

These functions would create a slip box where the relationship between
the slips is reflected in the filename.

This seems to be a nice task for learning lua or textadapt scripting.

I'll give a try, but if someone has the solution at hand I would be very


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Wed 18 Sep 2019 - 11:28:37 EDT

This archive was generated by hypermail 2.2.0 : Thu 19 Sep 2019 - 06:47:17 EDT