jEdit Community - Resources for users of the jEdit Text Editor
Archives
Mac OSX command line integration
Submitted by Anonymous on Sunday, 25 April, 2004 - 04:38
How to launch jEdit from the OSX command line? Is there a better way than executing /Applications/JEdit\ 4.2pre11/JEdit.app/Contents/MacOS/JavaApplicationStub ? I have the following function in my .bash_profile, but it doesn't pick up the path to any file I pass to it, e.g. if I type 'jedit .bash_profile' from my home directory, jEdit will try to create a new file in /Applications/JEdit 4.2pre11/. There must be a way to get this to work? I searched here and via google and was unable to find anything on the subject. Thanks for any help, and apologies for my poor bash skillz.

Here's the bash function:

jedit () { /Applications/JEdit\ 4.2pre11/JEdit.app/Contents/MacOS/JavaApplicationStub -background "$@" ; }

Using OSX 10.3.3, jEdit 4.2pre11.
ASP / ASPX
Submitted by JerJer on Monday, 26 April, 2004 - 13:26
I don't know if this is the right forum, but I'm currently coding some asp.NET. If I code in asp, my keywords gets colors and well it's easier to view your code. In asp.NET I just get black text. I know I can go in the "Buffer Option... - edit mode" and specify that I'm currently coding asp. Is there a setting somewhere that I could change so I wouldn't have to change the setting every time for every file.

Thanks a lot in advance !!

Jer
minor updates for VOGen macro (VOGen.bsh v1.1 by Jia Zhiming)
Submitted by jiazhimi on Tuesday, 27 April, 2004 - 03:57
Some minor changes to VOGen macro, changes include:
1. removed java edit mode checking, now a new buffer can perform VOGen before saving.
2. added in check to verify the buffer contains matching brackets, if no matching bracket alert the user, instead of fialed to generate content and leave user in the lurch.
3. added in version number in comments
Enjoy.
Note:
The macro support incremental VO generation. Means if you added in some new variables into existing generated java file, the macro will only generate get and set methods for newly added variables.
The macro retains the original format.
AntHelper for JavaCore (AntHelperForJavaCore.tar.gz v0.4 by Robert Fletcher)
Submitted by rfletch6 on Tuesday, 27 April, 2004 - 12:58
A JavaCore service that gets classpath/sourcepath from AntHelper. Requires JavaCore 0.7+ and AntHelper 0.8.4+. This version improves behaviour when dealing with files that do not have a build.xml.
SQL Troubles
Submitted by ebresie on Tuesday, 27 April, 2004 - 15:40
I am trying to use the SQL plugin (.98) on a Windows 2000 based system using MySQL 4.0.18 with JEdit 4.2pre11 .

I'm not sure if this is something I don't currently have configured properly but whenever I try to access the SQL in the Plugin Options, it basically becomes unresponsive.

I tried getting the JDBC Connector for MySQL but I'm not sure if I have this configured correctly or if I am missing something.

My eventual hope is to use XP Tracker which requires MySQL to work, but first things first..

Anyone have any ideas of how to work on this one?
jEdit 4.1 DotComplete impossible, why no SpeedJava?
Submitted by Anonymous on Tuesday, 27 April, 2004 - 21:23
Greetings,

I'd like to get a dockable view of all the methods in the current Java buffer. I noticed SpeedJava in one of the screenshots, but someone took it away. I see to use DotComplete instead. OK.

First, I don't see DotComplete in the Plugin Manager. So I go to the plugins site and start manually grabbing the painful list of dependencies for DotComplete. Now I'm stuck. DotComplete depends on AntHelper, which depends on JBrowse, which depends on jEdit 4.2. Grr.

Now what? I'd rather not upgrade to 4.2 yet. What was so wrong with SpeedJava that I can't get it any more? Is there a plugin I missed besides DotComplete that will give me a dockable view of my Java methods in the current buffer? I already tried Jane, but the view was not quite configurable enough.

Thanks for any tips,
-Dan
Newbie: Printing Properties of my printer
Submitted by TUCBuckeye on Tuesday, 27 April, 2004 - 23:49
I'm new to jEdit and it looks pretty sweet...nice work!

One question I haven't been able to find an answer for so far:
- When I print something, I can select the printer, but the Properties box is grayed out. Is that a limitation or have I not set something up correctly?

Especially with code, I like to go in and "2 - Up" so that I waste less paper.

Thanks!

- Trent
jalopy plug - in question
Submitted by trcanz on Wednesday, 28 April, 2004 - 00:09
Hi, I am trying to use the jalopy plugin for jedit 4.1.

Using version 0.3.6 of the plugin which has these jars:
11/14/2002 10:29p 905,948 jalopy-1.0b10.jar
11/14/2002 10:29p 26,050 jalopy-jedit-0.3.6.jar
11/14/2002 10:29p 89,584 jdom-1.0b8.jar
11/14/2002 10:29p 350,525 log4j-1.2.6.jar
11/14/2002 10:29p 39,099 messageview-0.1.0.jar
11/14/2002 10:29p 65,383 oro-2.0.6.jar

the (jedit) program hangs when I choose the Plugins>Format Active Buffer command.

Also, if I try to use the jars that
Plugins>Plugin Manager>Install Plugins gets for me:

jalopy.jar
JalopyPlugin.jar

I get:

java.lang.NullPointerException

at de.hunsicker.jalopy.plugin.jedit.JEditPlugin$PluginImpl.formatActive(JEditPlugin.java:463)

at de.hunsicker.jalopy.plugin.jedit.JEditPlugin.formatActive(JEditPlugin.java:162)

at java.lang.reflect.Method.invoke(Native Method)

at bsh.Reflect.invokeMethod(Unknown Source)

at bsh.Reflect.invokeStaticMethod(Unknown Source)

at bsh.Name.invokeMethod(Unknown Source)

at bsh.BSHMethodInvocation.eval(Unknown Source)

at bsh.BSHPrimaryExpression.eval(Unknown Source)

at bsh.BSHBlock.eval(Unknown Source)

at bsh.BshMethod.invokeDeclaredMethod(Unknown Source)

at bsh.BshMethod.invoke(Unknown Source)

at org.gjt.sp.jedit.BeanShell.runCachedBlock(Unknown Source)

at org.gjt.sp.jedit.BeanShellAction.invoke(Unknown Source)

at org.gjt.sp.jedit.gui.InputHandler.invokeAction(Unknown Source)

at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(Unknown Source)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1461)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1515)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:392)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:264)

at javax.swing.AbstractButton.doClick(AbstractButton.java:290)

at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:957)

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:244)

at java.awt.Component.processMouseEvent(Component.java:3799)

at java.awt.Component.processEvent(Component.java:3628)

at java.awt.Container.processEvent(Container.java:1202)

at java.awt.Component.dispatchEventImpl(Component.java(Compiled Code))

at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code))

at java.awt.Component.dispatchEvent(Component.java(Inlined Compiled Code))

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java(Compiled Code))

at java.awt.LightweightDispatcher.processMouseEvent(Container.java(Compiled Code))

at java.awt.LightweightDispatcher.dispatchEvent(Container.java(Compiled Code))

at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code))

at java.awt.Window.dispatchEventImpl(Window.java(Compiled Code))

at java.awt.Component.dispatchEvent(Component.java(Inlined Compiled Code))

at java.awt.EventQueue.dispatchEvent(EventQueue.java(Compiled Code))

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java(Compiled Code))

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java(Compiled Code))

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:132)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:124)

Does anyone know how I can fix either/both of these problems so that I can use jalopy? I am not very familiar with JEdit.

Thanks in advance,
Thomas
Overview/outline
Submitted by Brad Mace on Wednesday, 28 April, 2004 - 04:06
A tree which shows the whole project with all subunits
Problem with Whitespace Plugin
Submitted by Anonymous on Wednesday, 28 April, 2004 - 04:51
I'm using version of jEdit beginning from 4.1 to 4.2pre11 with j2sdk v.1.4.1 on Win2000.
All this time I can't compel show spaces and tabs in textarea by Whitespace plugin. In other respects this plugin work perfect. So in what problem?
Allow indicating acceptance
Submitted by Brad Mace on Wednesday, 28 April, 2004 - 04:57
The backend for acceptance is in place, but there is no way for the user to indicate that a unit has been accepted.
Renaming developers
Submitted by Brad Mace on Wednesday, 28 April, 2004 - 04:59
need a way to rename developers
Task details
Submitted by Brad Mace on Wednesday, 28 April, 2004 - 05:01
add a detailed view of tasks which displays time spent by each developer as well as a better description of the task.
Problem with EditorScheme Plugin
Submitted by Anonymous on Wednesday, 28 April, 2004 - 05:08
Strange occurrence with EditorScheme Plugin v.0.5...
When attempt to change color scheme and "Luicida" is rated as work font in textarea: all tokens become italic.
Previous version of EditorScheme Plugin is perfect.
I'm use jEdit 4.2pre11, j2sdk 1.4.1, win2000.
Date chooser dialog
Submitted by Brad Mace on Wednesday, 28 April, 2004 - 06:19
add date selector that allows choosing date from mini-calendar
Next plugin batch: when
Submitted by svu on Wednesday, 28 April, 2004 - 09:22
It's more than month since the last release. Anyone knows when the next one is going to happen? People keep asking me for SQL Plugin version which would work with 4.2pre series...
Big files
Submitted by Anonymous on Thursday, 29 April, 2004 - 08:36
Hi! I've a DB-dump file of 450 MB that I need to edit. When I open the file JEdit complains of insufficient Java heap memory (I know that I can adjust the heap memory size). I would like JEdit to be able to open files of almost any size without the need to change the Java heap memory size. I think some editors open big files by opening a part of the file. This would be my #2 most wanted feature!
Thannks!
Spooky
keymap bug
Submitted by physcopanda on Thursday, 29 April, 2004 - 09:45
After a short while using jedit 4.2pre9 on my system - I'm running Java 1.4.1_06 - the keymap switches from UK to US which is extreamly anoying! I've noticed this bug seems to have been around for some time now and wonder if anyone else has noticed it or has any ideas as to what may be causing it - is it my system config? or is it jedit - thanks
XML hangs while parsing when schema specified
Submitted by bkc on Thursday, 29 April, 2004 - 15:10
Not sure if this should be a bug or maybe I just messed up.

I'm using jEdit 4.2 Pre 11 with XML 0.13

I created an xsd file (or started to) that's very simple.
-- woodschema.xsd --
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="root" type="xsd:string" />
</xsd:schema>

When I edit this, Error List says "cannot find the declaration of 'xsd:schema'. I get the same kind of error when editing .xslt files. The XML plugin has never asked me to download schema definitions, though the plugin options says it should.

I created an OASIS catalog, like this:

-- system catalog
system "adkwood.xsd" "file:///o:/Holmes/Wood/woodschema.xsd"
public "http://www.adirondackcraft.com/Schemas/AdkWood.xsd" "adkwood.xsd"


Then added the catalog file to the XML plugin catalog list.

Then, I created (or started to) a simple .xml file, like this:

<?xml version="1.0" ?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.adirondackcraft.com/Schemas/AdkWood.xsd">

</root>

When I open this file, sidekick shows "Parsing" and jEdit uses 100% cpu time.

I also tried changing the simple .xml file to this:

<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="file:///o:/Holmes/Wood/woodschema.xsd">
</root>

But it still hangs when I open it.


- questions -

1. why doesn't the XML plugin download schemas for validating xsd or xslt?

2. If the XML plugin did download the schemas or DTDs, where would it store them? I can't find them anywhere

3. What's the correct way to setup a local .xsd file and work on both the xsd and a test xml file at the same time?

Thanks
jEdit 4.2pre12 is now out
Submitted by slava on Friday, 30 April, 2004 - 18:50
jEdit 4.2pre12 is now available download. This is mostly a bug fix release, with a few updated syntax highlighting modes.
User login
Browse archives
« April 2004 »
MoTuWeThFrSaSu
  4
 
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