Notepad2e
Notepad2e copied to clipboard
Selecting current file in Open/Save dialogs
I think I have asked this before but can't find a ticket about it. Is it possible/how hard it is to select currently opened file in Open or Save dialogs (invoked with File | Open/etc. menu items)?
So if directory has files a.txt b.txt c.txt and I have b.txt opened, if I do Ctrl+O or other I get Open Dialog which has b.txt hghlighted (selected)? I don't need file name appearing in the input if that's simpler, I only want the file being selected (with a background) in the list of files so it's easier to see which files are before/after it.
Don't implement it yet, only research how complex it might be.
It's not easy to answer. I've done some research. I need ~ 1-2 hour to try to get it worked on win7. But i am not sure about right result ( ~ 75% on success). And i am in doubt about old XP like you gave me.
We won't do it, too complicated for the small benefit.
Let's revisit this task. This might be possible using a hook that selects and scrolls to the entry corresponding to the current file (if any) in the dialog's file list. We are already hooking the dialog for #19. One potential problem is that the dialog should not revert to "old XP style" (with 5 Placesbar buttons on the left instead of the file tree) - which Windows does in response to some combination of dialog creation flags.