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
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 ?
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.
Highlighting only between brackets?
Submitted by Anonymous on Monday, 20 September, 2004 - 13:10
Hello,
I wonder if it is possible to restrict literal highlighting to
space between brackets.
I tried to solve my problem with reg-expressions but it
did not work.
example:
In the following lines I want to apply the literal
highlighting (everything between ' and ' should be highlighted)
within the brackets:
options = ('option1 ', 'option2 ', 'option3 ', parameter)
matrix = [ 'sting1' ; 'string2' ]
But I do NOT want to have the highlighting applied in lines like this:
result = a'*b/c'
Does anybody has an idea how to solve this problem?
Is there a simple way to apply literal highlighting only
within brackets? To nest span rules?
Thanks a lot
jEdit maxing processor
Submitted by
Sako on
Monday, 20 September, 2004 - 14:10
When I start jEdit, it loads up, but before it allows anything to be done, it starts maxing the processor and I need to use TaskManager to kill it. I am using java version 1.4, jEdit 4.2 final on a Win2000 system with all updates. Any ideas why this is happening?
Thank you.
jEdit takes ages to load, 4+ minutes when before it was seconds
Submitted by Anonymous on Monday, 20 September, 2004 - 16:03
Hi,
[suse linux 9.0 kernel 2.4.21-243-default i686]
I had jedit 4.1 final and recently it begun taking ages to load jEdit. Time that used to be a few seconds is now 4+ minutes !!!
Also, if i have another program(e.g. cervisia) specify jedit as it's text editor, selecting edit on a file would result in a huge delay before that file appeared in jedit. This huge delay is also in the order of 4+ minutes !!!
I upgraded my java runtime (to 1.5.0) and my jedit to 4.2final, but i still have this problem.
Basically, while it's loading i just get the splash screen up with the jEdit logo and version, and that stays in the foreground until jEdit is fully loaded. (which is a bit of a pain when it takes this long as it can be in the way of other apps).
I use the same apps all the time so nothing stands out in relation to running other apps. Everything else runs fine as far as I can tell.
I would be really grateful if anybody esle out there who may have had this problem could help me with it, or if anybody has any ideas on possibilities.
Also, if i can provide anything that could help in diagnosing this problem just let me know.
Thanks in advance,
dave