jEdit Community - Resources for users of the jEdit Text Editor
Archives
Click on a file with extension java and the file opens in jEdit in windows 2000.
Submitted by Anonymous on Saturday, 26 February, 2005 - 04:56
Thought I would share this. I created a batch file called jeditstart.bat. The file contained the following line:

"C:\Program Files\jEdit 4.2pre15\jedit.jar" %1

The quotes were neccessary.

Then in My Computer - Folder Options - File Types - click on New button for new file extension and type java, then click ok. Now click the Change button and then click on other button and browse to your jeditstart.bat file and click on it to highlight it and click the Open button. Then click the Ok button.

Now you can double click a file with an extension of java and it open in jEdit.
Building jEdit from source
Submitted by clim1219 on Saturday, 26 February, 2005 - 08:58
I checked out jEdit from CVS and try to build it but it complains of a missing ant target "dist-13".

I guess I miss something here. Could someone kindly point me to the right direction.

Here is the console log:

D:\projects\opensource\jedit>ant -Dant.full.path=C:/Java/apache-ant-1.6.2/bin/ant build
Buildfile: build.xml

prepare:

jEdit:

BUILD FAILED
D:\projects\opensource\jedit\build.xml:31: The following error occurred while executing this line:
Target `dist-13' does not exist in this project.

Total time: 1 second


Thanks,
Chris
Highlight HTML Not working
Submitted by Anonymous on Sunday, 27 February, 2005 - 16:28
Hi,

I am having problems getting HTML to be highlighted. The HTML I am editing are withing .PHP extensions.

What do I need to do to get it to work?

Thanks.
error messages
Submitted by Anonymous on Monday, 28 February, 2005 - 11:38
I am new to jedit and am trying to use the XSLT plugin to combine .xml and .xsl files into .fo files for reporting. With a pair of input files which are both well-formed I am getting an error message "2: cvc-elt.1: Cannot find the declaration of element 'fo:root'", although as far as I can see fo:root is present and correct. With another pair of very simple files I get the message "2: Content is not allowed in prolog". Where can I find further explanation of these messages?
Only open one window at startup: how?
Submitted by Anonymous on Monday, 28 February, 2005 - 19:02
I am using 4.2final on Linux and everytime I start jedit it opens as many windows as were open the last time. Since I have checked the apropriate setting for not to load the files used in the last session, all these windows show empty buffers. I would like jedit to only open a single window though -- this must be easy but somehow I cannot seem to find out how.
Proper perl function argument list indentation?
Submitted by jope on Monday, 28 February, 2005 - 20:32
When I edit perl and there is a function with very long argument lists and arguments, like so:
$thisIsSomeObject->andThisTheFunctionToCall("Here comes a long argument, number 1","And here another one, which is even longer than the first argument is","And yet another very very very very long arument, yes this is really quite long");
I would like to place the arguments indented the normal indentation space like this (in my case, two characters from the current indentation):
$thisIsSomeObject->andThisTheFunctionToCall("Here comes a long argument, number 1",
  "And here another one, which is even longer than the first argument is",
  "And yet another very very very very long arument, yes this is really quite long");
#next statement should not be indented, of course

However, jedit does it either like this:

$thisIsSomeObject->andThisTheFunctionToCall("Here comes a long argument, number 1",
"And here another one, which is even longer than the first argument is",
"And yet another very very very very long arument, yes this is really quite long");
#next statement should not be indented, of course
(no indentation at all) or like this, if the "deep indent" option is used:
$thisIsSomeObject->andThisTheFunctionToCall("Here comes a long argument, number 1",
                                            "And here another one, which is even longer than the first argument is",
                                            "And yet another very very very very long arument, yes this is really quite long");
#next statment should not be indented, of course
Both ways jedit does this have obvious disadvantages if you are already at a deeper indentation level and/or if the arguments are really long or deeply nested themselves. Is there *SOME* way to make Jedit indent the arguments just two spaces and not the same number of spaces as the function name is long? Is it possible to configure this? Is it possible to edit some mode file to achieve this?
Running JUnit plugin from within Ant (Farm) task?
Submitted by Anonymous on Monday, 28 February, 2005 - 22:21
I want to run JUnit as an Ant task and have installed AntFarm and JUnit.

My class path lets me _compile_ JUnit tests OK via AntFarm.

However, when I try to make JUnit _run_ as an Ant task, I get an error in AntFarm:
Invalid build file: Unexpected element "junit"

Any advice? Thanks in anticipation.

Build file is at http://www.tomoakley.net/java/build.xml
how to open multiple jedit browsers
Submitted by Anonymous on Wednesday, 2 March, 2005 - 00:51
can anyone help me. I've tried the settings but they don't seem to work. I just want to have multiple browsers rahter than one.

Any help
question about using Console Plugin
Submitted by Anonymous on Wednesday, 2 March, 2005 - 09:45
I am sorry for my not good English.
Console Plugin allows users to set compiler and interpreter for each buffer format.
I need to set the following program to be the interpreter for Haskell buffers.
C:\Program Files\Hugs98\winhugs.exe (a Windows program path)
To do that, I opened Console Plugin option, and the option dialogbox displayed the following options for interpreters:

none
ant
diff
hugs
java
... etc..

There was "hugs" in the list, but no "winhugs". In this case, what should I do?
What will make the winhugs.exe to appear in the list?

Thanks in advance.
Macros.confirm example doesnt run
Submitted by Anonymous on Thursday, 3 March, 2005 - 23:14
Hi folks,
Please forgive my newbiness... I'm sure there's a pretty simple solution to this.
I've simply cut and paste the following statement from http://jedit.org/users-guide/helpful-methods.html to display a confirmation box:

int result = Macros.confirm("Do you really want to learn"
+ " about BeanShell?",JOptionPane.YES_NO_OPTION);

I get the following error:

Typed variable declaration : Error in method invocation: Static method confirm( java.lang.String, int ) not found in class'org.gjt.sp.jedit.Macros' : at Line: 1 :

So, if I understand this correctly, the macro doesnt know what an int is? I take it then I have to include a class somehow...

Any suggestions?

Cheers all,
Tim
rich client platform
Submitted by Anonymous on Friday, 4 March, 2005 - 01:22
I've been looking for a "rich client platform" that I can easily understand and fast. Netbeans has been a bear. Eclipse doesn't swing. It looks like jEdit might be my choice...it's simple and fast based on the plugins that I've played with.

Question is: Has anyone been figured out how to remove or hide the text editor when you don't want it around when your plug in is running? I just started looking at the process and thought some one can give me a hint before I get to deep in the internal.

Thanks
Uninstalling JEdit under Windows
Submitted by Anonymous on Saturday, 5 March, 2005 - 14:47
What's the proper way to uninstall JEdit after having installed it using the Java based installer? Is it enough to delete the two directories just created: C:\Program Files\JEdit and C:\Documents and Settings\user\.jedit, or there's also some file inside C:\Windows or other system directories? The fact is that I have no entry for JEdit under "Add/Remove Programs".
Open dialogue box invisible or off the screen
Submitted by Anonymous on Saturday, 5 March, 2005 - 19:43
I'm running JEdit 4.2 under WindowsXP on a IBM ThinkPAD laptop (T-42p). I go between two envronments, working with two monitors (my laptop screen plus an attached LCD), and just working with one monitor (my laptop screen).

Recently when I am working with one monitor, JEdit's Open dialogue box is off the screen, invisible, or hidden. When I click on Open it effectly freezes my JEdit environment until I ALT+F4 (close) the invisible open dialogue box.

How can I adjust the open dialogue box so that it's always visable?
Python error pattern
Submitted by Anonymous on Sunday, 6 March, 2005 - 06:42
I do not know how to see Console Error patterns for Python 2.4. I do not know even regexp! I have searched this message board for answer but did not find him, just unanswered questions. So help us please!

Error and worning look like this:
D:\> python $f
sys:1: DeprecationWarning: Non-ASCII character '\xe8' in file D:\pywork\hashmap.py on line 7, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
___File "D:\pywork\hashmap.py", line 101
____pri nt hm.find(17)
_______^
SyntaxError: invalid syntax
Process python exited with code 1
D:\>


__ means leading spaces.
Do plugins have to be licensed as GPL?
Submitted by Anonymous on Monday, 7 March, 2005 - 09:37
Do plugins have to be licensed as GPL?

Thanks,
Jason
moving buffers and switching between them
Submitted by Anonymous on Monday, 7 March, 2005 - 14:14
I have opened buffer1, buffer2 and buffer3. I decide to move buffer3 before buffer2, so I have buffer1, buffer3, buffer2. But when I am in buffer1 and choose command "Go to next buffer", it switches to buffer2, not to buffer 3, which is next to buffer1. imho it is a little bit anoying
button to launch java program ?
Submitted by Anonymous on Tuesday, 8 March, 2005 - 09:10
the JCompiler plugin provides a command to compile a java file, that I can associate to a button.
But how do I create a button to execute the current java file ?
I can't believe that I have to write the "java ..." command in the console to do that.
I've look at the FAQ, I've not found this question: noboby uses Jedit to develop java applications ? Eye-wink
Support codepage dos 866 (cyrillics)
Submitted by Anonymous on Wednesday, 9 March, 2005 - 04:01
Very much it would be desirable that jEdit supported the given code page, we work with files using this code page much
This forum
Submitted by Anonymous on Wednesday, 9 March, 2005 - 07:37
This forum should be helpful but it is full of spam.
Is there any maintainer active?
Java 5.0 support
Submitted by Anonymous on Wednesday, 9 March, 2005 - 12:05
Several very useful plugins are not adapted for development under Java 5.0,
e.g. JBrowse, JExplorer, JavaStyle and (maybe) some core plugins.

As a grateful user of these tools, I *humbly* ask if there are efforts on the way to adapt these or other tools to Java 5.0 language features?

If not, then Java 5.0 language support is my "Feature Request".
User login
Browse archives
« February 2005 »
MoTuWeThFrSaSu
  6
12
14
 
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   108249
Context Free Art (*.cfdg)   0.31   46071
BBEdit scheme   1.0   18607
JBuilder scheme   .001   18508
ColdFusion scheme   1.0   18041
R Edit Mode - extensive version   0.1   17488
Advanced HTML edit mode   1.0   16222
Matlab Edit Mode   1.0   16086
jEdit XP icons   1.0   15245
XP icons for jEdit   1.1   14309