Selected files variable for Editors

We welcome any suggestions for new features or improvements in Altap Salamander. Please post one suggestion per report.
cincura.net
Posts: 593
Joined: 09 Dec 2005, 17:30
Location: a step further
Contact:

Selected files variable for Editors

Post by cincura.net »

Hi,

I would be nice, to be able to open my favourite editor with all selected files. Same variable as for User Menu will be good.
Jiri {x2} Cincura
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5229
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Post by Jan Rysavy »

Do you mean a new parameter for Options > Configuration > Editors > Arguments?
cincura.net
Posts: 593
Joined: 09 Dec 2005, 17:30
Location: a step further
Contact:

Post by cincura.net »

Jan Rysavy wrote:Do you mean a new parameter for Options > Configuration > Editors > Arguments?
Exactly.
Jiri {x2} Cincura
User avatar
SelfMan
Posts: 1142
Joined: 05 Apr 2006, 20:51
Contact:

Post by SelfMan »

Vote+1
User avatar
KNUT
Posts: 286
Joined: 12 Dec 2005, 09:57
Location: Hamburg, Germany

Re: Selected files variable for Editors

Post by KNUT »

cincura.net wrote:Hi, I would be nice, to be able to open my favourite editor with all selected files. Same variable as for User Menu will be good.
User Menu does work for me. Like this:

Code: Select all

Command: D:\Tools\wscite\SciTE.exe
Arguments: "$(FullName)"
Selecting multiple files and pressing then User Menu Icon opens Scite mit the selected files :D
Kind regards, KNUT
_____________________________________________
Satisfied Servant Salamander User from Version 1.5 till now
cincura.net
Posts: 593
Joined: 09 Dec 2005, 17:30
Location: a step further
Contact:

Re: Selected files variable for Editors

Post by cincura.net »

KNUT wrote:
cincura.net wrote:Hi, I would be nice, to be able to open my favourite editor with all selected files. Same variable as for User Menu will be good.
User Menu does work for me. Like this:

Code: Select all

Command: D:\Tools\wscite\SciTE.exe
Arguments: "$(FullName)"
Selecting multiple files and pressing then User Menu Icon opens Scite mit the selected files :D
But user menu you cannot map to F4 key.
Jiri {x2} Cincura
User avatar
KNUT
Posts: 286
Joined: 12 Dec 2005, 09:57
Location: Hamburg, Germany

Re: Selected files variable for Editors

Post by KNUT »

cincura.net wrote:But user menu you cannot map to F4 key.
Indeed. I only suggested a WORKAROUND 8)
Kind regards, KNUT
_____________________________________________
Satisfied Servant Salamander User from Version 1.5 till now
cincura.net
Posts: 593
Joined: 09 Dec 2005, 17:30
Location: a step further
Contact:

Re: Selected files variable for Editors

Post by cincura.net »

KNUT wrote:
cincura.net wrote:But user menu you cannot map to F4 key.
Indeed. I only suggested a WORKAROUND 8)
Now I'm using.
* Select all files I want.
* Press F4 (editor is opened with one file).
* Drag'n'Drop all selected files to editor's window (editor will open it).
* Done. :idea:
Jiri {x2} Cincura
voidcoder

Grep text var

Post by voidcoder »

I'd vote also for a grep text variable. Would be extremely
useful when using an external editor/viewer. Currently this
only works for internal viewer, ie when you open a file for
viewing from the Find results list SS will automatically assign
the find text in viewer so that you can just hit F3 (find next)
to easily locate the place you are looking for.

However, when using an external viewer you have to open
Find dialog and type in the same phrase again and again
for every file in the Find results list. This is driving
me nuts! :( On the one hand I want a rich external viewer
with syntax coloring etc but in the other I'm doing a lot
of file greping and have to stay with internal viewer because
of quick text find caps.

One solution would be to customize the external viewer
to extract the the latest grep text from registry:

HCU\Software\Altap\Altap Salamander <V>\Configuration\Grep History\*

Unfortunately it is only updated when closing SS.

So a separate var eg. $(GrepText) would be very useful. This
can be empty string when opening file from the main file
views and the actual grep text when opening file from the
Find results view.
Post Reply