jEdit Community - Resources for users of the jEdit Text Editor
Archives
Assembly GNU x86 Edit Mode (assembly-gas-x86.xml v0.1 by Igor Lesik)
Submitted by curoles on Friday, 13 August, 2004 - 00:12

Updated on 08/13/2004 - 00:12
Downloads: 2152

Column Insertion/Overwrire
Submitted by dbareis on Friday, 13 August, 2004 - 02:12
Hi,

I don't know if the plugin options "Column Insert" or "Block Fill Insert" are meant to do column insertion but if so they don't work, if not then this is a pretty basic feature that I'd expect the editor to have.

I'd expect to be able to cut/copy column data and be able to insert OR OVERWRITE elsewhere including past the ends of any existing lines (which appears to be another JEDIT limitation?).

Thanks
Dennis
Wildcard Use in the File System Browser (open dialog)
Submitted by dbareis on Friday, 13 August, 2004 - 02:16
Hi,

I'd expect the files matching the wildcard to be loaded... What happens is a session with an invalid name is opened.

Wildcards can be used from the command line but this also opens up a new JEDIT window (although that could be something I'm doing wrong).

Thanks,
Dennis
Can't go past end of lines
Submitted by dbareis on Friday, 13 August, 2004 - 02:20
Hi,

I've been using JEDIT fulltime for a while now and one of its most annoying features is that it won't let you go past the end of the line.

Other editors allow you to do this and backfill with witespace if something is typed. I should be able to down-arrow from a long line to a shorter one and not have the current position moved to the end of this line.

Am I missing an option, I've looked...

Thanks,
Dennis
Structure browser: link tags in html files
Submitted by kimjim on Friday, 13 August, 2004 - 13:47
I use jEdit 4.2pre15 on Mac OS X 10.3.5, java version 1.4.2. The structure browser can't parse html files correctly if there are these kind of <link> tags in the head:
<link rel="stylesheet" href="stil.css" type="text/css">
The structure browser doesn't seem do recognize the end of this tag, and shows everything that follows as a cascade within this link tag. It also doesen't recognize end tags of some following tags (ignoring tags, for example). It looks like this:
doctype
    html
        head
            title
            link
                body
                    table
                        div
                            div
insteat of this:
doctype
    html
        head
	    title
	    link
        body
            table
            div
            div
But if I change the link tag like this:
<link rel="stylesheet" href="stil.css" type="text/css" />
(including " />" then everything is okay. But this is not correct syntax for my HTML 4.01 Transitional documents. The w3c validator criticises it, and jtidy removes the " /".

Is there anything I can do to change the parse behavior of structure browser on this link tags?

jEdit 4.2pre14 refuses to start on Redhat 9
Submitted by leungkc on Friday, 13 August, 2004 - 14:31
I have just installed jEdit 4.2pre14 via apt-get. Installation went smoothly with no errors.

However, when I attempt to start jEdit through the GNOME menu, nothing happens. When I use the command line to start it, the following message appears and jEdit aborts loading:

[root@Jerusalem bin]# jedit
/usr/bin/jedit: error: failed to set JAVACMD
/usr/bin/jedit: line 135: -Dbsh.jedit=true: command not found
[root@Jerusalem bin]#

I have checked my jedit script and there's no JAVACMD variable. However, I do not know how to set it. Or is there another reason for this problem?

Thanks in advance for replying.
Tag completion
Submitted by jnix on Friday, 13 August, 2004 - 18:24
Specifically, I'm looking to get jedit to behave like ColdFusion Studio, but I think the general theory applies to anything. How do I enhance the list of tags that pops up when I start typing "<"? currently I just get html tags, but I want the CFML tags to appear as well. Thanks.
Converting Smart Quotes from Word HTML to HTML entities in macros
Submitted by Anonymous on Friday, 13 August, 2004 - 19:02
I'm very pleased with jEdit (4.1)... I've been using macros to clean up the "filtered" html that MSWord 2003 generates for a project I'm working on. One problem that I noticed, I can search and replace the weird "smart quotes" and elipses (sp?) that Word uses with HTML entities using the Search and replace dialogue box, but whenever I try to record it as a macro, it stops working. A typical macro, once recorded, looks like this:

SearchAndReplace.setSearchString("“");
SearchAndReplace.setReplaceString("&ldquo;");
SearchAndReplace.setBeanShellReplace(false);
SearchAndReplace.setIgnoreCase(false);
SearchAndReplace.setRegexp(true);
SearchAndReplace.setSearchFileSet(new CurrentBufferSet());
SearchAndReplace.replaceAll(view);

Any ideas as to what I can do to get it to work as a macro?
Project Viewer problems on 4.2pre15
Submitted by Anonymous on Friday, 13 August, 2004 - 21:42
Hi, I'm new to jedit, but thanks to the abundant documentation have successfully installed many plugins. However, "Project Viewer 2.0.4" does not seem to work for me on jedit 4.2pre15 and Redhat 9.0. The symptoms are that I can create projects (files are created in ~/.jedit/projectviewer), but don't seem to able to do anything with the projects. I don't see the Add/Edit icon on the toolbar that the documentation describes, nor do I see any method to load files into projects from jedit, nor is there a window showing the project structure. Has anyone gotten PV to work on the following system?

Here is the relevant activity log info:
[message] Log: java.version=1.4.2_03
[message] Log: java.vm.version=1.4.2_03-b02
[message] Log: java.runtime.version=1.4.2_03-b02
[message] Log: java.vendor=Sun Microsystems Inc.
[message] Log: java.compiler=null
[message] Log: os.name=Linux
[message] Log: os.version=2.4.20-8
[message] Log: os.arch=i386
[message] Log: user.home=/home/jhaefner
[message] Log: java.home=/usr/java/j2re1.4.2_03
[message] Log: java.class.path=/usr/local/share/jedit/4.2pre15/jedit.jar
[notice] jEdit: jEdit version 4.2pre15
[message] jEdit: Settings directory is /home/jhaefner/.jedit
[message] jEdit: jEdit home directory is /usr/local/share/jedit/4.2pre15

If you have gotten this work, can you describe what you did/do to make PV work after it is loaded? Thanks in advance

Jim
Bracket matching should also apply to angle bracket characters
Submitted by dbareis on Saturday, 14 August, 2004 - 07:39
Bracket matching matches for "()", "{}" and "[]", it should do the same for "<>" or please make it configurable. Bye, Dennis
Javadoc Comment Stubs (Javadoc-1.0.zip v1.0 by Craig Slusher)
Submitted by sleek on Monday, 16 August, 2004 - 04:04
This is a set of macros which you can use to generate Javadoc-style comments very easily. Just bind the 3 macros to some convenient keys, and you're all set!
improved plugin-download error reporting
Submitted by andystreich on Monday, 16 August, 2004 - 06:33
The title of this is too brief. Here's what I mean:

Several times over the last few weeks as I've been adding/updating plugins I've gotten a connection time-out error. Each time I've waited an hour or so and tried again with success. Changing the error message for the time out error to suggest waiting and trying again seems like a good thing for new users.

I wonder if I'm not getting those errors when maintenance is being done on the website. If so, a REALLY informative message might suggest this as a possibility. It would give jEdit more of the feel of a polished product (which it is, I've become a true believer).

Most recent occurance of this has been in the last half hour with jEdit 4.2 pre15 on Win2K.
Problem trying to Exit JEdit
Submitted by yogesh_4u on Tuesday, 17 August, 2004 - 14:01
I have getting an un expected error trying to exit jedit. Below is the Stack Trace for the error.

java.lang.NegativeArraySizeException

	at org.gjt.sp.jedit.jEdit.getBuffers(jEdit.java:1947)

	at org.gjt.sp.jedit.PerspectiveManager.savePerspective(PerspectiveManager.java:147)

	at org.gjt.sp.jedit.jEdit.exit(jEdit.java:2470)

	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

	at java.lang.reflect.Method.invoke(Method.java:324)

	at bsh.Reflect.invokeOnMethod(Reflect.java:149)

	at bsh.Reflect.invokeStaticMethod(Reflect.java:100)

	at bsh.Name.invokeMethod(Name.java:872)

	at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72)

	at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)

	at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)

	at bsh.BSHBlock.evalBlock(BSHBlock.java:130)

	at bsh.BSHBlock.eval(BSHBlock.java:80)

	at bsh.BshMethod.invokeImpl(BshMethod.java:349)

	at bsh.BshMethod.invoke(BshMethod.java:246)

	at bsh.BshMethod.invoke(BshMethod.java:171)

	at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:523)

	at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)

	at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229)

	at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:2907)

	at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:216)

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

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

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

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

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

	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)

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

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

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

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

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

	at java.awt.Component.dispatchEventImpl(Component.java:3615)

	at java.awt.Container.dispatchEventImpl(Container.java:1627)

	at java.awt.Component.dispatchEvent(Component.java:3477)

	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

	at java.awt.Container.dispatchEventImpl(Container.java:1613)

	at java.awt.Window.dispatchEventImpl(Window.java:1606)

	at java.awt.Component.dispatchEvent(Component.java:3477)

	at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)

	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

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

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

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

Problem trying to Exit JEdit
Submitted by yogesh_4u on Tuesday, 17 August, 2004 - 14:04
I have getting an un expected error trying to exit jedit. Below is the Stack Trace for the error.

java.lang.NegativeArraySizeException

	at org.gjt.sp.jedit.jEdit.getBuffers(jEdit.java:1947)

	at org.gjt.sp.jedit.PerspectiveManager.savePerspective(PerspectiveManager.java:147)

	at org.gjt.sp.jedit.jEdit.exit(jEdit.java:2470)

	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

	at java.lang.reflect.Method.invoke(Method.java:324)

	at bsh.Reflect.invokeOnMethod(Reflect.java:149)

	at bsh.Reflect.invokeStaticMethod(Reflect.java:100)

	at bsh.Name.invokeMethod(Name.java:872)

	at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72)

	at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)

	at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)

	at bsh.BSHBlock.evalBlock(BSHBlock.java:130)

	at bsh.BSHBlock.eval(BSHBlock.java:80)

	at bsh.BshMethod.invokeImpl(BshMethod.java:349)

	at bsh.BshMethod.invoke(BshMethod.java:246)

	at bsh.BshMethod.invoke(BshMethod.java:171)

	at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:523)

	at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)

	at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229)

	at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:2907)

	at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:216)

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

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

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

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

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

	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)

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

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

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

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

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

	at java.awt.Component.dispatchEventImpl(Component.java:3615)

	at java.awt.Container.dispatchEventImpl(Container.java:1627)

	at java.awt.Component.dispatchEvent(Component.java:3477)

	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

	at java.awt.Container.dispatchEventImpl(Container.java:1613)

	at java.awt.Window.dispatchEventImpl(Window.java:1606)

	at java.awt.Component.dispatchEvent(Component.java:3477)

	at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)

	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

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

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

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

DotComplete in jsp files
Submitted by Anonymous on Tuesday, 17 August, 2004 - 19:30
Is there anyway to configure DotComplete to recognize jsp file extensions?
OpenIt plugin loosing focus in jEdit 4.2pre15 on MacOS X 10.3.5
Submitted by Anonymous on Wednesday, 18 August, 2004 - 06:06
When I invoke OpenEdit (1.0.5), the dialog comes up, but immediately looses focus. If I click into the textbox, I can use the plugin. Any suggestions? Thanks.
better c syntax highlighting?
Submitted by kimjim on Wednesday, 18 August, 2004 - 22:12
Hello,
I just started to learn a bit C. Is there a mode file, plugin or something that would give me better C syntax highlighting in jEdit? I use jEdit everyday, mostly for html stuff, and I would like to use it for my C lessons too, but I find the default C highlighting a bit disapointing. For example, function names are not highlighted at all, although there is a setting for functions in the syntax highlighting options. I would love to have different syntax highlighting for function names and variable names, like in SubEthaEdit, if anybody knows this editor.
Sorry if this is a FAQ. I tried to use the search form to find an answer, but it doesn't use search strings shorter than 2 chars, so I can't search for something like "c mode".
Thanks, kimjim
Jedit 4.2final fails to launch using osx 10.3.5- java 1.4.2
Submitted by Anonymous on Thursday, 19 August, 2004 - 10:46
Tried reinstalling java jedit etc. rebooting etc. stil gives me the error message "The application JavaApplicationStub has unexpectedly quit."
Viewing XML Document As Tree
Submitted by Michael36 on Friday, 20 August, 2004 - 07:28
Hello,

I'm editing an XML Document with jEdit. How can I display the document in a tree?
There seems to be no menu item for this purpose. I've already installed various XML-libraries ('XML','XML-Indenter','xml-commons-resolver.jar').

Help would be great.

Greetings

Michael
Folding/Unfolding Element Nodes in XML-Document
Submitted by Michael36 on Friday, 20 August, 2004 - 07:48
Hello,

folding/unfolding for element nodes does not work in my XML-Document although there is one menu item ('Folding|Collapse/Expand Fold') provided for this purpose. How can I configure jEdit to do this job?

Any help wellcome,

Greetings

Michael
User login
Browse archives
« August 2004 »
MoTuWeThFrSaSu
 
15
16
21
26
 
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