dinkumoil wrote:
Here the question is, did he try to open a file when an instance of CudaText was already running or when there was no running instance of CudaText? What does he expect to happen in these two cases?
I expected it to behave like NPP, whatever I open file with already opened NPP or opening file with closed NPP throught explorer context, and it adds new tab to the previous session.
dinkumoil wrote:
Long story short, the user's problem mentioned above has nothing to do with my shell extension nor with my single-instance startup code.
I'm ok with how it behave right now, but I'm curious why it can't keep session if CudaText is closed when you use context "Open with CudaText" on file in Explorer...
uvviewsoft wrote:I know that we have some options for sessions. In Plugins/ Options Editor: enter "sess", this gives few options:
ui_reopen_session_cmdline
Well, "ui_reopen_session_cmdline" that's what was missing in the equation.
Now with this option enabled I got what I need. It adds new tab to previous session even if CudaText was closed.
You should add this to wiki it's a huge boost for CudaText.
Hi. I am new to ČudaText. I do not have an exact, but possibly a similar problem, so I am continuing this thread:
I defined a project, consisting of a folder (with subfolders), so I can see for instance my *.md files in the project tree. When I double click on a file in a project tree, it opens in editor. However, different files all open in the same editor tab. I would like them to open in different tabs, to have them all opened at the same time in one editor instance. What am I doing wrong? Thanks.
P.S. Currently I have the following settings active (just in case something of it matters):
"ui_one_instance": true,
"ui_reopen_session_cmdline": false,
"ui_reopen_session": true,
"ui_auto_save_session": false