jEdit Community - Resources for users of the jEdit Text Editor
C# question???
Submitted by jimmygyuma on Wednesday, 24 October, 2007 - 18:10
I know, I know, this is a jEdit forum. But I have gotten no help from MSDN C# forum or CodeGuru C#.

I use jEdit to edit the pages on my website. I am in the process of putting up the pages of a logbook. I have written a program in C# to help me write those pages; basically I fill in a lot of blanks and the program writes and saves the .html page. I have a button to open the page in IE to see if it looks alright, and I have another button which is supposed to open the file in jEdit for editing. It is this button that is giving me problems.

It opens the file in a new instance of jEdit, instead of in the running instance of jEdit. Well, actually it opens the file in both the running instance and the new instance. And the new instance has all the same files open as the running instance. Dopey.

I don't want to open a new instance of jEdit, I want the file to open in the already running instance.

If anyone has any experience with C# or the .NET framework and can tell me how to do this, I would be very grateful.

I guess I should have written the thing as a jEdit plugin to begin with, but that would have required learning how to write a plugin and relearning Java.

Thanks,
Jim
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Are you calling jedit as exte
by thebugslayer on Thu, 25/10/2007 - 18:36
Are you calling jedit as external command? You can try the -reuseview option. Run "java -jar jedit.jar --help" for more.
User login
Browse archives
« September 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
 
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   99587
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17480
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300