how to swap a file's extension in Console
Submitted by
tclark on
Saturday, 25 September, 2004 - 02:30
I'm trying to set up a macro in Console in which, for the current buffer, call it myfile.prg, I am able to have a a particular application run myfile.prg and store the results in myfile.out. What I can't figure out is how, for the output file, to drop the extension .prg and add the extension .out. Using ${n} I can easily store the results in myfile.prg.out. But I don't know how to get rid of the .prg in the file name. Any suggestions would be much appreciated.
SWT to use GTK widget on linux platform
Submitted by
harobed on
Saturday, 25 September, 2004 - 11:33
Hello,
I would like know your opinion about SWT.
JEdit will be more speedly if it use SWT. And more beautiful on Linux OS with GTK native look.
Not your everday problem
Submitted by
GermanJonus on
Saturday, 25 September, 2004 - 18:51
Ok. So I feel kinda stupid, but I was programming along, when suddenly my cursor changed! I mean the cursor which represnts where you are in the text field. It went from my beloved "I" cursor, to something that looks like an underscore "_". I know this is probably a very basic problem, but I can't seem to find where I change this back. I tired Utilities>Global Options... and other ares, but couldn't find anything. I was able to switch back and forth between "_" and a block, or make it blink/not blink, but I didn't see anything else. Sorry for disturbing all you serious progammers with this, but this is starting to get really annoying for me. Any help would be...uhhh...helpful. Thanks.
OSX file associations
Submitted by Anonymous on Saturday, 25 September, 2004 - 19:55
Since I upgraded to jedit 4.2, after I save the file, it becomes associated with jedit, how do I stop that?
thanx
FTP Plugin kills all Network and Internet Connections
Submitted by
Bodo on
Sunday, 26 September, 2004 - 17:42
Same Problem Windows 2000: network is killed
The same with Windows 2000 SP4, JDK 5.0, Jedit 4.2 final: The computer does not reboot but my network Adapter freezes. All network or internet connections are dead until reboot.
First I do File -> Save, open an FTP Connection, Browse on the FTP Server. This works all fine. But as soon as I press "save" it takes about one minute, nothings happens (I/O 1 Operation in progess). After about 1 Minute I get an "Cannot save: java.net.SocketTimeoutException: Read timed out"-Error.
Here is the action log:
[debug] WorkThread: Running in work thread: [id=10,run=org.gjt.sp.jedit.browser.BrowserIORequest[type=LIST_DIRECTORY,vfs=org.gjt.sp.jedit.io.FileVFS@192c8d9,path1=E:\0_zumloeschen\,path2=null]]
[debug] WorkThread: Running in work thread: [id=13,run=org.gjt.sp.jedit.browser.BrowserIORequest[type=LIST_DIRECTORY,vfs=ftp.FtpVFS@955cd5,path1=ftp://gloria@royalbunker.de:21/home/gloria/,path2=null]]
[debug] ConnectionManager: Thread[jEdit I/O #1,1,jEdit I/O]: Connecting to ftp://royalbunker.de:21
[debug] FtpClient: Thread[jEdit I/O #1,1,jEdit I/O]: received response: 220 (vsFTPd 1.1.3)
[debug] FtpClient: Thread[jEdit I/O #1,1,jEdit I/O]: sending command: USER gloria
[debug] FtpClient: Thread[jEdit I/O #1,1,jEdit I/O]: received response: 331 Please specify the password.
[debug] FtpClient: Thread[jEdit I/O #1,1,jEdit I/O]: sending command: PASS
[debug] FtpClient: Thread[jEdit I/O #1,1,jEdit I/O]: received response: 230 Login successful. Have fun.
[debug] FtpClient: Thread[jEdit I/O #1,1,jEdit I/O]: sending command: PWD
[debug] FtpClient: Thread[jEdit I/O #1,1,jEdit I/O]: received response: 257 "/home/gloria"
[debug] ConnectionManager: Thread[jEdit I/O #1,1,jEdit I/O]: Connection 0:royalbunker.de locked
[debug] FtpClient: Thread[jEdit I/O #1,1,jEdit I/O]: sending command: CWD /home/gloria/
[debug] FtpClient: Thread[jEdit I/O #1,1,jEdit I/O]: received response: 250 Directory successfully changed.
[debug] FtpClient: Thread[jEdit I/O #1,1,jEdit I/O]: sending command: TYPE I
[debug] FtpClient: Thread[jEdit I/O #1,1,jEdit I/O]: received response: 200 Switching to Binary mode.
[debug] FtpClient: Thread[jEdit I/O #1,1,jEdit I/O]: sending command: PASV
[debug] FtpClient: Thread[jEdit I/O #1,1,jEdit I/O]: received response: 227 Entering Passive Mode (64,246,56,63,214,83)
[debug] FtpClient: Thread[jEdit I/O #1,1,jEdit I/O]: sending command: LIST -a
[debug] FtpClient: Thread[jEdit I/O #1,1,jEdit I/O]: received response: 150 Here comes the directory listing.
[debug] FtpConnection: Discarding drwxrwx--x 8 513 506 4096 Sep 08 19:30 .
[debug] FtpConnection: Discarding drwxr-xr-x 9 0 0 4096 Sep 06 11:31 ..
[debug] FtpClient: Thread[jEdit I/O #1,1,jEdit I/O]: received response: 226 Directory send OK.
[debug] DirectoryCache: Cached ftp://gloria@royalbunker.de:21/home/gloria to C:\Dokumente und Einstellungen\Administrator\.jedit\cache\cache-1-1096218543281.tmp
[debug] ConnectionManager: Thread[jEdit I/O #1,1,jEdit I/O]: Connection 0:royalbunker.de released
[debug] WorkThread: Running in work thread: [id=16,run=org.gjt.sp.jedit.browser.BrowserIORequest[type=LIST_DIRECTORY,vfs=ftp.FtpVFS@955cd5,path1=ftp://gloria@royalbunker.de:21/home/gloria/royalbunkerwebsite2,path2=null]]
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: sending command: NOOP
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: received response: 200 NOOP ok.
[debug] ConnectionManager: Thread[jEdit I/O #2,1,jEdit I/O]: Connection 0:royalbunker.de locked
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: sending command: CWD /home/gloria/royalbunkerwebsite2
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: received response: 250 Directory successfully changed.
[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 Switching to Binary mode.
[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 (64,246,56,63,67,121)
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: sending command: LIST -a
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: received response: 150 Here comes the directory listing.
[debug] FtpConnection: Discarding drwxrwx--x 32 513 506 4096 Sep 08 16:53 .
[debug] FtpConnection: Discarding drwxrwx--x 8 513 506 4096 Sep 08 19:30 ..
[debug] FtpClient: Thread[jEdit I/O #2,1,jEdit I/O]: received response: 226 Directory send OK.
[debug] DirectoryCache: Cached ftp://gloria@royalbunker.de:21/home/gloria/royalbunkerwebsite2 to C:\Dokumente und Einstellungen\Administrator\.jedit\cache\cache-2-1096218546140.tmp
[debug] ConnectionManager: Thread[jEdit I/O #2,1,jEdit I/O]: Connection 0:royalbunker.de released
[debug] WorkThread: Running in work thread: [id=19,run=org.gjt.sp.jedit.browser.BrowserIORequest[type=LIST_DIRECTORY,vfs=ftp.FtpVFS@955cd5,path1=ftp://gloria@royalbunker.de:21/home/gloria/royalbunkerwebsite2/specials,path2=null]]
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: sending command: NOOP
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: received response: 200 NOOP ok.
[debug] ConnectionManager: Thread[jEdit I/O #3,1,jEdit I/O]: Connection 0:royalbunker.de locked
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: sending command: CWD /home/gloria/royalbunkerwebsite2/specials
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: received response: 250 Directory successfully changed.
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: sending command: TYPE I
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: received response: 200 Switching to Binary mode.
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: sending command: PASV
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: received response: 227 Entering Passive Mode (64,246,56,63,175,205)
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: sending command: LIST -a
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: received response: 150 Here comes the directory listing.
[debug] FtpConnection: Discarding drwxrwx--x 4 513 506 4096 Sep 08 16:53 .
[debug] FtpConnection: Discarding drwxrwx--x 32 513 506 4096 Sep 08 16:53 ..
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: received response: 226 Directory send OK.
[debug] DirectoryCache: Cached ftp://gloria@royalbunker.de:21/home/gloria/royalbunkerwebsite2/specials to C:\Dokumente und Einstellungen\Administrator\.jedit\cache\cache-3-1096218554515.tmp
[debug] ConnectionManager: Thread[jEdit I/O #3,1,jEdit I/O]: Connection 0:royalbunker.de released
[debug] WorkThread: Running in work thread: [id=22,run=org.gjt.sp.jedit.browser.BrowserIORequest[type=LIST_DIRECTORY,vfs=ftp.FtpVFS@955cd5,path1=ftp://gloria@royalbunker.de:21/home/gloria/royalbunkerwebsite2/,path2=null]]
[debug] WorkThread: Running in work thread: [id=25,run=org.gjt.sp.jedit.browser.BrowserIORequest[type=LIST_DIRECTORY,vfs=ftp.FtpVFS@955cd5,path1=ftp://gloria@royalbunker.de:21/home/gloria/royalbunkerwebsite2/styles,path2=null]]
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: sending command: NOOP
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: received response: 200 NOOP ok.
[debug] ConnectionManager: Thread[jEdit I/O #3,1,jEdit I/O]: Connection 0:royalbunker.de locked
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: sending command: CWD /home/gloria/royalbunkerwebsite2/styles
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: received response: 250 Directory successfully changed.
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: sending command: TYPE I
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: received response: 200 Switching to Binary mode.
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: sending command: PASV
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: received response: 227 Entering Passive Mode (64,246,56,63,203,204)
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: sending command: LIST -a
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: received response: 150 Here comes the directory listing.
[debug] FtpConnection: Discarding drwxrwx--x 3 513 506 4096 Sep 25 22:06 .
[debug] FtpConnection: Discarding drwxrwx--x 32 513 506 4096 Sep 08 16:53 ..
[debug] FtpClient: Thread[jEdit I/O #3,1,jEdit I/O]: received response: 226 Directory send OK.
[debug] DirectoryCache: Cached ftp://gloria@royalbunker.de:21/home/gloria/royalbunkerwebsite2/styles to C:\Dokumente und Einstellungen\Administrator\.jedit\cache\cache-4-1096218559250.tmp
[debug] ConnectionManager: Thread[jEdit I/O #3,1,jEdit I/O]: Connection 0:royalbunker.de released
[debug] WorkThread: Running in work thread: [id=28,run=org.gjt.sp.jedit.browser.VFSFileChooserDialog$GetFileTypeRequest@e3849c]
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: sending command: NOOP
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: received response: 200 NOOP ok.
[debug] ConnectionManager: Thread[jEdit I/O #4,1,jEdit I/O]: Connection 0:royalbunker.de locked
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: sending command: CWD /home/gloria/royalbunkerwebsite2/styles/
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: received response: 250 Directory successfully changed.
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: sending command: TYPE I
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: received response: 200 Switching to Binary mode.
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: sending command: PASV
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: received response: 227 Entering Passive Mode (64,246,56,63,232,117)
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: sending command: LIST s2.css
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: received response: 150 Here comes the directory listing.
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: received response: 226 Directory send OK.
[debug] ConnectionManager: Thread[jEdit I/O #4,1,jEdit I/O]: Connection 0:royalbunker.de released
[debug] EditBus: BufferUpdate[what=SAVING,view=org.gjt.sp.jedit.View[active],source=s2.css (E:\0_zumloeschen\)]
[debug] WorkThread: Running in work thread: [id=30,run=org.gjt.sp.jedit.buffer.BufferIORequest[type=SAVE,buffer=s2.css (E:\0_zumloeschen\)]]
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: sending command: NOOP
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: received response: 200 NOOP ok.
[debug] ConnectionManager: Thread[jEdit I/O #4,1,jEdit I/O]: Connection 0:royalbunker.de locked
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: sending command: TYPE I
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: received response: 200 Switching to Binary mode.
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: sending command: PASV
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: received response: 227 Entering Passive Mode (64,246,56,63,195,30)
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: sending command: STOR /home/gloria/royalbunkerwebsite2/styles/s2.css
[debug] FtpClient: Thread[jEdit I/O #4,1,jEdit I/O]: received response: 150 Ok to send data.
[debug] DirectoryCache: Deleting C:\Dokumente und Einstellungen\Administrator\.jedit\cache\cache-4-1096218559250.tmp
[error] BufferIORequest: java.net.SocketTimeoutException: Read timed out
[error] BufferIORequest: at java.net.SocketInputStream.socketRead0(Native Method)
[error] BufferIORequest: at java.net.SocketInputStream.read(SocketInputStream.java:129)
[error] BufferIORequest: at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
[error] BufferIORequest: at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
[error] BufferIORequest: at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
[error] BufferIORequest: at java.io.InputStreamReader.read(InputStreamReader.java:167)
[error] BufferIORequest: at java.io.BufferedReader.fill(BufferedReader.java:136)
[error] BufferIORequest: at java.io.BufferedReader.readLine(BufferedReader.java:299)
[error] BufferIORequest: at java.io.BufferedReader.readLine(BufferedReader.java:362)
[error] BufferIORequest: at com.fooware.net.FtpResponse.setMessage(Unknown Source)
[error] BufferIORequest: at com.fooware.net.FtpResponse.(Unknown Source)
[error] BufferIORequest: at com.fooware.net.FtpClient.setResponse(Unknown Source)
[error] BufferIORequest: at com.fooware.net.FtpClient.closeTransferSocket(Unknown Source)
[error] BufferIORequest: at com.fooware.net.FtpOutputStream.close(Unknown Source)
[error] BufferIORequest: at sun.nio.cs.StreamEncoder$CharsetSE.implClose(StreamEncoder.java:431)
[error] BufferIORequest: at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:160)
[error] BufferIORequest: at java.io.OutputStreamWriter.close(OutputStreamWriter.java:222)
[error] BufferIORequest: at java.io.BufferedWriter.close(BufferedWriter.java:250)
[error] BufferIORequest: at org.gjt.sp.jedit.buffer.BufferIORequest.write(BufferIORequest.java:912)
[error] BufferIORequest: at org.gjt.sp.jedit.buffer.BufferIORequest.save(BufferIORequest.java:722)
[error] BufferIORequest: at org.gjt.sp.jedit.buffer.BufferIORequest.run(BufferIORequest.java:134)
[error] BufferIORequest: at org.gjt.sp.util.WorkThread.doRequest(WorkThread.java:194)
[error] BufferIORequest: at org.gjt.sp.util.WorkThread.doRequests(WorkThread.java:161)
[error] BufferIORequest: at org.gjt.sp.util.WorkThread.run(WorkThread.java:135)
[error] ErrorListDialog$ErrorEntry: ftp://gloria@royalbunker.de:21/home/gloria/royalbunkerwebsite2/styles/s2.css:
[error] ErrorListDialog$ErrorEntry: Cannot save: java.net.SocketTimeoutException: Read timed out
[debug] ConnectionManager: Thread[jEdit I/O #4,1,jEdit I/O]: Connection 0:royalbunker.de released
And then a strange thing happens: After two minutes Jedit freezes an becomes unusable without any action of mine. One minute later Jedit is just normal again (without restart or anything, just wait for one minute), but all the network and internet connections are dead until reboot.
Here is the action log of the second part:
[debug] ConnectionManager: Thread[jEdit I/O #4,1,jEdit I/O]: Connection 0:royalbunker.de released
[debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=org.gjt.sp.jedit.View[active],source=Untitled-1 (E:\0_zumloeschen\)]
[debug] EditBus: BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=Untitled-1 (E:\0_zumloeschen\)]
[debug] EditBus: BufferUpdate[what=LOADED,view=org.gjt.sp.jedit.View[active],source=Untitled-1 (E:\0_zumloeschen\)]
[debug] EditBus: BufferUpdate[what=CREATED,view=org.gjt.sp.jedit.View[active],source=Untitled-1 (E:\0_zumloeschen\)]
[debug] EditBus: EditPaneUpdate[what=BUFFER_CHANGED,source=org.gjt.sp.jedit.EditPane[active]]
[error] EditBus: Exception while sending message on EditBus:
[error] EditBus: java.lang.NoSuchMethodError: org.gjt.sp.jedit.EBMessage.getSource()Lorg/gjt/sp/jedit/EBComponent;
[error] EditBus: at whitespace.WhiteSpacePlugin.handleMessage(Unknown Source)
[error] EditBus: at org.gjt.sp.jedit.EditBus.send(EditBus.java:148)
[error] EditBus: at org.gjt.sp.jedit.EditPane.setBuffer(EditPane.java:117)
[error] EditBus: at buffertabs.BufferTabs$ChangeHandler.stateChanged(Unknown Source)
[error] EditBus: at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:290)
[error] EditBus: at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:222)
[error] EditBus: at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
[error] EditBus: at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
[error] EditBus: at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:478)
[error] EditBus: at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:464)
[error] EditBus: at buffertabs.BufferTabs.bufferCreated(Unknown Source)
[error] EditBus: at buffertabs.BufferTabs.handleMessage(Unknown Source)
[error] EditBus: at org.gjt.sp.jedit.EditBus.send(EditBus.java:148)
[error] EditBus: at org.gjt.sp.jedit.jEdit.openFile(jEdit.java:1479)
[error] EditBus: at org.gjt.sp.jedit.jEdit.newFile(jEdit.java:1617)
[error] EditBus: at org.gjt.sp.jedit.jEdit.newFile(jEdit.java:1572)
[error] EditBus: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[error] EditBus: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[error] EditBus: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[error] EditBus: at java.lang.reflect.Method.invoke(Method.java:585)
[error] EditBus: at bsh.Reflect.invokeOnMethod(Reflect.java:149)
[error] EditBus: at bsh.Reflect.invokeStaticMethod(Reflect.java:100)
[error] EditBus: at bsh.Name.invokeMethod(Name.java:872)
[error] EditBus: at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72)
[error] EditBus: at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
[error] EditBus: at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
[error] EditBus: at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
[error] EditBus: at bsh.BSHBlock.eval(BSHBlock.java:80)
[error] EditBus: at bsh.BshMethod.invokeImpl(BshMethod.java:349)
[error] EditBus: at bsh.BshMethod.invoke(BshMethod.java:246)
[error] EditBus: at bsh.BshMethod.invoke(BshMethod.java:171)
[error] EditBus: at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:523)
[error] EditBus: at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
[error] EditBus: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229)
[error] EditBus: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:195)
[error] EditBus: at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:297)
[error] EditBus: at org.gjt.sp.jedit.View.processKeyEvent(View.java:669)
[error] EditBus: at org.gjt.sp.jedit.Java14$MyFocusManager.postProcessKeyEvent(Java14.java:180)
[error] EditBus: at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:683)
[error] EditBus: at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:916)
[error] EditBus: at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:794)
[error] EditBus: at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:632)
[error] EditBus: at java.awt.Component.dispatchEventImpl(Component.java:3841)
[error] EditBus: at java.awt.Container.dispatchEventImpl(Container.java:2024)
[error] EditBus: at java.awt.Window.dispatchEventImpl(Window.java:1766)
[error] EditBus: at java.awt.Component.dispatchEvent(Component.java:3803)
[error] EditBus: at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
[error] EditBus: at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
[error] EditBus: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
[error] EditBus: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
[error] EditBus: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
[error] EditBus: at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
[debug] EditBus: SideKickUpdate[source=null]
[debug] EditBus: BufferUpdate[what=DIRTY_CHANGED,view=null,source=Untitled-1 (E:\0_zumloeschen\)]
[debug] GestureHandler: MOUSE_RELEASED,(194,696),button=1,modifiers=Button1,clickCount=1
[debug] WorkThread: Running in work thread: [id=33,run=org.gjt.sp.jedit.buffer.BufferIORequest[type=AUTOSAVE,buffer=Untitled-1 (E:\0_zumloeschen\)]]
[debug] ConnectionManager: Closing connection to ftp://royalbunker.de:21
[debug] FtpClient: Thread[AWT-EventQueue-0,6,main]: sending command: QUIT
[error] ConnectionManager: java.net.SocketException: Connection reset
[error] ConnectionManager: at java.net.SocketInputStream.read(SocketInputStream.java:168)
[error] ConnectionManager: at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
[error] ConnectionManager: at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
[error] ConnectionManager: at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
[error] ConnectionManager: at java.io.InputStreamReader.read(InputStreamReader.java:167)
[error] ConnectionManager: at java.io.BufferedReader.fill(BufferedReader.java:136)
[error] ConnectionManager: at java.io.BufferedReader.readLine(BufferedReader.java:299)
[error] ConnectionManager: at java.io.BufferedReader.readLine(BufferedReader.java:362)
[error] ConnectionManager: at com.fooware.net.FtpResponse.setMessage(Unknown Source)
[error] ConnectionManager: at com.fooware.net.FtpResponse.(Unknown Source)
[error] ConnectionManager: at com.fooware.net.FtpClient.setResponse(Unknown Source)
[error] ConnectionManager: at com.fooware.net.FtpClient.sendCommand(Unknown Source)
[error] ConnectionManager: at com.fooware.net.FtpClient.logout(Unknown Source)
[error] ConnectionManager: at ftp.FtpConnection.logout(Unknown Source)
[error] ConnectionManager: at ftp.ConnectionManager.closeConnection(Unknown Source)
[error] ConnectionManager: at ftp.ConnectionManager$1.actionPerformed(Unknown Source)
[error] ConnectionManager: at javax.swing.Timer.fireActionPerformed(Timer.java:271)
[error] ConnectionManager: at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
[error] ConnectionManager: at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[error] ConnectionManager: at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
[error] ConnectionManager: at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
[error] ConnectionManager: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
[error] ConnectionManager: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
[error] ConnectionManager: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
[error] ConnectionManager: at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
I have seen some other threads in this forum about this problem. I just decided to open an new thread including all my activity log.
Thanks for you help!
Bodo
keyboard shortcut to switch apps doesn't work in Win
Submitted by
cssjunkie on
Sunday, 26 September, 2004 - 23:15
Is there some trick to allow me to switch apps when I'm using jedit?
Notmally a+tab will step thru the open apps in Win, but when jedit
gets in front it won't let go. Since I switch apps constantly to test
CSS problems in different browsers, this is a major hassle. I refuse
to handle the rodent every time I need to switch away from jedit.
I sure hope there is a fix for this, because otherwise it's a great
editor.
search the variable definitions
Submitted by
yyq on
Monday, 27 September, 2004 - 06:17
I am a new user, is there a feature that can automatically list the header file which includes the highlighted variable's definition? This can make reading C programs easier.
Declaring Schema/DTD for XML files
Submitted by
Michael36 on
Monday, 27 September, 2004 - 10:53
Hello,
I'm not able to tell jEdit the location of the DTD of my XML document.
There is a system identifier within the XML file (...!DOCTYPE note SYSTEM "note.dtd"...). The DTD file resides in the same directory.
But nevertheless the XMLInsert module of jEdit does not make any proposals for allowed elements/tags at caret position since the DTD wasn't recogised at all.
Do I have to edit any catalog or configuration files? Who can help?
Greetings and thanks in advance,
Michael.
Saving Search Result
Submitted by
digitsnake on
Monday, 27 September, 2004 - 13:52
Can someone show me how to save the HyperSearch Result into a file?
Thanks.
Working directory
Submitted by Anonymous on Monday, 27 September, 2004 - 22:09
Is there a way to get the working directory to follow the current directory in the File System Browser? I looked all through the Options, the Help and this forum for any information but could not find any. Am I blind or isn't this an option?
4.2 and BufferSelector not updating tab
Submitted by Anonymous on Tuesday, 28 September, 2004 - 20:58
I just started using version 4.2 final. BufferSelector 1.0.6 (the latest) appears to be broken. My config worked perfect in 4.1.
For some reason, now BufferSelector won't update its highlighted tab when I press Ctrl+PgUp/PgDn, even though the file does switch. It just stays stuck on the last tab that happened to be active when I start the editor. Mouse clicking a tab works.
I've seen this on both Linux and Windows. And I see it with many combinations of plugins installed, including no extra ones.
Any ideas?
VFS and HTTP based protocols
Submitted by Anonymous on Wednesday, 29 September, 2004 - 06:13
Hi,
I have recently done some work on the DAV plugin.
One of the issues that came up was the use of VFS for http based protocols.
If I register my protocol as http, then jEdit tries to use my plugin to access
any files with a http URL. Of course http urls could be stored on a standard
Web server or on a webdav server or on a soap server etc etc etc.
To get around this, I registered my protocol as webdav. The plugin converts this to http
when it acceses the server. (In jEdit, I specify webdav://myhost/mycollection).
However, this causes its own problems. If I download an XML file from the Weddav server
and this file references a style sheet or schema with a http url, jEdit cannot download
these referenced files. If I modify the references to webdav URLs that stuffs up other
software.
It appears to me the the VFS interface is not flexible enough to handle http based protocols.
Is there any way around this?
AutoFormat ?
Submitted by
theWax on
Wednesday, 29 September, 2004 - 08:56
i have a very messy .js file.
How can I autoformat it now within jEdit?
Cheers.
jan
Plugin Bundle (Nightly?/Other?)
Submitted by
dogleg on
Wednesday, 29 September, 2004 - 14:46
Is there an aggregate file containing the Plugin Central plugins as a single file download?
Could really use a plugin aggregate file with all the prerequisites.
Any periodic (nightly) frequency for creating the bundle would do.
I'm working offline/wireless on a machine and do not have high speed lazy load capability per plugin.
Same settings and plugins for all users?
Submitted by
cyther on
Wednesday, 29 September, 2004 - 17:37
Hi!
How to set up jEdit so that all users (on Linux) use the same settings, plugins etc?
Sorry if it a FAQ (I didn't find any clue in the Help or FAQ).
Thanx
Cyther
Open With Jedit in context menu didn't work - problem solved
Submitted by Anonymous on Wednesday, 29 September, 2004 - 17:41
After deinstalling a pre-Version and installing the final version of Jedit4.2 the Open With Jedit in context menu didn't work anymore.
Changing the following Registry-key (Win Xp) solved the problem:
HKEY_LOCAL_MASCHINE\SOFTWARE\Classes\*\Shell\Open with JEdit\command
"c:\j2sdk1.4.2\bin\javaw.exe" -jar "C:\Programme\jEdit\jedit.jar" -reuseview "%1"
to simply
javaw.exe -jar "C:\Programme\jEdit\jedit.jar" -reuseview "%1"
(as javaw is in my path anyway)
OpenGL Accelerated Java2d with jedit
Submitted by Anonymous on Thursday, 30 September, 2004 - 11:33
Hi,
Has anyone managed to get an improvement with the jdk1.5 with opengl acceleration on linux or windows ?
I don't see any speed increase when I run jedit with "java -Dsun.java2d.opengl=true" on my linux box.
PS. Is there a known way to understand if opengl acceleration is being used or not ?
Thanks.
Bookmarks and changed buffers
Submitted by Anonymous on Friday, 1 October, 2004 - 15:10
Hello everybody,
I love the bookmarks. They are perfect when working with long files. But the setting of a bookmark changes the status of the buffer to CHANGED. I thing it's a little bit confusing. Is it necessary? I hope it isn't.
Petr
Java error with OS X
Submitted by Anonymous on Saturday, 2 October, 2004 - 19:23
Hi,
I installed jEdit on my Mac running OS X (10.2.6). When I launch jEdit, I get an error message that says, "Mac OS plugin requires newer version of Java (MRJ 99)." I have the very latest update of Java from Apple installed on my computer, though, so I don't know why it says that. Any help would be greatly appreciated.
Thank you,
Sally
antialiasing GUI
Submitted by Anonymous on Sunday, 3 October, 2004 - 03:52
I just learned that Java v1.5 has a command line switch to force font antialiasing :
-Dswing.aatext=true
I tried it with jEdit 4.2 final on Win2K and it works!