Page 2 of 2

Posted: 15.12.2022 18:32
by main Alexey
Let's test beta,
win64 .exe file
http://uvviewsoft.com/c/

Write new option to user.json:

Code: Select all

  //Sub-option of "ui_open_dir".
  "ui_initial_dir": "",

  //Initial folder of Open/Save-as dialog.
  //Has character(s), each character is a step to detect the folder.
  //  'p': If project is opened: selected folder in the Project Manager,
  //       or folder of the "projectname.cuda-proj" file.
  //  'f': Folder of focused ui-tab, if it's named.
  //  'l': Last user-chosen folder in the Open/Save-as dialog.
  //  'i': Value of option "ui_initial_dir", if not empty.
  //  'h': OS home folder.
  "ui_open_dir": "pflih",


Posted: 16.12.2022 00:35
by friend
I tested the "f" option by itself it works.
But "pf" to first consider an open project still remembers the last selected folder path after removing the root.
I've been opening folders (File -> Open folder...), then removing the root node to close them, but not saving project files. Saved projects do the same thing it seems.

Thanks friend Ἀλέξιος.

Posted: 16.12.2022 05:46
by main Alexey
>I've been opening folders (File -> Open folder...), then removing the root node to close them, but not saving project files.
Pls don't do this; but do this: to clear opened project, call in its context menu: project file / new project. With this Cud must forget about last project dir.

Posted: 16.12.2022 06:02
by main Alexey
I made a fix for ProjManager. Pls download files from
https://github.com/Alexey-T/CudaText/tr ... roject_man
and replace them in (cudatext)/py/cuda_project_man.
now you can ignore this: 'to clear opened project, call in its context menu:... '
it helped?

Posted: 16.12.2022 10:13
by main Alexey
I mean now you can clear project via removing its root nodes, and ProjMan must forget about last chosed dir then.

Posted: 16.12.2022 19:35
by friend
Oh, didn't try that option before.
Indeed it helps, friend.
Thank you friend Alessio and the other friends for this beautiful program.

Posted: 16.12.2022 20:17
by main Alexey
not Alessio, write just 'Alex'.

Posted: 19.12.2022 06:15
by friend
I'm just kidding friend Алексей. It's your name written in different languages (Alexander is similar but different, my mistake).
Thank you friends.