jEdit Community - Resources for users of the jEdit Text Editor
Archives
Plugins for Java
Submitted by Anonymous on Tuesday, 14 September, 2004 - 10:20
Hi.

I use JEdit for writer my applications in java but I don't know the esencials plugins for java.

What's the essencital plugins for programing for java at the moment I use JCompiler.

PS: Sorry for my english but I'm spanish.
Using arrays in macros ...
Submitted by Lee Elms on Tuesday, 14 September, 2004 - 13:49
I am trying to create an array in a BeanShell macro, e.g.:

int pos[] = new int[4];

gives an error:

Encountered "[" at line 13, column 8.

How do I successfully create an array of 'int' ?
what happened to indentation (out)lines?
Submitted by mcmilwj on Tuesday, 14 September, 2004 - 15:41
I recall a few releases ago (maybe it was a beta I was using) that there was a capability to have indented blocks outlined with a vertical gray lines in the text edit area. I no longer see a way to activate this feature. Is this implemented by a plugin or was it deemed to problematic and therefore removed? Here's hoping it is still possible and I've just missed some obvious setting.
JDocs Search (JDocs_Search.bsh v1.0 by Lee Turner)
Submitted by lturner on Wednesday, 15 September, 2004 - 14:03
Beanshell macro to search JDocs (http://www.jdocs.com). It utilises the InfoViewer Plugin to display the jdocs page and can work a selection in the jEdit textarea or prompt you for a search item if no selection is made.
jedit as editor for ftp-clients?
Submitted by saneinsane on Wednesday, 15 September, 2004 - 14:12
i'd like to use jedit as editor for ftp clients on mac. but if i choose jedit as editor in interarchy and try to edit online files, jedit opens a downloaded copy of the file instead of opening it via ftp. any suggestions?
Mark Pages
Submitted by bstegman on Wednesday, 15 September, 2004 - 14:14
I've looked for this feature but haven't found it, but I would love it if I could mark pages as I'm working on updates for projects so I know what files I need to update on the live server. Would love to hear any suggestions too....
Large Mode file -- real slow
Submitted by floriangrimm on Wednesday, 15 September, 2004 - 15:49
i add serval keywords to the mode/python.xml file (common libraries & methods)
all as keyword3 (filesize*=2.5)

display is really slow
complete word works only for word defined before
e.g.
OK
abcd
ab[cd]

Wrong
ab[] -- abcd is NOT shown
abcd

CPU is not too bad, Java/Jedit-Memory is really big
any idea - i would try to fix if somebody give me a hit
XHTML XInsert Script (xhtml.insert.xml v0.3 by Daniel E. Markle)
Submitted by Lexiyntax on Wednesday, 15 September, 2004 - 16:08
This script for the XInsert plugin makes it quick and easy to build compliant xhtml 1.0 and html 4.0 strict files. All html tags are in lowercase as required by the xhtml spec, and it tries to provide convenient prompting for required elements in tags. To use it, just copy it to your XInsert script location (~/.jedit/xinsert/ on Linux or OS X) and click reload in XInsert.
How to write a macro to Change Auto-Indent Behavior?
Submitted by drefty on Wednesday, 15 September, 2004 - 21:45
PROBLEM: There is one frustrating aspect of auto-indentation with jEdit that I would like to change with a macro. Here is some sample text to demonstrate what I am talking about. ...
1Potato
    2Potato
    3Potato
    4Potato

1Watermellon
    2Watermellon
    3Watermellon
    4Watermellon


If you put the cursor before "1Watermellon" and then press ENTER, jEdit will auto-indent to make it the same indentation level as "4Potato".

This is contrary to what I'd expect because I'm trying to insert some blank non-indented lines in between 'potato' and 'watermellon'. I am *not* trying to make watermellon indented beneath potato.

The problem seems to be that jEdit does auto-indentation based on the previous *non-blank* line, instead of just the previous line.

QUESTION: How can I change this behavior with a macro or with other means, short of recompiling jEdit.
the output file from XSLT Processor is "locked" and cannot be saved
Submitted by Matthew Harrison on Thursday, 16 September, 2004 - 13:20
After performing a transformation using the XSLT Processor plugin an attempt to save the output file fails (whether or not the file has been edited in the buffer) and results in an error message popup:

D:\xml\schedule\n.xml:
Cannot save: java.io.IOException: Rename failed: D:\xml\schedule\#n.xml#save#

(where n.xml is the output file and the file: #n.xml#save# is created)

The output file can be released from this lock, and be saved by either restarting jedit, or by waiting a few minutes or by saving or opening another buffer.

Is there anything I can do make the XSLT plugin release the file immediately

Thanks,

Matt Harrison
Can't install Jedit on Solaris 9 (Failed to load Main-Class manifest attribute from)
Submitted by Anonymous on Thursday, 16 September, 2004 - 15:45
Hello,

Can't install jedit 4.2 on Solaris box, here is my steps

bash-2.05# java -version
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

bash-2.05# java -jar jedit42install.jar
Failed to load Main-Class manifest attribute from
jedit42install.jar


Why ? Smiling

thanks

Ostap
Create new file and save it to FTP doesn't works :(
Submitted by Anonymous on Friday, 17 September, 2004 - 11:05
Hi all!

this is my first post here, and is because I'm experiencing an issue that makes me crazy... I usually work with remote files, and then the FTP plugin is basic for me. It works great and very well for me, except for one thing, I can't create new files and save them to the ftp server, everytime I try to save the file, jedit brings me an I/O operation error, the ftp plugin or jedit itself, takes the filename I've introduced as a folder name, and tries to open that folder, that obviously doesn't exists and crashes.

Any idea about this?

many thanks!
Xavier
Superscript, jRuby: 'buffer' and 'textArea' undefined?
Submitted by mhuggett on Friday, 17 September, 2004 - 12:17
I'd like to write a macro using JRuby and the Superscript plugin. However, the variables 'buffer' and 'textArea' seem to be undefined (despite what's written in the Superscript documentation). I was wondering if anyone here had had any success writing jEdit macros in Ruby.

Matt
Invisible Search Dialog Box.
Submitted by Anonymous on Friday, 17 September, 2004 - 14:38
Hi,
I'm running jEdit 4.2 final on Windows XP, SP1 w/ JDK 1.4.2_05. I have a dual monitor setup and up until this morning everything has been working fine. Note: I have messed around a little w/ the lookAndFeel configuration, but not recently.
Anyway, when I fired up jEdit this morning the search dialog box is hidden/invisible - when I hit Ctrl+F or trigger from the menu, jEdit shows that it has lost focus; further more I can type in a word then hit enter and the search is run, but I can not SEE the dialog box. As you can imagine, this very annoying. I think that maybe it is being positioned off the screen, but I have played with my monitor settings with no success. If anyone has any ideas please let me know; I would be glad to post more details, just let me know what is important.

Thanks.
Java Console Plugin please support stdin
Submitted by Anonymous on Saturday, 18 September, 2004 - 00:26
Strange "Auto Correct" bug
Submitted by Anonymous on Saturday, 18 September, 2004 - 22:18
I have encountered a very strange bug in version 4.2 final. Whenever I type "in " (that's "in + space"), jEdit will replace "in" with a unrecognizable character. It is independent of fonts and modes. I do have the some plugins installed. However, I am not going through the process of eliminaiton to find out if they interfere at all.

Has anyone encountered this problem?

Mac OS X 10.3.5
Java 1.4.2
jEdit 4.2 Final
Short (DOS) filenames in Windows using 4.2 final
Submitted by Anonymous on Sunday, 19 September, 2004 - 15:33
I've recently started to use 4.2 final on Win2k. I've used 4.1 before. Now I noticed that the JEdit window title (and Recent files list, Save as dialog, ...) shows the "old" 8.3 characters style filenames, rather than the full Win2k name. It's a bit annoying.

Could not find any settings affecting this behavior. Any idea?
Can't get ContextHelp working on 4.2
Submitted by Anonymous on Sunday, 19 September, 2004 - 17:44
Hello,

I instaled 4.2 final and the ContextHelp plugin. Copied help file (php), checked beanshell script.
Whenever i try to do a keyword search, it always shows an error as follows:

java.lang.NullPointerException

at contexthelp.ContextHelpPlugin.runScript(Unknown Source)

at contexthelp.ContextHelpPlugin.runContextHelp(Unknown Source)

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.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.gui.InputHandler.invokeAction(InputHandler.java:195)

at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:297)

at org.gjt.sp.jedit.View.processKeyEvent(View.java:669)

at org.gjt.sp.jedit.textarea.JEditTextArea.processKeyEvent(JEditTextArea.java:4957)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)

at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)

at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)

at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)

at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Thanks for your help
Search a word from one EditPane in a second EditPane of a view
Submitted by AndreJRenard on Sunday, 19 September, 2004 - 19:07
I have a view with two EditPanes of two different files. My cursor is on one word of one EditPane. I would like to write a macro to search for that word in the second EditPane.

Selecting the word in the first window is easy but how can I direct the search in the second window? For the time being I only found a way to search in the second file in the SAME EditPane that the first one:

import javax.swing.border.*;

textArea.selectWord();
word = textArea.getSelectedText() ;
SearchAndReplace.setSearchString(word);

SearchAndReplace.setAutoWrapAround(false);
SearchAndReplace.setReverseSearch(false);
SearchAndReplace.setIgnoreCase(false);
SearchAndReplace.setRegexp(true);
SearchAndReplace.setSearchFileSet(new CurrentBufferSet());
SearchAndReplace.find(view,buffer.getNext(),0);

Also I would like to have the found word sitting at the top of the window. How can I do that?

Thanks for hints.

Andre
Console stopped working...
Submitted by Anonymous on Monday, 20 September, 2004 - 12:09
Hi everybody and thanks for this wonderfull editor.

I have been using Jedit for a year now, and suddently for no obvious reason the console pluggin stopped workking. What I mean by that is that when trying to run any command that is not builtin, nothing happens anymore, just the turning animation on the left and when I press the stop button, it says that no process is currently running!
I was using 4.2pre15, I installed 4.2final, reinstalled the console plugin, still the same.
NT4.0, java build 1.4.2_04-b05.

Any suggestion?

Thanks a lot,

Seb.
User login
Browse archives
« September 2004 »
MoTuWeThFrSaSu
 
11
23
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   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