Page 1 of 1

Selected files variable for Editors

Posted: 10 Jul 2007, 09:45
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.

Posted: 11 Jul 2007, 16:09
by Jan Rysavy
Do you mean a new parameter for Options > Configuration > Editors > Arguments?

Posted: 11 Jul 2007, 16:59
by cincura.net
Jan Rysavy wrote:Do you mean a new parameter for Options > Configuration > Editors > Arguments?
Exactly.

Posted: 12 Jul 2007, 01:07
by SelfMan
Vote+1

Re: Selected files variable for Editors

Posted: 12 Jul 2007, 11:34
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

Re: Selected files variable for Editors

Posted: 12 Jul 2007, 13:14
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.

Re: Selected files variable for Editors

Posted: 12 Jul 2007, 15:26
by KNUT
cincura.net wrote:But user menu you cannot map to F4 key.
Indeed. I only suggested a WORKAROUND 8)

Re: Selected files variable for Editors

Posted: 12 Jul 2007, 15:49
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:

Grep text var

Posted: 18 Jul 2007, 14:34
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.