jEdit Community - Resources for users of the jEdit Text Editor
4.3pre11, Vista, jre1.6, -reuseview argument not working
Submitted by TimMagee on Thursday, 29 November, 2007 - 21:55
Hi,

I've recently installed 4.3pre11 on Windows Vista and I'm having trouble getting any play from -reuseview.

Previously I've used 4.1, then 4.2 + Ollie R's jEditLauncher to achieve the same effect, but this time I thought I'd brace myself and get jEdit using a single view without resorting to jEditLauncher. I don't seem to be able to do it though. I can see on the forum that other people have succeeded, which inspires hope.

My use case is:
open Windows Explorer.
navigate to a folder with some text files in it
select two text files
right-click the selection and choose 'Open with jEdit'
BAM - two jEdit windows.

jEdit server is set up to run on startup, and is running during the above use case:
"C:\Program Files\Java\jre1.6.0_02\bin\javaw.exe" -Xms64M -Xmx192M -jar "C:\Program Files\jEdit\jedit.jar" -reuseview -background -nogui
(when first installed the -reuseview option wasn't there, I added it in a forlorn attempt to circumvent the problem).

The 'Open with jEdit' command associated with '*' in the registry under HKCR looks like:
[HKEY_CLASSES_ROOT\*\shell\Open with jEdit\Command]
@="\"C:\\Program Files\\Java\\jre1.6.0_02\\bin\\javaw.exe\" -Xms64M -Xmx192M -jar \"C:\\Program Files\\jEdit\\jedit.jar\" -reuseview \"%1\""
(this is as installed).

Can anyone help?

Cheers,
Tim
User login
Browse archives
« March 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82338
Context Free Art (*.cfdg)   0.31   46043
JBuilder scheme   .001   18487
BBEdit scheme   1.0   18108
ColdFusion scheme   1.0   18015
R Edit Mode - extensive version   0.1   17461
Advanced HTML edit mode   1.0   16194
Matlab Edit Mode   1.0   16057
jEdit XP icons   1.0   15220
XP icons for jEdit   1.1   14282