Page 1 of 1
Pass to editor full file name
Posted: 2008-08-11, 07:10 UTC
by MVV
Hi to all. I want to say about one old 'bug' and to make a suggestion.
Problem occurs when you use multi-file editor (such as Notepad++) and it is already open. Try to create and edit a file in TC panel with Shift+F4. TC creates file and passes its name to editor. But editor has another active directory and it creates another file with same name but in another place.
I suggest to pass to editor full file name with path always. So, editor will correctly get a path to a file.
Posted: 2008-08-11, 07:37 UTC
by ghisler(Author)
I will consider that, thanks for your suggestion.
Posted: 2008-08-11, 08:15 UTC
by MVV
Thanks for TC.

Not confirmed
Posted: 2008-08-11, 09:13 UTC
by roentgen
If it matters, I can't confirm MVV's observations.
With TC7.04a and Notepad++ 5.03 the file is created in the right folder.
I even tried creating a new file in a different partition and also with the N++ setting "Remember the last operation directory" activated.
Re: Not confirmed
Posted: 2008-08-11, 17:57 UTC
by HolgerK
roentgen wrote:...
I even tried creating a new file in a different partition and also with the N++ setting "Remember the last operation directory" activated.
Settings->Preferences->Global: [x] Remember the last operation directory
For some unknown reason

, this is exactly the setting which
must be set in notepad++ to make it work together with TC.
Regards,
Holger
Posted: 2008-08-17, 10:42 UTC
by MVV
Strange behaviour...
I have opened Notepad++ with a file from one folder. In TC I try to create new file in another folder. And:
I try to create a file .reg - Notepad asks to create it in its current folder.
I try to create a file .txt - Notepad opens valid file...
Gotcha! If I try to create a file with spaces in its name, Notepad++ determines its path incorrectly... I don't know why. TC sends a file name in quotes... Anyway, my suggestion fixes the situation.
