jEdit Community - Resources for users of the jEdit Text Editor
Archives
fixed ftp plugin for 4.2?
Submitted by pataphysician on Saturday, 5 August, 2006 - 00:45
hi. according to this thread:

http://community.jedit.org/?q=node/view/2263

there's a 0.7.5 ftp plugin for jedit4.2 that addresses the connection pool issue. is that available anywhere? if not, is 0.7.2 available? i'm working with someone who's hosted at godaddy, who only allows 2 concurrent ftp connections. i can't even browse or create a directory without getting booted. i know 0.7.7 for jedit4.3 is supposed to work, but i'd like to stick with 4.2 if possible.

thanks!
ProjectViewer doesn't maintain file list
Submitted by djames on Sunday, 6 August, 2006 - 04:32
After importing files into a project, there is not an obvious way to "save" the project - save appears to save any open files only. When I close and re-open jEdit, the imported files do not appear, and have to be re-imported each time. What am I missing?
4.3pre6 on OSX 10.3.9
Submitted by sheeps on Monday, 7 August, 2006 - 00:52
Both the explicit mac version and the java installer for all platforms are built for java 1.5, which means that I can't run them at all.

I assume that this is a mistake, since java 1.4 is the 'declared' minimum for jEdit (and used to work Smiling)
Cannot disable Jedit startup on log in to Windows 2000
Submitted by phfeenikz on Monday, 7 August, 2006 - 05:20
Ive looked in the Global settings, the documentation, Google, Yahoo, msconfig, win.ini, system.ini, boot.ini, any services that start up on login, and I'm stumped. I even disabled the lone option to open recent files on startup, so I'm absolutely mystified as to why Jedit always opens up whenever I logon. Can anyone tell me how it's done(out of curiosity), and how I can disable it?
Xinsert plugin not working in jEdit 4.3pre6
Submitted by michaelyap on Monday, 7 August, 2006 - 12:43
am i the only one with this or is it not working at all in 4.3pre6.
the plugin manager didnt report errors, but its just not showing either in the dock or floating. and since there's no annoucement on it and nobody mention anything, can i be the first one to say its broken ?!!

michael
ProjectViewer doesn't maintain file list
Submitted by djames on Monday, 7 August, 2006 - 20:42
After importing files into a project, there is not an obvious way to "save" the project - save appears to save any open files only. When I close and re-open jEdit, the imported files do not appear, and have to be re-imported each time. What am I missing?

Sorry for the repost - I think my initial post was in the wrong forum.
automatic UTF-8 detection
Submitted by mh147 on Tuesday, 8 August, 2006 - 09:14
At several places, the devolopers state that one cannot auto-detect UTF-8 files.

That is not true. Other editors can do that reliably. Even Windows Notepad.

Here is what I think they are doing internally:
1. open the file byte-oriented
2. look if there are special UTF chars in the file (e.g. Ã)
if not: display the this way (byte-wise)
if so:
3. re-open (or scan) the file as UTF-8, looking if it loads error-free
(for instance all Ãx character pairs are valid UTF chars)
if so: display the file as UTF-8
if not:
4. re-open the file byte-oriented and display it this way

Of course, there is a chance, somebody would combine weird chars in a way it would accidently look like a valid UTF-8 file. But compare how often such a file would occur and be mis-detected by the proposed algorithm to the the amount of genuine UTF-8 files that get opened in jEdit and are mis-detected by the current auto-detection. This is a dozen against some million.

Looking at entries in this forum, I think this feature is more than due in order for jEdit to keep up-to-date and to continue gaining new users.
automatic encoding detection in HTML/XHTML
Submitted by priitoorn on Tuesday, 8 August, 2006 - 14:18
The encoding autodetection should try to get the HTML or XHTML file's encoding from "Content-type" meta tag:

{meta http-equiv="Content-type" content="text/html; charset=windows-1257"}
{meta http-equiv="Content-type" content="text/html; charset=UTF-8"}
{meta http-equiv="Content-type" content="text/html; charset=ISO-8859-1"}

and of course you should replace the { } with html tag brackets.
and btw. get rid of this bullshit "terminated request because of suspicious input data" error in this forum ...
FTP plugin: alternative ssh port #?
Submitted by njcatalyst on Wednesday, 9 August, 2006 - 19:36
Does anyone know how to connect to a nonstandard port for sftp? There is no port field in the dialog, and it is uncommon with ssh to write host:port (not to mention, it doesn't work in my situation).

-njc
Recommended plugins for Web Developer
Submitted by higgledy on Thursday, 10 August, 2006 - 14:07
Is there a list of best plugins for a web developer who uses XML, Java, JavaScript, VBScript and LotusScript? Or a list of starter plugins for newbies to JEdit?
Associating JEdit with file extensions in windows.
Submitted by nirnex on Friday, 11 August, 2006 - 16:33
I'm using JEdit in Windows XP and currently use it primarily for Python and some propriatary language work. What I'd like to be able to do is associate JEdit with certain file types so that they can be double-clicked to open into JEdit. I know I used to be able to do this in an older version of JEdit (4.1 I think) but can't seem to get it to work with 4.2 or 4.3. I also need to be able to set the association app with a custom memory heap as I often have to open very large files and keep my heap set for 1Gb. Any assistance on this is very appreciated.
beta jedit blocks package manager on ubuntu dapper
Submitted by jopy88 on Saturday, 12 August, 2006 - 12:18
I was interested in jedit sinds I was learning C++.
Now I have tryed to install it, it gave a lot of errors;

http://img3.freeimagehosting.net/image.php?3145fdea58.jpg
(this is in Dutch, maybe you could use it anyway)

Now I can't uninstall it, and I can't install it. I also can't install other packages or uninstall those, because my package manager (synaptic) is blocked by the package of jedit.

Please give me a solution, or I have to reinstall my whole OS :'(

Jopy
Is there a C++ class browser plugin?
Submitted by kernco on Monday, 14 August, 2006 - 23:12
I am using JEdit 4.2 final, and I was wondering if there is a C++ class browser plugin or something that will show an "outline" ala Eclipse. I'd prefer to not have to upgrade to a 4.3 version, since that would mean installing manually instead of through apt-get. Thanks.
Code Aide
Submitted by bencom on Tuesday, 15 August, 2006 - 02:20
On my system Debian Sarge Sun Java 1.5.0_08 code aide breaks the navigation keys up and down.
Different codes
Submitted by Mauro on Tuesday, 15 August, 2006 - 19:19
Hello,
I installed JEdit and found it wonderful.

I easily changed the color code settings for PHP but now I've a little problem.
That is: very often in web pages you have sections with different codes.

In the page I used for testing purposes I have:
- about 20 lines in PHP;
- about 20 lines in JavaScript;
- about 80 lines in (X)HTML;
Now, the three languages are following the "color rules" I set for PHP.

It is possible to have different code colors for these three languages in the same .php page? Please, tell me it is... Smiling and possibly how...

Thanks very much.
ActionHooks plugin extension
Submitted by stellari on Tuesday, 15 August, 2006 - 21:37
I would like to use ActionHook plugin to save the open buffers upon jEdit loosing focus (i.e. the user switching to a different window).

I'm a novice in using jEdit and I don't know much aboiut Java.

Any suggestion, or better help, would be greatly appreciated.

Franco
Console plugin not working with Windows 2000 Find command
Submitted by fenwar on Wednesday, 16 August, 2006 - 15:37
I like to pipe output of commands to Find.exe in windows, e.g. (an actual example)

svn log -v -q | find "json.js"

(When I don't know where a file that has been removed from project is in my svn repository...)

anyway this works absolutely fine in Windows 2000 command prompt, but in jEdit Console with the same input I get the following error message:

FIND: Parameter format not correct
svn: Write error: Invalid argument


I can run the first part of the command e.g. "svn log -v -q" fine.

If I try piping the output at all it seems to be ignored (e.g. "svn log -v -q | more" does not work)

However using the '>' operator to append output to a file works e.g. "svn log -v -q > temp.txt"

But still find does not work - e.g. in windows 2000 I could now type

find "json.js" temp.txt and get the desired result, but jEdit Console still returns

FIND: Parameter format not correct

I am using jEdit 4.3pre6 using Java 1.5.0_06 and Console 4.2.6.4

Has anyone else encountered/found a workaround for this issue (other than not using jEdit console)? Are there other combinations of Java/jEdit/Console versions without this problem?

Thanks in advance

Paul F
Close non project files (Close_non_project_files.bsh v1 by Jakub Roztocil)
Submitted by Oswald on Wednesday, 16 August, 2006 - 15:46
This macro closes opened buffers which are not members of current project.
Difference between Jedit 4.2 and 4.3pre6
Submitted by Fabio2006 on Thursday, 17 August, 2006 - 10:44
Hello Developpers I have a lite Script who work fine in Jedit 4.2 but not in 4.3pre5 and not in 4.3pre6. The Console Window open and wait but there are errors in the Command Window and in the BeanShell Window. Is there any idea what I can change? Regrads, Fabio import console.Console; { Buffer b = view.getBuffer(); String strName = b.getName(); String strPath = b.getPath(); String strCmd = new String("java.exe -jar \"C:\\Programme\\Interlis\\ili2c\\ili2c.jar\" --without-warnings \"" + strPath + "\""); runCommandInConsole(view, "System", strCmd); } 1) Console Window: [error] BeanShell: java.lang.NoClassDefFoundError: org/gjt/sp/jedit/search/RESea rchMatcher [error] BeanShell: at console.StreamThread.(StreamThread.java:226) [error] BeanShell: at console.ConsoleProcess.(ConsoleProcess.java:65) [error] BeanShell: at console.SystemShell.execute(SystemShell.java:222) [error] BeanShell: at console.Console.run(Console.java:429) [error] BeanShell: at console.Console.run(Console.java:226) [error] BeanShell: at console.Console.run(Console.java:202) [error] BeanShell: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho d) [error] BeanShell: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Sourc e) [error] BeanShell: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown S ource) [error] BeanShell: at java.lang.reflect.Method.invoke(Unknown Source) [error] BeanShell: at bsh.Reflect.invokeOnMethod(Reflect.java:148) [error] BeanShell: at bsh.Reflect.invokeObjectMethod(Reflect.java:80) [error] BeanShell: at bsh.Name.invokeMethod(Name.java:856) [error] BeanShell: at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72) [error] BeanShell: at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:1 02) [error] BeanShell: at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:4 7) [error] BeanShell: at bsh.BSHBlock.evalBlock(BSHBlock.java:130) [error] BeanShell: at bsh.BSHBlock.eval(BSHBlock.java:80) [error] BeanShell: at bsh.BshMethod.invokeImpl(BshMethod.java:349) [error] BeanShell: at bsh.BshMethod.invoke(BshMethod.java:246) [error] BeanShell: at bsh.BshMethod.invoke(BshMethod.java:179) [error] BeanShell: at bsh.Name.invokeLocalMethod(Name.java:956) [error] BeanShell: at bsh.Name.invokeMethod(Name.java:805) [error] BeanShell: at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72) [error] BeanShell: at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:1 02) [error] BeanShell: at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:4 7) [error] BeanShell: at bsh.BSHBlock.evalBlock(BSHBlock.java:130) [error] BeanShell: at bsh.BSHBlock.eval(BSHBlock.java:80) [error] BeanShell: at bsh.BSHBlock.eval(BSHBlock.java:46) [error] BeanShell: at bsh.Interpreter.eval(Interpreter.java:641) [error] BeanShell: at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:339) [error] BeanShell: at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:284) [error] BeanShell: at org.gjt.sp.jedit.BeanShell.runScript(BeanShell.java:210) [error] BeanShell: at org.gjt.sp.jedit.Macros$BeanShellHandler.runMacro(Macros. java:1012) [error] BeanShell: at org.gjt.sp.jedit.Macros$Macro.invoke(Macros.java:435) [error] BeanShell: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandl er.java:229) [error] BeanShell: at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:2933) [error] BeanShell: at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditA ction.java:224) [error] BeanShell: at javax.swing.AbstractButton.fireActionPerformed(Unknown So urce) [error] BeanShell: at javax.swing.AbstractButton$Handler.actionPerformed(Unknow n Source) [error] BeanShell: at javax.swing.DefaultButtonModel.fireActionPerformed(Unknow n Source) [error] BeanShell: at javax.swing.DefaultButtonModel.setPressed(Unknown Source) [error] BeanShell: at javax.swing.AbstractButton.doClick(Unknown Source) [error] BeanShell: at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown So urce) [error] BeanShell: at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseRelea sed(Unknown Source) [error] BeanShell: at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source ) [error] BeanShell: at java.awt.Component.processMouseEvent(Unknown Source) [error] BeanShell: at javax.swing.JComponent.processMouseEvent(Unknown Source) [error] BeanShell: at java.awt.Component.processEvent(Unknown Source) [error] BeanShell: at java.awt.Container.processEvent(Unknown Source) [error] BeanShell: at java.awt.Component.dispatchEventImpl(Unknown Source) [error] BeanShell: at java.awt.Container.dispatchEventImpl(Unknown Source) [error] BeanShell: at java.awt.Component.dispatchEvent(Unknown Source) [error] BeanShell: at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) [error] BeanShell: at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) [error] BeanShell: at java.awt.LightweightDispatcher.dispatchEvent(Unknown Sour ce) [error] BeanShell: at java.awt.Container.dispatchEventImpl(Unknown Source) [error] BeanShell: at java.awt.Window.dispatchEventImpl(Unknown Source) [error] BeanShell: at java.awt.Component.dispatchEvent(Unknown Source) [error] BeanShell: at java.awt.EventQueue.dispatchEvent(Unknown Source) [error] BeanShell: at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unk nown Source) [error] BeanShell: at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unkno wn Source) [error] BeanShell: at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [error] BeanShell: at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [error] BeanShell: at java.awt.EventDispatchThread.run(Unknown Source) 2) BeanShell Window: java.lang.NoClassDefFoundError: org/gjt/sp/jedit/search/RESearchMatcher at console.StreamThread.(StreamThread.java:226) at console.ConsoleProcess.(ConsoleProcess.java:65) at console.SystemShell.execute(SystemShell.java:222) at console.Console.run(Console.java:429) at console.Console.run(Console.java:226) at console.Console.run(Console.java:202) 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:148) at bsh.Reflect.invokeObjectMethod(Reflect.java:80) at bsh.Name.invokeMethod(Name.java:856) 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:179) at bsh.Name.invokeLocalMethod(Name.java:956) at bsh.Name.invokeMethod(Name.java:805) 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.BSHBlock.eval(BSHBlock.java:46) at bsh.Interpreter.eval(Interpreter.java:641) at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:339) at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:284) at org.gjt.sp.jedit.BeanShell.runScript(BeanShell.java:210) at org.gjt.sp.jedit.Macros$BeanShellHandler.runMacro(Macros.java:1012) at org.gjt.sp.jedit.Macros$Macro.invoke(Macros.java:435) at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229) at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:2933) at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:224) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) 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.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(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)
GNOME Clearlooks icon theme for jEdit (jedicons-clearlooks.jar v0.1)
Submitted by Oswald on Thursday, 17 August, 2006 - 20:47

This icon set is based on GNOME Icons for jEdit, but contains icons from Clearlooks icon theme, instead of GNOME default icons

Put this file in $JAVA_HOME/jre/lib/ext (I have it in /usr/java/jre1.6.0/lib/ext) and restart jEdit.

See screenshot

User login
Browse archives
« August 2006 »
MoTuWeThFrSaSu
 
4
8
13
19
20
22
27
30
 
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