jEdit Community - Resources for users of the jEdit Text Editor
Why do I get two instances of jedit in the taskbar (windows xp)
Submitted by Craig Schmidt on Monday, 6 March, 2006 - 15:33
I had been using jedit without any problems. However, a few days ago I started getting two instances of jedit whenever I start it. That is, there are two applications called jEdit in the task manager, there are two icons that appear in the task bar, etc. The two copies of jedit sort of stay in sync. (They update themselves to have the same files open.) If you quit one, the other quits as well.

I don't have any sessions defined except "default". To my knowledge, I didn't do anything to get this behavior.

I start jedit with the following shortcut:

"C:\Program Files\Java\jre1.5.0_04\bin\javaw.exe" -mx96m -jar "C:\Program Files\jEdit\jedit.jar"

I'm running windows xp.

Any suggestions?
Thanks,
Craig Schmidt
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
may be an idea
by Robert Schwenn on Mon, 06/03/2006 - 18:53
Hi Craig,
You wrote "If you quit one, the other quits as well." If "one" means "one window", it's mysterious.

If "one" means "one file", these two windows should be two views of jEdit (these should be startet by two commands !?). Then try this commandline:
"C:\Program Files\Java\jre1.5.0_04\bin\javaw.exe" -mx96m -jar "C:\Program Files\jEdit\jedit.jar" -reuseview
So every command brings up an already existing view...

Robert
 
Ah, I figured it out
by Craig Schmidt on Tue, 07/03/2006 - 14:55
I figured it was something silly. I have two "views" going. I didn't know there was such a thing as a view. I must have inadvertantly chosen "New View" from the View menu.

The solution is to choose "Close View" from the View menu, and my two windows collapse into one. Problem solved.
 
Hi Robert
by Craig Schmidt on Tue, 07/03/2006 - 14:52
I tried adding -reuseview to my command line, but I'm still seeing the two windows.

To be more clear, if I choose "Exit" from the file menu in one window of jedit, the other quits as well. When I start using the shortcut you gave (once), I get my two windows. (There's only one "tip of the day" that appears.)

Thanks,
Craig
 
aha
by Robert Schwenn on Tue, 07/03/2006 - 20:36
Hi Craig,

"file | exit" exits jEdit and thats why closes all views - that's ok. To close a view choose "View | close" or click the window's close button (most right in the title bar).

Even I figured out that jedit remembers all open views at exit => If You don't want to get more than one view at startup, close all views before exit (closing the last view is the same as exit jedit).

Robert
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   46042
JBuilder scheme   .001   18487
BBEdit scheme   1.0   18107
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   14281