Find Files dialog: use Custom Viewer / Editor

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, sheep, Hacker, Stefan2

Post Reply
mareq
New Member
New Member
Posts: 1
Joined: 2008-11-14, 13:03 UTC

Find Files dialog: use Custom Viewer / Editor

Post by *mareq »

I set PSPad Editor as the default viewer for TC. It works fine from TC, but not from Find Files dialog. From Find Files dialog after pressing F3 the internal viewer is always opened.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 40787
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately find files currently doesn't support any external viewers or editors, sorry. The problem is that they could modify the search results this way...
Author of Total Commander
http://www.ghisler.com
lanwin
Junior Member
Junior Member
Posts: 12
Joined: 2008-11-25, 12:57 UTC

Post by *lanwin »

Hi, why did the viewer could modify the search results? I could easyly rightclick to the file and call open notepad. Where is the difference there?
User avatar
Samuel
Power Member
Power Member
Posts: 1882
Joined: 2003-08-29, 15:44 UTC
Location: Brandenburg, Germany
Contact:

Post by *Samuel »

Hi, why did the viewer could modify the search results?
You could for example change file date or change the content. (In extended search you can search by date and with some plugins you can search by content.)

I could easyly rightclick to the file and call open notepad.
Support++; (for allowing direct File edit)

If a user want to find files and chooses to modify one, than he already know about this file and if its relevant for him or not. So its no problem that the search is possible outdated.

Please!?
dippnsk
New Member
New Member
Posts: 0
Joined: 2021-02-15, 10:11 UTC

Re: Custom Viewer

Post by *dippnsk »

Can we review this feature once again? It's 2021, a lot of editors can do a lot of great things, but the built-in viewer is not so great. I found using notepad++ is very useful as a custom viewer. You can actually run it in read-only mode, thus it will not clobber with possible Find window results:

Code: Select all

notepad++.exe -nosession -multiInst -notabbar -noPlugin -ro "%1"
Please?
User avatar
Gral
Power Member
Power Member
Posts: 782
Joined: 2005-01-26, 15:12 UTC

Re: Find Files dialog: use Custom Viewer / Editor

Post by *Gral »

Look at these lister plugins:
http://totalcmd.net/plugring/edloader.html
https://totalcmd.net/plugring/anycmd.html
You can configure it to use any program to open files.
Post Reply