orbitalquark / textadept

Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor for programmers.
https://orbitalquark.github.io/textadept
MIT License
636 stars 38 forks source link

Each consecutive invocation from the CLI spawns a new process #464

Closed georgeraraujo closed 11 months ago

georgeraraujo commented 11 months ago

Hi,

I just downloaded the 09/25 nightly (4a871b2) for Windows.

I deleted %USERPROFILE%\.textadept to start from scratch, and opened 5 files from the CLI:

textadept.exe 1st.txt
textadept.exe 2nd.txt
textadept.exe 3rd.txt
textadept.exe 4th.txt
textadept.exe 5th.txt

Each consecutive invocation from the CLI spawned a new process (five in total):

image

As per the nightly Manual,

The GUI version of Textadept is a single-instance application. This means that after you start Textadept, any time you invoke it again (e.g. opening a file from a file browser or command line), the action happens in the original instance.

Then I click "File", "Close All", and "File", "Quit", and still have 4 running processes:

image

I suppose that could be an issue.

orbitalquark commented 11 months ago

Thanks for the report! This should be fixed via https://github.com/orbitalquark/textadept/commit/bca2495acc6c9f495ee3d6963caa88da050a1452 and will be in the next nightly.