External editor command: more flexibility wanted
Moderators: fgagnon, nikos, Site Mods
External editor command: more flexibility wanted
The editor I use for my external editor (UltraEdit, a superb product BTW) will open multiple tabs if multiple files are given on the command line. However if I select multiple files in an X2 window and hit F4, what I get is multiple instances of UltraEdit each with one file. From this I assume (and of course I could be wrong) that X2 is firing off a command for each file, when what I want it to do is fire off one command with all the files.
I think it's more of your editor settings. Say, Twistpad opens all files in one window w/o any tweaking. I'd suggest to check UE settings.
Although, this could be useful if the one could configure editor/viewer command line arguments. Something like "Editor\Path.exe" /args $file.
Although, this could be useful if the one could configure editor/viewer command line arguments. Something like "Editor\Path.exe" /args $file.
I'm using Xplorer2 - the only file manager that does not suck. Actually, it rocks!
Well, I also have a shortcut to UE in my SendTo folder, and if I select several files in an X2 window, right-click, and send them to UE it works as I expect. So I think it's something in how X2 invokes UE as an external editor.wasker wrote:I think it's more of your editor settings. Say, Twistpad opens all files in one window w/o any tweaking. I'd suggest to check UE settings.
Open SendTo folder. See the properties of UE shortcut. See if any additional parameter is being passed in the Target field.
Also try this: Instead of using F4 to launch UE, try creating an User command and try passing parameter $A to UE.
eg: >"Path_to_UltraEdit_exe" $A
If above doesn't work, experement with few other tokens.
Also try this: Instead of using F4 to launch UE, try creating an User command and try passing parameter $A to UE.
eg: >"Path_to_UltraEdit_exe" $A
If above doesn't work, experement with few other tokens.
Help! I'm an AI running around in someone's universe simulator.
No, the shortcut contains only the path to UE.snakebyte wrote:Open SendTo folder. See the properties of UE shortcut. See if any additional parameter is being passed in the Target field.
Yes, that works. It doesn't really buy me anything, though. What I want is for the View and Edit builtins to work the way I want them to.snakebyte wrote:Also try this: Instead of using F4 to launch UE, try creating an User command and try passing parameter $A to UE.
- FrizzleFry
- Platinum Member
- Posts: 1241
- Joined: 2005 Oct 16, 19:09
This mostly works for me using UltraEdit ver 14 and I don't remember doing anything special to make it happen. Selecting multiple files and pressing F4 opens UltraEdit with each file in a tab. Occasionally if a large file was selected first it ends up in its own window, although that doesn't seem to happen if it was selected last.
I agree that more flexibility in specifying the external editor/viewer would be useful.
I agree that more flexibility in specifying the external editor/viewer would be useful.
- FrizzleFry
- Platinum Member
- Posts: 1241
- Joined: 2005 Oct 16, 19:09