CudaText: Opening relative filename in root of current drive (Windows) is broken
Let’s say I have a file c:\Test.txt and I am in subdirectory c:\Somewhere. If I start Cud with
cudatext c:\Test.txt
or
cudatext ..\Test.txt
the file is loaded.
If I try to load this with
cudatext \Test.txt
I get a query whether C:\Somewhere\\Test.txt should be created. The file is not loaded.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (7 by maintainers)
Commits related to this issue
- fixing #2862 — committed to Alexey-T/CudaText by Alexey-T 4 years ago
- fixing #2862 for single instance — committed to Alexey-T/CudaText by Alexey-T 4 years ago
It works… but only partly. With no Cud loaded and in x:\somewhere, I do:
cudatext \test1.txt
and this loads x:\test1.txt. OK. If I now do this:cudatext \test2.txt
I get the same messagebox as before telling me that x:\somewhere\test2.txt doesn’t exist. 2nd/1st instance communication trouble, I assume.I am developer myself. And I would LOVE to help with the development of Cud… but it’s written in FP and I am in no way proficient in Pascal anymore (I was, in another life 😄 ), let alone the intricacies of FP.
If Cud were written in C or C++ I would certainly have created a few patches already, for stuff I think would be good to have. But as it stands, I can’t.
EDIT: Actually, the problem isn’t even that Cud is written in Pascal. I can cobble together some lines of Pascal and though it would take me a lot more time than it would @Alexey-T I would be able to do it (thanks to Google and stackexchange 😄 ). The real problem for me is setting up the development environment and all the required components etc. That requires a lot of FP know-how which I simply don’t have.