jEdit Community - Resources for users of the jEdit Text Editor
runCommanToBuffer in BeanShell doesn't work
Submitted by Ted42 on Tuesday, 23 August, 2005 - 17:05
Hi

I want to write a simple Macro wich displays a shellscript output in a buffer. For that I use runCommandToBuffer( view, "System", "myscript" )

But instead of showing the output in a new Buffer, the Consolewindow gets opend and the result is displayed as if I have typed the command directly
in the shell...

I've tried this with version 4.2 and 4.3, both on WindowsXP and Mac OS X. No success..

Anyone knows waht I'm doing wrong?

Thanks
Tobi
Gruntspud 0.4.6-Beta - cannot connect to local repository in jEdit 4.2 on Mac OSX 10.4
Submitted by John Jameson on Sunday, 21 August, 2005 - 09:57
CVS works OK from cmd line terminal.
Gruntspud can see status of local checked-out files.
I have set up a local connection profile to the same path as CVSROOT.
I can checkout a module, but I cannot commit any changed files.
The commit btn greys out whenever I choose a file.
The Update btn is also greyed out.

Can anyone give me any pointers/help with this?
focus click moves caret in text area
Submitted by patb on Thursday, 18 August, 2005 - 18:27
Under OS-X 10.4.2 I find that clicking on the Jedit (4.2final) window in order to give it focus has the side effect of also moving the caret in the text area, contrary to the behavior of most applications. Can someone please comment if this occurs for everyone, i.e. whether it is a feature or a problem?

I'm a new jEdit user; hope I'm posting to the correct place for this question.
Thanks,
patb
Fedora Core 4 - jEdit can't download plugins
Submitted by doronr on Wednesday, 17 August, 2005 - 16:21
I have 2 boxes - one is a fc4 that has been upgraded to each fc reelase since fc1. The other is a brand new fc4 install. One the new box, jEdit cannot download/install plugins (it can fetch server lists though and the list of available plugins): [error] Roster$Install: java.net.ConnectException: Connection refused [error] Roster$Install: at java.net.PlainSocketImpl.socketConnect(Native Method) [error] Roster$Install: at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:333) [error] Roster$Install: at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:195) [error] Roster$Install: at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:182) [error] Roster$Install: at java.net.Socket.connect(Socket.java:507) [error] Roster$Install: at java.net.Socket.connect(Socket.java:457) [error] Roster$Install: at sun.net.NetworkClient.doConnect(NetworkClient.java :157) [error] Roster$Install: at sun.net.www.http.HttpClient.openServer(HttpClient. java:365) [error] Roster$Install: at sun.net.www.http.HttpClient.openServer(HttpClient. java:477) [error] Roster$Install: at sun.net.www.http.HttpClient.(HttpClient.java:214) [error] Roster$Install: at sun.net.www.http.HttpClient.New(HttpClient.java:28 7)[error] Roster$Install: at sun.net.www.http.HttpClient.New(HttpClient.java:29 9)[error] Roster$Install: at sun.net.www.protocol.http.HttpURLConnection.getNew HttpClient(HttpURLConnection.java:784) [error] Roster$Install: at sun.net.www.protocol.http.HttpURLConnection.plainC onnect(HttpURLConnection.java:736) [error] Roster$Install: at sun.net.www.protocol.http.HttpURLConnection.connec t(HttpURLConnection.java:661) [error] Roster$Install: at sun.net.www.protocol.http.HttpURLConnection.getInp utStream(HttpURLConnection.java:905) [error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster$Install.download (Roster.java:417) [error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster$Install.runInWor kThread(Roster.java:314) [error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster.performOperation sInWorkThread(Roster.java:82) [error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.PluginManagerProgress$R osterThread.run(PluginManagerProgress.java:181) This is using Sun's 1.5.0_01 JDK, no firewal and SELinux disabled. It works fine on my upgraded fc4 with the same exact JVM. jEdit was installed using JPackage. Any ideas?
Plugin central updates of 15 Aug - can't see the updates!
Submitted by pallas on Wednesday, 17 August, 2005 - 14:27
Am I the only one not seeing the new batch update?
Plugin manager shows me the usual plugin list, without the new and updated ones. I tried also changing mirror but, as it says, it's downloading the plugin list from plugins.jedit.org so no changes.
Any idea?
Updating / Installin Plugins with 4.3pre2
Submitted by temp on Monday, 15 August, 2005 - 08:25

When trying to install or update plugins with 4.3pre2 I'm getting a "An I/O error occured (Connection refused: connect)" error. Changing the server in the download options doesn't seem to help.

Activity log shows this:

[debug] WorkThread: Running in work thread: [id=142,run=org.gjt.sp.jedit.pluginmgr.PluginManager$2@19d688]
[error] Roster$Install: java.net.ConnectException: Connection refused: connect
[error] Roster$Install:  at java.net.PlainSocketImpl.socketConnect(Native Method)
[error] Roster$Install:  at java.net.PlainSocketImpl.doConnect(Unknown Source)
[error] Roster$Install:  at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
[error] Roster$Install:  at java.net.PlainSocketImpl.connect(Unknown Source)
[error] Roster$Install:  at java.net.Socket.connect(Unknown Source)
[error] Roster$Install:  at java.net.Socket.connect(Unknown Source)
[error] Roster$Install:  at sun.net.NetworkClient.doConnect(Unknown Source)
[error] Roster$Install:  at sun.net.www.http.HttpClient.openServer(Unknown Source)
[error] Roster$Install:  at sun.net.www.http.HttpClient.openServer(Unknown Source)
[error] Roster$Install:  at sun.net.www.http.HttpClient.(Unknown Source)
[error] Roster$Install:  at sun.net.www.http.HttpClient.(Unknown Source)
[error] Roster$Install:  at sun.net.www.http.HttpClient.New(Unknown Source)
[error] Roster$Install:  at sun.net.www.http.HttpClient.New(Unknown Source)
[error] Roster$Install:  at sun.net.www.http.HttpClient.New(Unknown Source)
[error] Roster$Install:  at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
[error] Roster$Install:  at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
[error] Roster$Install:  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
[error] Roster$Install:  at org.gjt.sp.jedit.pluginmgr.Roster$Install.download(Roster.java:417)
[error] Roster$Install:  at org.gjt.sp.jedit.pluginmgr.Roster$Install.runInWorkThread(Roster.java:314)
[error] Roster$Install:  at org.gjt.sp.jedit.pluginmgr.Roster.performOperationsInWorkThread(Roster.java:82)
[error] Roster$Install:  at org.gjt.sp.jedit.pluginmgr.PluginManagerProgress$RosterThread.run(PluginManagerProgress.java:181)

Anything I can do about this? Updating/Installing plugins by hand sucks... Eye-wink

Stephan

Run_Script.bsh - Command not found: runInSystemShell
Submitted by Jeremy van Vlymen on Monday, 1 August, 2005 - 11:43
I am trying to run perl scripts in JEdit but the "Run_Script" macro fails as it reports it can't run the "runInSystemShell" command.

I am only running the Java 2 Runtime Environment Version 1.4.1 (from j2re-1_4_2_08-windows-i586-p-iftw.exe installation) not the Java SDK - does this matter?

How can I test if "runInSystemShell" is available?

Regards

JvV
Problem typing the ^ character on Jedit 4.2
Submitted by m4rgin4l on Saturday, 30 July, 2005 - 02:55
I have a latin-american distribution keyboard (very similar to a spanish keyboard), and I can't type the ^ character (which is produced by typing AltGr+^, or AltGr+^^). Other characters that are typed the same way like ` work just fine. Any ideas?
Windows XP Home SP2 Networking Broken by FTP Saving in jEdit
Submitted by Anonymous on Wednesday, 20 July, 2005 - 19:30

Hi, I've just started using jEdit and I love it (big thanks to the Devs,)! BUT I have a major problem. I have tried with 4.2final and 4.3pre2 beta. My problem is that when using the FTP plugin, after first loading a file from FTP, when trying to save the changes my whole network connection stops dead. jEdit also temporarily hangs, failing to redraw the UI for a while. Pinging my router fails, "ipconfig /renew" does nothing; disconnecting and reconnecting the ethernet cable doesn't work either. Only a reboot will bring the network back up. I have no problems on Win2K, but WinXP home with (for better or worse) all the latest updates is unusable. No problems with other Java apps (though none use FTP functionality), nor with any of my network apps (including other editors with FTP ability). I deleted my Java cache just in case.

JRE is Version 1.5.0 (build 1.5.0_04-b05), I always uninstall JRE's before reinstalling new updates.

I have both a saved activity.log and an ethernet packet log if it would aid anyone. It seems some kind of backup mechanism fails.

Does anyone have any suggestions? The relevant part of activity.log:

[debug] WorkThread: Running in work thread: [id=11,run=org.gjt.sp.jedit.buffer.BufferSaveRequest[index.html (ftp://{removed for security}@www.liparispark.com:21/.users/35/{removed for security}/web/)]]
[debug] ConnectionManager: Thread[jEdit I/O #2,1,jEdit I/O]: Connecting to ftp://www.liparispark.com:21
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: received response: 220 ProFTPD 1.2.9 Server (ProFTPD) [83.96.131.50]
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: sending command: USER {removed for security}
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: received response: 331 Password required for {removed for security}.
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: sending command: PASS {removed for security}
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: received response: 230 User {removed for security} logged in.
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: sending command: PWD
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: received response: 257 "/.users/35/{removed for security}" is current directory.
[debug] ConnectionManager: Thread[jEdit I/O #2,1,jEdit I/O]: Connection 2:www.liparispark.com locked
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: sending command: TYPE I
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: received response: 200 Type set to I
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: sending command: PASV
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: received response: 227 Entering Passive Mode (83,96,131,50,236,188).
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: sending command: STOR /.users/35/{removed for security}/web/#index.html#save#
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: received response: 150 Opening BINARY mode data connection for /.users/35/{removed for security}/web/#index.html#save#
[debug] ConnectionManager: Closing connection to ftp://www.liparispark.com:21
[debug] FtpClient: Thread[AWT-EventQueue-0,6,main]: sending command: QUIT
[error] ConnectionManager: java.net.SocketTimeoutException: Read timed out
Unable to start Jedit under winXP
Submitted by Anonymous on Monday, 16 May, 2005 - 16:50
Hi to all! I set up and started properly jedit on my notebook (wXP - sp1 - Java:Runtime Env. Stand.Ed 1.4.2_01) but I waws unable to make it run with my other computer: wXP-sp1-java:1.4.2_08). It hangs at the end of the progress bar run on the splash screen. Here are the lines around the first error in the activity log: ************** [message] BeanShell: Running script C:\Program Files\jEdit\startup\startup.bsh [debug] String: BeanShell interpreter version 2.0b1.1-jedit-1 [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=Untitled-1 (C:\Program Files\jEdit\)] [debug] EditBus: BufferUpdate[what=CREATED,view=null,source=Untitled-1 (C:\Program Files\jEdit\)] [error] GUIUtilities: java.lang.NullPointerException [error] GUIUtilities: at java.util.StringTokenizer.(Unknown Source) [error] GUIUtilities: at java.util.StringTokenizer.(Unknown Source) [error] GUIUtilities: at org.gjt.sp.jedit.GUIUtilities.parseStyle(GUIUtilities.java:790) [error] GUIUtilities: at org.gjt.sp.jedit.GUIUtilities.loadStyles(GUIUtilities.java:888) [error] GUIUtilities: at org.gjt.sp.jedit.GUIUtilities.loadStyles(GUIUtilities.java:864) **************** thank for help Mehmet Okonsar pianist-composer www.okonsar.com mehmet@okonsar.com
Unable to start Jedit under winXP
Submitted by Anonymous on Monday, 16 May, 2005 - 16:48
Hi to all! I set up and started properly jedit on my notebook (wXP - sp1 - Java:Runtime Env. Stand.Ed 1.4.2_01) but I waws unable to make it run with my other computer: wXP-sp1-java:1.4.2_08). It hangs at the end of the progress bar run on the splash screen. Here are the lines around the first error in the activity log: ************** [message] BeanShell: Running script C:\Program Files\jEdit\startup\startup.bsh [debug] String: BeanShell interpreter version 2.0b1.1-jedit-1 [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=Untitled-1 (C:\Program Files\jEdit\)] [debug] EditBus: BufferUpdate[what=CREATED,view=null,source=Untitled-1 (C:\Program Files\jEdit\)] [error] GUIUtilities: java.lang.NullPointerException [error] GUIUtilities: at java.util.StringTokenizer.(Unknown Source) [error] GUIUtilities: at java.util.StringTokenizer.(Unknown Source) [error] GUIUtilities: at org.gjt.sp.jedit.GUIUtilities.parseStyle(GUIUtilities.java:790) [error] GUIUtilities: at org.gjt.sp.jedit.GUIUtilities.loadStyles(GUIUtilities.java:888) [error] GUIUtilities: at org.gjt.sp.jedit.GUIUtilities.loadStyles(GUIUtilities.java:864) **************** thank for help Mehmet Okonsar pianist-composer www.okonsar.com mehmet@okonsar.com
Unable to start Jedit under winXP
Submitted by Anonymous on Monday, 16 May, 2005 - 16:47
Hi to all! I set up and started properly jedit on my notebook (wXP - sp1 - Java:Runtime Env. Stand.Ed 1.4.2_01) but I waws unable to make it run with my other computer: wXP-sp1-java:1.4.2_08). It hangs at the end of the progress bar run on the splash screen. Here are the lines around the first error in the activity log: ************** [message] BeanShell: Running script C:\Program Files\jEdit\startup\startup.bsh [debug] String: BeanShell interpreter version 2.0b1.1-jedit-1 [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=Untitled-1 (C:\Program Files\jEdit\)] [debug] EditBus: BufferUpdate[what=CREATED,view=null,source=Untitled-1 (C:\Program Files\jEdit\)] [error] GUIUtilities: java.lang.NullPointerException [error] GUIUtilities: at java.util.StringTokenizer.(Unknown Source) [error] GUIUtilities: at java.util.StringTokenizer.(Unknown Source) [error] GUIUtilities: at org.gjt.sp.jedit.GUIUtilities.parseStyle(GUIUtilities.java:790) [error] GUIUtilities: at org.gjt.sp.jedit.GUIUtilities.loadStyles(GUIUtilities.java:888) [error] GUIUtilities: at org.gjt.sp.jedit.GUIUtilities.loadStyles(GUIUtilities.java:864) **************** thank for help Mehmet Okonsar pianist-composer www.okonsar.com mehmet@okonsar.com
Unable to start Jedit under winXP
Submitted by Anonymous on Monday, 16 May, 2005 - 16:40
Hi to all! I set up and started properly jedit on my notebook (wXP - sp1 - Java:Runtime Env. Stand.Ed 1.4.2_01) but I waws unable to make it run with my other computer: wXP-sp1-java:1.4.2_08). It hangs at the end of the progress bar run on the splash screen. Here are the lines around the first error in the activity log: ************** [message] BeanShell: Running script C:\Program Files\jEdit\startup\startup.bsh [debug] String: BeanShell interpreter version 2.0b1.1-jedit-1 [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=Untitled-1 (C:\Program Files\jEdit\)] [debug] EditBus: BufferUpdate[what=CREATED,view=null,source=Untitled-1 (C:\Program Files\jEdit\)] [error] GUIUtilities: java.lang.NullPointerException [error] GUIUtilities: at java.util.StringTokenizer.(Unknown Source) [error] GUIUtilities: at java.util.StringTokenizer.(Unknown Source) [error] GUIUtilities: at org.gjt.sp.jedit.GUIUtilities.parseStyle(GUIUtilities.java:790) [error] GUIUtilities: at org.gjt.sp.jedit.GUIUtilities.loadStyles(GUIUtilities.java:888) [error] GUIUtilities: at org.gjt.sp.jedit.GUIUtilities.loadStyles(GUIUtilities.java:864) **************** thank for help Mehmet Okonsar pianist-composer www.okonsar.com mehmet@okonsar.com
Can't install/upgrade plugins
Submitted by Anonymous on Saturday, 7 May, 2005 - 01:13
I have just tried to update two plugins: BufferTabs and Editor Scheme, and the updates failed to install ("I/O error: error opening ZIP file"). Not only can I not update any plugins, but I have also lost the old versions, and I cannot re-install them.

Anyone else having this problem recently?
Trouble with "HTML Suggests" and Xinsert
Submitted by Anonymous on Wednesday, 4 May, 2005 - 14:54
Hi, I've been using JEdit for a while, so as to develop websites in xHTML/CSS. I encounter 2 bugs : On a HTML sheet, there's no more "HTML Suggets" (soory, don't know the english name, u know, when u type a "<", it suggests the rest), whereas it works on new sheets. The second bug is with Xinsert : it doesn't insert the macro, but the name of the macro. nothing changed in the xml files... Anyone may help ? Thx
OSX Tiger breaks Mac integration?
Submitted by justin_vt on Wednesday, 4 May, 2005 - 14:54
Is it only me, or does the Mac integration plugin no longer work properly under Tiger? My Mac-style menu bars are gone! Shocked
Charset encoding and plugins
Submitted by Anonymous on Thursday, 28 April, 2005 - 14:47
Hi all,

I'm using jEdit 4.2final with XSLT 0.6.0.

I have to transform some utf-8 .xsl files, but when I click on "Tranform XML" the XSLT plugins says:
===
[error] AWT-EventQueue-0: [Fatal Error] filename.xsl:1:1: Content is not allowed in prolog.
===
because the file starts with the three bytes that identifies utf-8 files.

I don't understand why the File System Browser - that appear when I click on the "Select source XML" or "Add styleshet" buttons on the XSLT GUI - doesn't show the "Encoding >" line in the "Commands" menu...
Obviously I set utf-8 in the Global Options->General->Default Encoding and I disabled the Auto-detection, but XSLT plugin seems to ignore these settings...

Note that the "Encoding >" line in the "Commands" menu of the File System Browser:
appears when I choose File->Open on jedit main menu
doesn't appear when I choose Open file in another plugin (QuickNotepad)

For these reasons I think that the Encoding selection in the File System Browser is disabled when the Browser is invoked
by a plugin, but I don't understand why.


thank you in advance
Andrea
jedit randomly stops working
Submitted by Anonymous on Tuesday, 26 April, 2005 - 06:05
i have an hp dv1000 laptop and when im using jedit, at a random time when the program is open certain functions stop working. things such as the tab key, navigational keys, all ctrl shortcuts. i talked to a friend of mine and he said his friend had the same problem with his latop. it happens everytime time i run this program.

any help is appreciated

thanks,
josh
File System Browser using ftp
Submitted by Anonymous on Monday, 25 April, 2005 - 17:30
I am using 4.2final with the ftp plugin to create php. However, when I open a file using jedit it takes at first one minute to make a connection to the server, secondly it takes 30 seconds to open a directory, at last also 30 seconds to open a file.
When I use fireFtp, this only takes 20 seconds in total, but then you don have a very powerful editor... Does anyone know how I can improve the speed?

Thanks in advance!!!
BTW, I am using SuSE 9.3 Pro on KDE 3.4 and java 1.4.2_06
HTML Tag matching does not work in PHP mode under linux(?) ...
Submitted by Anonymous on Saturday, 23 April, 2005 - 00:02
hi everybody,

for some reason the HTML Tag matching doesn't work in PHP mode under linux (ubuntu 5.04) but does under windows. I tried different jdks (1.4.2 and 1.5.0) and different jedit versions (4.2 and latest 4.3pre2) and copied the modes folder from my windows box to my linux box - no difference (the php.xml files are completely identical btw ...) it simply doesn't work. If I switch to html mode there is tag highlighting (but no php syntax highlighting of course ....)

can somebody help me?

thx, claus
User login
Browse archives
« May 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
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   83283
Context Free Art (*.cfdg)   0.31   46056
BBEdit scheme   1.0   18596
JBuilder scheme   .001   18496
ColdFusion scheme   1.0   18025
R Edit Mode - extensive version   0.1   17474
Advanced HTML edit mode   1.0   16207
Matlab Edit Mode   1.0   16069
jEdit XP icons   1.0   15230
XP icons for jEdit   1.1   14294