jEdit Community - Resources for users of the jEdit Text Editor
Archives
Python Commando File (python.xml v1.0 by Charles Dominguez)
Submitted by cfd on Saturday, 10 July, 2004 - 02:14
A commando file to run Python scripts from within jEdit. Invokes the system interpreter (not Jython) on the current buffer. Provides a UI to set all options supported by the current release of the Python interpreter. Error patterns that work with Python are specified in the comments at the start of the file.
How to write up a plugin that is dynamically loaded.
Submitted by Anonymous on Saturday, 10 July, 2004 - 11:08
hi,
How do i write up a plugin that can be loaded or unloaded without restarting jedit?

myPlugin.java has the following code
public class myPlugin extends
{
public void createMenuItems(Vector menuItems)
{
menuItems.addElement(GUIUtilities.loadMenuItem("myPlugin"));
}
}

Thanks,

salgavkar
How to use the services of project viewer from within myplugin
Submitted by Anonymous on Saturday, 10 July, 2004 - 23:42
Hi,
How do i listen to events such as: what project is selected or what java file is selected using the services of project viewer from with my plugin. i have set the properties file already (plugin.jplant2.jplant2Plugin.depend.1=plugin projectviewer.ProjectPlugin 2.0.2). What else do i need to do?

Thanks.

Drake
charactere encoding
Submitted by mathieue on Sunday, 11 July, 2004 - 15:08
hi,

i get squares instead of special characteres typed.
the problem does not come from java because eclipse works.
i've tried a lot of differents charactere encoding configuration with no results.

thanks
mathieu
why wont the handleMessage work?
Submitted by Anonymous on Sunday, 11 July, 2004 - 22:52
public class jplant2Plugin extends EBPlugin
{

public void createMenuItems(Vector menuItems)
{

JMenuItem menu=GUIUtilities.loadMenu("jplant2");
menuItems.addElement(menu);

}

public void handleMessage(EBMessage message)
{
//JOptionPane pane = new JOptionPane (message.toString(),JOptionPane.INFORMATION_MESSAGE);
//pane.show();
System.out.println ("handlerm");

}


}
Programming the JeditTextArea.java file?
Submitted by Anonymous on Monday, 12 July, 2004 - 09:22
hi, i am trying to add a scrollfeature to the jedittextarea, but somehow it wont scroll:-(. how can i aneable the scrollbars?

THANKS Smiling
Programming the JeditTextArea.java file?
Submitted by Anonymous on Monday, 12 July, 2004 - 09:22
hi, i am trying to add a scrollfeature to the jedittextarea, but somehow it wont scroll:-(. how can i aneable the scrollbars?

THANKS Smiling
Opening large files
Submitted by oren on Tuesday, 13 July, 2004 - 00:28
I tried to open a 6.1GB file, and it fails with heap warning.
I already increased heap size up to 20 and 30 GB, but it still fails to open.
I'm using a sun blade 2000 with 6GB RAM and solaris 9.
Java runtime build 1.4.0_00-b05.
How can I open this file?
Is it possible to decrease the amount of memory JEDIT uses ? (currently its more than double the file I open).
Using side mouse buttons for copy/paste
Submitted by jjrockman on Tuesday, 13 July, 2004 - 14:19
Hi, up until this week I had jEdit configured to allow the use of the side mouse buttons on my mouse (MS Intellimouse) to do copy (left side button) and paste (right side button). This has grown into something I can't live without Smiling
Last week windows update screwed up my machine and I had to reinstall windows. I can't figure out how to configure this same behavior anymore, I did it so long ago I can't remember...can anybody PLEASE help?!? I'm going crazy...
Starting jEdit w/o Launcher
Submitted by Orion on Tuesday, 13 July, 2004 - 22:00
I've always used the jEdit launcher to execute jEdit in the past (winXP pro). However, since this is no longer supported, I've had to find other means.

I've tried, from the run menu: java -jar d:\jedit\jedit.jar

But it closes as soon as it starts.

I've tried creating a "shortcut" that runs java -jar d:\jedit\jedit.jar, but I get the "dos" console running in the background, taking up valuable tasbar space.

And, running java -jar d:\jedit\jedit from my "dos prompt" runs it fine, but again, I'm left with the console taking up space.

Is there a way to run jEdit so that I only have the jedit window up, and none of these others? Thanks.
Fast Open problems with jEdit 4.2 pre 14
Submitted by paulflory on Thursday, 15 July, 2004 - 04:02
?

Anyone able to get FastOpen vers 1.0 to work with pre14 ?

Sounds like a great plugin - like Switch Buffer, but allowing search against recent files, as far as I can tell, plus other goodies.

java.lang.NullPointerException
at com.patelsoft.fastopen.Files.prjFile2FOFile(Files.java:77)
at com.patelsoft.fastopen.FastOpen.retrieveMatchingFiles(FastOpen.java:571)
at com.patelsoft.fastopen.FastOpen.showWindow(FastOpen.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at bsh.Reflect.invokeOnMethod(Reflect.java:149)
at bsh.Reflect.invokeObjectMethod(Reflect.java:81)
at bsh.BSHPrimarySuffix.doName(BSHPrimarySuffix.java:169)
at bsh.BSHPrimarySuffix.doSuffix(BSHPrimarySuffix.java:120)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:80)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
...

-Paul
Clipper - more keyboard controls
Submitted by paulflory on Thursday, 15 July, 2004 - 04:36
Simple, killer little pluggie, Clipper is.

A few more features I'd love to see:

- Pressing Escape (or other user-defined key) pops you out of plugin, as Switch Buffer and others do.

- When Clipper is toggled on, focus should land on the list box, allowing me to start typing the first few chars of the clip-text I'm interested in selecting. Currently I need to grab the mouse, lug it to the list box, and only then can I start typing to find a clip.

- Alt/meta key combos to allow me to jump between the combo box and the list box without requiring me to use the mouse. Less mouse, more efficiency. (I've become obsessed with this concern)

- Short-cut keys should work for toggling Clipper both on *and* off. For example, I assigned Shift-Space to open/close Clipper. When I first hit the shortcut combo, Clipper opens, but when I type it again, Clipper sits there, poker-faced. It doesn't go away.


If these features were implemented, Clipper would be far sexier for power jEditors.

Otherwise, very cool plugin, thanks to André Kaplan.

-Paul
Any examples for configuring & using the SuperScript plugin ?
Submitted by paulflory on Thursday, 15 July, 2004 - 05:10
Hi all,

I'm having problems getting SuperScript to do anything but output what appear to be error messages. This sounds like a totally cool plugin, but I can't find any examples of how to setup and use it.

I'd love to be able to run perl scripts with it, and eventually beanshell scripts/macros.

Anyone have tips?

Here's the output I get when trying to compute 1+1 several different ways, none of which work:

-> 1+1

org.apache.bsf.engines.perl.PerlEngine
-> 1+1

bsh.util.BeanShellBSFEngine

bsh.util.BeanShellBSFEngine
-> 1 + 1

org.apache.bsf.engines.activescript.ActiveScriptEngine

org.apache.bsf.engines.activescript.ActiveScriptEngine

bsh.util.BeanShellBSFEngine


-Paul
Problems Compiling
Submitted by Anonymous on Thursday, 15 July, 2004 - 14:48
I am running Windows 98 and when I try to compile I get the bad command error message. I think my problem is in my path but I don't know how to fix it. What do I do?
Help for Antelope
Submitted by ccapeng on Thursday, 15 July, 2004 - 20:08
I can't get my Antelope panel displayed. That's my exception :
[error] AWT-EventQueue-0: java.lang.InternalError: Can't instantiate Preferences
 factory java.lang.ClassNotFoundException: ise.library.UserPreferencesFactory
[error] AWT-EventQueue-0:  at java.util.prefs.Preferences.(Preferences.j
ava:204)
I use "Send To" in win xp to open up a java file. My jedit shortcut is
C:\j2sdk1.4.2\bin\java.exe -classpath "\j2sdk1.4.2\jre\lib\rt.jar;\j2sdk1.4.2\lib\tool.jar" -jar "C:\Program Files\jEdit 4.2pre14\jedit.jar" -reuseview
What am I missing?
additional examples for ActionHooks plugin?
Submitted by paulflory on Thursday, 15 July, 2004 - 21:41
Does anyone have any examples for the ActionHooks plugin, besides the few that are in the plugin's online help?

Looks like a powerful capability, but need a jumpstart on possibilities.

Thanks,
Paul
Clear Hypersearch Results Macro (Clear_HyperSearch_Results.bsh v1.0 by Lee Turner)
Submitted by lturner on Friday, 16 July, 2004 - 10:19
Beanshell macro to clear all the hypersearch results from the hypersearch window.
Themepacks and/or skins? - Look and feel plugin
Submitted by dave_mwi on Friday, 16 July, 2004 - 15:49
Maybe I'm missing something here...but I can't seem to get any theme packs to work. I've downloaded a couple if themes...I think. I've gone to http://javootoo.l2fprod.com/ and downloaed some zip files for different themes and tried to load them throgh the Look and Feel plugin, restarted the application, but I never get any changes...am I doing something wrong?? Maybe not downloading the right files...It seems a little confusing as to which zip files I should be downloading from some of these theme sites...thanks for your help.
cut-paste as a stack
Submitted by kukuk on Friday, 16 July, 2004 - 23:51
I would like to be able to whenever i cut a whole line it goes on a stack, i can then easily cut-pase several places in the code as everything goes on the stack rather than being a register which only can contain a single value.

The cool CygnusEd under the amiga had this functionality using amiga-l and amiga-k if my memory serves me right Eye-wink
jEdit 4.2 release candidate now available
Submitted by slava on Saturday, 17 July, 2004 - 20:27
jEdit 4.2pre15 is now available. This will be the last pre-release before 4.2final. Please report bugs!
User login
Browse archives
« July 2004 »
MoTuWeThFrSaSu
 
4
14
17
22
25
 
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