instances
Posted: 15.01.2026 10:38
It is possible to lunch many instances of cuda as long as no instance is already running with option "Allow to run only one instance (main window) of CudaText." set to true (which is the case by default).
when launching
cudatext.exe -id=xxx -s=c:\cuda\cfg_x filex
cudatext.exe -id=yyy -s=c:\cuda\cfg_y filey1
cudatext.exe -id=yyy -s=c:\cuda\cfg_y filey2
one gets 1 instance (option one instance=true) or 3 instances (option one instance=false for the instance already running). Even if you use different copies of cud (seems that no new copy is launched).
Is it possible to have filex in instance xxx and both filey1 and filey2 in one same yyy instance ?
(ok, if option one instance=true for instance yyy, but then, what if you launch yyy first?)
It seems that would need a more fine-grained option
0: only one instance in any case (different tabs could have different ids or cfg ?)
1: only one instance of each cfg (different tabs could have different ids ?)
2: only one instance of each cfg . id
3: multiple instances in any case
I didn't test all the possibilities ; some might be already implemented.
when launching
cudatext.exe -id=xxx -s=c:\cuda\cfg_x filex
cudatext.exe -id=yyy -s=c:\cuda\cfg_y filey1
cudatext.exe -id=yyy -s=c:\cuda\cfg_y filey2
one gets 1 instance (option one instance=true) or 3 instances (option one instance=false for the instance already running). Even if you use different copies of cud (seems that no new copy is launched).
Is it possible to have filex in instance xxx and both filey1 and filey2 in one same yyy instance ?
(ok, if option one instance=true for instance yyy, but then, what if you launch yyy first?)
It seems that would need a more fine-grained option
0: only one instance in any case (different tabs could have different ids or cfg ?)
1: only one instance of each cfg (different tabs could have different ids ?)
2: only one instance of each cfg . id
3: multiple instances in any case
I didn't test all the possibilities ; some might be already implemented.