Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first editor is taken by default #27

Open
bon-ami opened this issue Nov 4, 2024 · 1 comment
Open

first editor is taken by default #27

bon-ami opened this issue Nov 4, 2024 · 1 comment

Comments

@bon-ami
Copy link

bon-ami commented Nov 4, 2024

double commander 1.1.17
windows 10
F4MM 1.42

press F4 on a non-text file, such as exe, in double commander. and notepad2-mod runs to open it. (notepad2-mod runs for txt files, too, which is as expected.)

  • Settings
    • Background mode=F4
    • no TC path
    • INI path points to doublecmd.ini
  • Editors
    • notepad2-mod = txt,log,xml (not set as default)
    • notepad = txt,xml
@hi5
Copy link
Owner

hi5 commented Nov 8, 2024

That is what is supposed to happen - the first editor is to the default which means that for any extension where there is no editor defined, it will use that editor. So it can't find any for exe then it will use the first entry.

The same would be the case if you weren't using F4MM and only setup - notepad2-mod.exe in your case - as editor in DC, it would then open the exe files in notepad2-mod.exe too.

Unless I misunderstood your comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants