Request for option to set any newly opened tab as current/active

Solved bugs are moved into this topic...
Post Reply
cydonia
Posts: 22
Joined: 26.07.2024 01:09

Request for option to set any newly opened tab as current/active

Post by cydonia »

In cudatext version 1.214.6 theres no option available to set any newly opened tab as current/active.
main Alexey
Posts: 2194
Joined: 25.08.2021 18:15

Re: Request for option to set any newly opened tab as current/active

Post by main Alexey »

how do you open a new tab?
'file / open', drag-drop, command-line with 2 instances, etc?
cydonia
Posts: 22
Joined: 26.07.2024 01:09

Re: Request for option to set any newly opened tab as current/active

Post by cydonia »

If I have a single text file open in cudatext in a tab and then use an external program configured in tools to open a new file using cudatext.exe "file@line@column" the file opens in the same instance of cudatext in a new tab but the new tab does not become the current/active or selected tab, I would like the new tab to become the active/selected tab similar to when opening a file from File->Open recent or File->new file or File->Open file.
main Alexey
Posts: 2194
Joined: 25.08.2021 18:15

Re: Request for option to set any newly opened tab as current/active

Post by main Alexey »

I did not reproduce this. even on Wine on Linux.

- i start clean Cud, welcome-tab opened
- i opened 2 more new tabs here
- i start "cudatext.exe acp.js@2" from console and acp.js is ACTIVATED

give me steps on clean Cud, how to repeat.
cydonia
Posts: 22
Joined: 26.07.2024 01:09

Re: Request for option to set any newly opened tab as current/active

Post by cydonia »

Using both my configured 32 bit version as well as a clean 64 bit install I have confirmed the scenario in which this behaviour occurs using a test file and batch file in windows 10 that causes the reported issue:
when a file is opened without any flags via the commandline the file is opened in a new tab and that tab becomes active/current
however when the -r readonly flag is used, when the same file is opened via the commandline a different behaviour is observed, although its opened in a new tab the new tab doesn't become current/active.
main Alexey
Posts: 2194
Joined: 25.08.2021 18:15

Re: Request for option to set any newly opened tab as current/active

Post by main Alexey »

now I repeat the issue. with -r flag. I will see it later (now I am on Linux).
cydonia
Posts: 22
Joined: 26.07.2024 01:09

Re: Request for option to set any newly opened tab as current/active

Post by cydonia »

confirmed working correctly
Post Reply