jEdit Community - Resources for users of the jEdit Text Editor
Archives
help me, please
Submitted by csilva2001 on Monday, 29 March, 2004 - 00:07
Hi, this is Carlos, from Brazil. I instaled JEdit 4.2pre11. I'm new with JEdit. I loaded a sample and tryed compile / run. But it does not work. Please, can I help me? Maybe a tutorial with step to step for JEdit 4.2. Is it possible?

Thanks,
CarloSilva.
xml plugin + large xml file = out of memory errors
Submitted by nexus on Monday, 29 March, 2004 - 05:11
I get this : [error] AWT-EventQueue-0: java.lang.OutOfMemoryError When opening a large xml file. I am assuming that its the xml plugin (version 0.13) or possibly the xslt plugin (version 0.5.3). I also get it when i start jedit, and the file has previously been opened (so its trying to open it again). So i have to fix it by editing "perspective.xml", removing the largeXMLFile.xml element and changing the X and Y attribute in the GEOMETRY element. Any Ideas? I am going to maybe look around, see if i can change the amount of memory java gives jedit when i start it, maybe that'll fix it >Cool
Upgrade not upgrading
Submitted by Anonymous on Monday, 29 March, 2004 - 22:31
I have upgraded from 4.1 final to 4.2pre8 and later 4.2pre11. It seems like it is somewhat upgraded because the plugins seem to load on demand and not at startup. However some plugins fail saying "xxx plugin requires 4.2pre x and you have version 4.1 final". This is under XP pro. I have tried installing clean in a new directory as well as installing on top of the previous installation. I have also tried removing the user settings and letting it rebuild them also. Do I need to fake out the registry? Any other ideas?
Jython Macro debug mode (how to set options!)
Submitted by WGW on Tuesday, 30 March, 2004 - 04:43
I have been trying to write jython macros. One thing I have not understood properly is whether there is a macro debug mode for jython macros. I can't seem to find any documentation on it. I did find the options file, with the following entry.

options.jython.python.verbose.values=debug comment message warning error


But I'm not sure what to do with it (I'm assuming I should put it in the properties file.)

Should I put it in as is? Will it allow macro debugging?

Many questions!
HTML Syntax Highlighting
Submitted by Anonymous on Tuesday, 30 March, 2004 - 04:54
Hi All,

Any can give me idea how to use the syntax highlighting for HTML or other in Jedit? I’m struggle finding how to use this feature.

I’m downloaded the jEdit 2.2.1 Syntax Package and I don’t know how to install this package.

Thanks in advance
GUIUtilities.loadToolBar() change in JEdit 4.2 pre?
Submitted by beffy on Tuesday, 30 March, 2004 - 12:35
Hi there,
I tried to update a little plugin I wrote to JEdit 4.2. pre 11, but I am stuck updating my plugin toolbar...
in JEdit 4.1. final I am using
JToolBar toolbar = GUIUtilities.loadToolBar("tidedebug.toolbar");
Then I am iterating over the components to get my buttons and that's basically it...

start = (JButton) toolbar.getComponentAtIndex(0);
pause = (JButton) toolbar.getComponentAtIndex(1);
stop = (JButton) toolbar.getComponentAtIndex(2);
stepInto = (JButton) toolbar.getComponentAtIndex(4);
stepOver = (JButton) toolbar.getComponentAtIndex(5);
runToCursor = (JButton) toolbar.getComponentAtIndex(6);
stepOut = (JButton) toolbar.getComponentAtIndex(7);

But, in 4.2., this doesnt work anymore since now I get a Box back from this method:

Box toolbar = GUIUtilities.loadToolBar("tidedebug.toolbar");

I've tried to simply create new Buttons like this:

if(toolbar != null)
{
try
{
start = new JButton();
pause = new JButton();

etc., then setting Icons, ToolTipsTexts, adding ActionHandlers for every button, etc. but while the buttons are being rendered now, I'm still getting weird NullPointerExceptions all over the place and I'm not sure why... is there any other way doing this?
Or what is the recommended way now to add a Toolbar with usable buttons? And why was this changed?

Thanks for any advice!
best regards,
beffy
IntelliWrap (IntelliWrap.bsh v0.3 by Shoban Jayaraj)
Submitted by shoban on Tuesday, 30 March, 2004 - 14:41
Given a selected text, tries to wrap the selected text based on prefix strings. Great when adding multi-line comment text that needs to be prefixed with special characters. I wrote it to emulate EMACS 'fill-paragraph' so that comments can be wrapped so as to not exceed a fixed limit.

Can also be used for non-programatical tasks like prefixing replied mail text with '>' etc.

Version 0.3 takes the selection properly into consideration
Version 0.2 incorporates the GPL header to the macro.

import text file at cursor location
Submitted by mbl on Tuesday, 30 March, 2004 - 21:00
Dear friends,

Have been using Jedit for a few days, and do like it a lot.

As of yet, however, can't seem to find a way to import complete short text files at the cursor location. These would be typical brief code files or skeletons, or comment files, located at some directory, usually not the current directory.

If it's not possible, would also appreciate to know that, so as not to keep trying to find the feature.

Opening a file to Copy-and-Paste is what am doing, but is somewhat cumbersome when one wants the complete short file inserted at the cursor location.

Thanks for any help afforded.

-mbl-
BibTeX mode bug fixes (bibtex.xml v1.1 by Thomas Alspaugh)
Submitted by alspaugh on Wednesday, 31 March, 2004 - 00:33
This version fixes some problems pointed out by a user: notably, it now handles text in {} as well as "", and nested ""s and {}s. See web page for details.
XML Folding
Submitted by bz3p19 on Wednesday, 31 March, 2004 - 13:03
Hi.

I'm not sure if this is new or not, but how about XML folding... If it can be done already (and I've searched), please let me know how...

It would be really decent to be able to fold the tags. I'm convincing the people at work to start using jEdit, and this feature will really start the ball rolling.

Thanks.
Allow setting directory for scratch file
Submitted by Anonymous on Wednesday, 31 March, 2004 - 17:46
When I start working on a file, jedit creates a file called #Untitled-1# and puts it in whatever current directory I happen to be in. This sometimes causes me to have these little files scattered about on the myriad of different drives and file shares I work on. The auto save feature lets you set a 'backup' directory, and it would be great if I could also configure a 'scratch file' directory.
jEdit and gdb integration
Submitted by Anonymous on Wednesday, 31 March, 2004 - 18:03
jEdit and gdb integration - breakpoints, watch etc..
Insert_File.bsh v1.0 by Ollie Rutherfurd
Submitted by orutherfurd on Wednesday, 31 March, 2004 - 18:44
Prompts user to select a file then replaces the current selection with the contents of the selected file.
java *.java
Submitted by Anonymous on Thursday, 1 April, 2004 - 11:38
Hi,
does any one know if its possible to use the console/system plugin with command javac *.java ? i get

error: cannot read: *.java
1 error
Process javac exited with code 1
MacOSPlugin fix for Apple Java 1.4.2 (MacOS.jar vRevised to by Sam)
Submitted by sam on Thursday, 1 April, 2004 - 16:27
In our office, upgrading to Apple's Java 1.4.2 package broke the MacOSPlugin complaining that MRJ is not current enough. This hack of the MacOSPlugin fixes that issue for jEdit 4.1 Final
Advanced HTML Edit Mode (html.xml v2 by Brad Mace [revised by Sam])
Submitted by sam on Thursday, 1 April, 2004 - 16:42
The Advanced HTML Edit Mode v1 by Brad Mace contained various typos and syntactical errors. This is a fixed version with a few extra tweaks. Next thing to do is set it up so that highlighting for any quoted string in a tag is delegated to JavaScript... This mode delegates to PHP where appropriate.
PHP Lint Macro (PHP_Lint.bsh v1 by Unknown)
Submitted by sam on Thursday, 1 April, 2004 - 21:59
Requires Console plugin. A BeanShell to syntax check your PHP buffer.
File Associations, under Windows
Submitted by Anonymous on Friday, 2 April, 2004 - 06:01
Hey - I use jEdit as my primary editor (I'm a recent convert), and I love it to bits. There hasn't been a single feature that I've needed that I couldn't find in the core application or in a plugin, and it runs remarkably well, for a Java program.

I've been wondering if there's any way to make jEdit the default application for opening a whole bunch of file types, on my Windows machine, without having to do it manually or write a program for it - having to do it one file type at a time would become painfully tedious.

Any ideas? Thanks in advance! Smiling
LaTEX-Plugin: 1. something like preview-latex? 2. show/hide tags?
Submitted by Anonymous on Friday, 2 April, 2004 - 09:06
Hi,

I recently discovered jEdit as a great Editor for LaTEX.
Now I have a few suggestions/questions:

1. It would be great if something like preview-latex ( http://preview-latex.sourceforge.net ) could be integrated. It allows something like a real-time preview of images, captions, etc...

2. For Emacs there's a mode called unclutter.el ( http://www.informatik.uni-kiel.de/~ums/#Emacs ), with which you can show/hide all LaTEX-specific tags (like {footnote}, {section}, etc.) with one key to see plain text. If you hover the mouse over it, you see the code in full. This would be such a great feature....

3. Is there a tutorial how to customize the latex.xml concerning syntax-highlighting?

Thanks for your answers,


likeatim
syntax highlighting for non-registered file extensions
Submitted by hopia on Friday, 2 April, 2004 - 19:15
I've just recently started using JEdit.
How can I assign a file extension to a specific syntax highlighting scheme?
For example, I would like to associate *.dsm files to vbscript syntax highlighting (in addition to the default *.vbs).
Any help would be appreciated.

Thanks,
hopia
User login
Browse archives
« March 2004 »
MoTuWeThFrSaSu
19
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   108250
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