File cant be saved ,Renaming Filed (java.io.IOException Error)
  Submitted by 
jenith on 
Monday, 10 April, 2006 - 13:12
Hai,
Iam using jedit to edit my Apache VM file which they reside in remote server.
Sometimes when i try to save the file it cant be saved
Error Message 
-------------
Rename failed.IO Opeartion can be done at a time only one buffer(file)
then java.io.IOEception is thrown.
Why it occurs ?
Will anyone help me for this issue?
Iam using windows 2000,Java version is 1.4.2.1
  
 
  
  
  highlight and syntax to texteditor!!
  Submitted by 
chovo on 
Friday, 7 April, 2006 - 10:46
Anyone have any good ideas to start with a syntax 
highlighting funktion for a texteditor?
Thanks for any replies 
 
    
  Problems with java compiler
  
  
  
I've been using NetBeans and I'm really sick of it. I want to try something different, and I really like using JEdit for all my other stuff. I've got the hang of Java, but Netbeans does most of the compiling and stuff for you. I cant get the compiler to work for me at all. This is the error I keep getting....
java.lang.NoSuchMethodError: console.Console.setShell(Lconsole/Shell;)V
	at jcompiler.JCompilerPlugin.executeCommand(JCompilerPlugin.java:106)
	at jcompiler.JCompilerPlugin.compileFile(JCompilerPlugin.java:120)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	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.jEdit$3.invokeAction(jEdit.java:2910)
	at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:216)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5253)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
If anyone would be able to help me, I would really appreciate it.
Thanks.
  
 
  
  
  key press
  Submitted by 
chovo on 
Thursday, 6 April, 2006 - 12:40
Hey!
im writing a project and i cant get it to work!
im doing a text editor and i want to check if any key is pressed in the jtextarea, if so when i try to close it should ask if i want to save or not, otherwise just close. 
i want to use a boolean after checking
  
 
  
  
  Do JIndex plugin work on JEdit 4.3 or 4.2?
  Submitted by 
nicarran on 
Thursday, 6 April, 2006 - 05:59
Hello. JIndex 1.1 does not work on my JEdit 4.3pre2 of 4.2. When I configure it, the index construction takes (I think) too little time and when I try to look for documentation I receive an ArrayIndexOutOfBoundsException. Is this a JIndex bug or what... Do you have successfully configured it on any of these JEdit versions?
Thanks for your help.
  
 
  
  
  LatexTools: Bibtex Navigator doesn't show contents
  Submitted by 
Fredo on 
Wednesday, 5 April, 2006 - 14:37
Hi!
When I browse a bibtex database with the bibtex navigator, only the "Ref" field is shown. The other columns (Title, Author, Journal) remain empty. I tested this also with the test.bib from tetex, but it is the same there.
I am using jEdit 4.2 with LatexTools 0.5.2 on Ubuntu Linux (Sun SDK 1.5).
I hope anyone can help me with that, I'd really like to use jEdit for texing.
Regards,
Frederik
  
 
  
  
  stingy regular expression matching
  Submitted by 
kellner on 
Monday, 3 April, 2006 - 20:18
Hi, 
I'm trying to clean up a document that was automatically converted to LaTeX. The document contains strings like these: 
"(\textit{sahaprat}\textit{ī}\textit{tiniyama}). [Reply:] Not even for the piece of ground and the pot is it like this! However, the fact that, if both exist, there is no restriction of the cognition to [only] one image (\textit{ekar}\textit{ū}\textit{papratī}\textit{tiniyamaviraha}),"
(never mind the meaning 

)
The idea is to get rid of all the unnecessary instances of \textit{}. So I thought to search for instances of \textit{} that immediately follow one another.
I entered this in the (regexp) search box: \\textit\{(.*?)\}\\textit\{(.*?)\}
and tried replacing it with: \\textit\{$1$2\}
The problem is that the stingy operator ("?") is not stingy enough: apparently the search function looks forward for the second instance of italicization *somewhere* in the document; it doesn't look for instances of *contiguous* italics. 
Thus, the regexp also finds: 
\textit{some italicized stuff} Oh and here is lots of writing in between! This should not be part of what is found, but it is! \textit{next italicized stuff}. 
Somehow I can't bring myself to believe that this is how the regexp should be understood. Or am I barking up the wrong tree? 
I also tried a positive lookahead \\textit\{(.*?)\}(?=\\textit\{(.*?)\}), but this produced the same unwanted results. 
Any advice would be greatly appreciated, 
Thanks in advance, 
best regards,
  
  
  linux jedit & java help!!
  Submitted by 
tflex on 
Wednesday, 29 March, 2006 - 23:24
Hi,
I am using Ubuntu Linux (Latest Stable Core). I installed java software development kit from sun and now it is time to configure jedit. I got all the plugins needed for developing java applications and it seems to be working fine as well. Everything compiles fine but doesn't run fine. If I make helloWorld application in java using jedit, that works fine and displays the correct result but if I try to use joptionpane like JOptionPane.showMessageDialog (null, "Hello World!"); then I get following error message in jedit console screen. Also the code I used has no errors (It has been compiled before in windows).
** ERROR **: file ../../../src/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: line 572 (createRawData): assertion failed: (data_fid != 0)
aborting...
Process java exited with code 134
I'm unable to find out why this happens as I'm new to linux. Please any help appreciated.
N.B: Sorry for double posting, but this post belongs to troubleshooting.
  
 
  
  
  Cannot type in save dialog
  Submitted by 
scaRFhogg on 
Wednesday, 15 March, 2006 - 21:36
Sometimes i cannot type in the "File name" field of the save or save as dialog. Selecting text in the field with the mouse does work. But the input field acts as if it was in "read only" mode. Jedit does not give any error message/exception. Also nothing in the activity log. Restarting jedit usually fixes the problem for the next few saves. This is very annoying.
I'm running jedit 4.3pre3 with java jre 1.5.0_05 on kubuntu breezy badger. 
Any suggestions on how to fix this problem appreciated.
Thank you.
  
 
  
  
  ConsolePlugin: marks errors on the wrong line (when compiling or running make)
  Submitted by 
DanielKabs on 
Monday, 13 March, 2006 - 11:46
I recently installed JEdit 4.3pre3 and of course the important 
ConsolePlugin. Together with ErrorListPlugin, compiling my C/C++ programs works like a charm. Except for one point: sometimes when running 
make console marks the wrong lines.
E.g. the output looks like:
mkformular.c: In function `add_elementlist':
mkformular.c:994: warning: int format, long unsigned int arg (arg 4)
mkformular.c:994: warning: int format, long int arg (arg 5)
mkformular.c:1007: warning: int format, long int arg (arg 4)
Updating version number in version.c
Compiler Run #2343
Consequently, ErrorListPlugin only mentions two of these three warnings. I don't know whether ErrorList has a problem as with having multiple warnings occuring on the same line.
Anyway, if I paste this output into the Test Area on 
Plugin Options > Console > Error Patterns pane of the
Generic error pattern it correctly extracts and displays all three warnings.
My problem now is:
- Why does the test show ok, but the real output not?
- Why does error parsing not work at all when I copy the above text to a file an then run cat file on the console?
Cheers
  Daniel
from Germany
  
  
  OS-X "open" command suddenly stopped working with jEdit
  Submitted by 
patb on 
Tuesday, 7 March, 2006 - 14:31
Help please!  I've enjoyed using jEdit under OS-X but I suddently cannot open files from the command line and I don't know how to troubleshoot this.
For months I've been using this csh alias to open files in jEdit from the command line:
je:      aliased to open -a ~/Applications/jEdit\ 4.2/jEdit.app !*        
For example:
csh:  je junk.txt                          
This suddenly stopped working.  jEdit will start but will not load the specified file.  Of course our system adminstrator installs software updates from Apple all the time, but I can't tell whether this is a failure of Apple's "open" command or a failure of jEdit.  Has anyone else seen this problem?
If I explicitly run the jEdit executable like this:
 ~/Applications/jEdit\ 4.2/jEdit.app/Contents/MacOS/JavaApplicationStub junk.txt
then it mistakenly starts a NEW file named junk.txt in the jEdit install directory.
Only if I give the full path to the existing file will it open it:
 ~/Applications/jEdit\ 4.2/jEdit.app/Contents/MacOS/JavaApplicationStub ~/junk.txt
Any help is much appreciated.
Patrick Broos
Astronomy Department
Penn State University
  
 
  
  
  History file no longer updated but other settings files are
  Submitted by 
John Jameson on 
Saturday, 4 March, 2006 - 16:49
File ~/.jedit/history is no longer being updated between sessions, though it is still read at startup.
Permissions are OK, and other settings files (eg activity.log) _are_ being updated OK.
Any advice/suggestions appreciated!
Version: 4.2final, MacOSX 10.4.5, java 1.4.2_09
Plugins:
BufferTabs.jar
Clipper.jar
CodeBrowser.jar
ColumnRuler.jar
CommonControls.jar
Console.jar
CssEditor.jar
CssValidator.jar
ErrorList.jar
FTP.jar
JCounter.jar
JDiffPlugin.jar
JakartaCommons.jar
Jump.jar
PHPParser.jar
ProjectViewer.jar
RETest.jar
SideKick.jar
TaskList.jar
TextFilter.jar
WhiteSpace.jar
XML.jar
XSLT.jar
XmlIndenter.jar
bcel.jar
commons-codec-1.3.jar
commons-collections.jar
commons-httpclient-2.0.1.jar
commons-lang-2.0.jar
commons-logging.jar
htmlparser.jar
j2ssh-common.jar
j2ssh-core.jar
jEditCvs.jar
kappalayout.jar
log4j.jar
xalan.jar
xercesImpl.jar
xml-commons-resolver.jar
xmlParserAPIs.jar
xmlrpc-2.0.1.jar
  
 
  
  
  Archive/JavaInsight under jEdit 4.3pre3
  Submitted by 
webengr on 
Wednesday, 15 February, 2006 - 18:47
Greetings,
I am a longtime jEdit fan, and I recently decided to move from 4.2 to 4.3pre3.  Today I needed to look at some Java code that I did not have the source files for, and found that it would not work.  I used the "Archive" plugin to browse a jar file, and "JavaInsight" to do a jode-decompile.  This latter operation errored out.  I had prviously updated all of the plugins that needed to be upgraded, but Archive and JavaInsight were not on the list.  Details are included below.  Thanks!
Phil Shanks
System info: 
IBM Thinkpad T41, 1G RAM; Windows 2000SP4; Sun Microsystems Java JDK 1.5.0_06
Stack trace:
Error in method invocation: Static method handleBrowserAction( org.gjt.sp.jedit.View, [Lorg.gjt.sp.jedit.io.VFSFile;, java.lang.String ) not found in class'javainsight.ByteCodeVFS' : at Line: 4 : in file: inline evaluation of: ``__internal_action_vfs_jode(ns) { this.callstack.set(0,ns);  			javainsight.ByteC . . . '' : javainsight .ByteCodeVFS .handleBrowserAction ( view , files , javainsight .JodeVFS .PROTOCOL ) 
	at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:76)
	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:507)
	at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
	at org.gjt.sp.jedit.browser.VFSBrowser$BrowserActionContext.invokeAction(VFSBrowser.java:1677)
	at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:216)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5253)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
  
 
  
  
  FTP Plugin - keep-alive support
  Submitted by 
uzo on 
Tuesday, 14 February, 2006 - 07:14
is there some way to set the plugin to keep the connection alive (sending NOOP)? i couldnt find it. does some later version support this (using 4.2stable)?
thnx
  
 
  
  
  I cannot use LookAndFeel
  Submitted by 
Stun on 
Friday, 10 February, 2006 - 02:35
I use jEdit 4.3 pre3 Version. But I cannot use plugin that LookAndFeel.
Plz help me!
--Error Code--
Cannot start java.lang.UnsupportedClassVersionError: lookandfeel/LookAndFeelPlugin (Unsupported major.minor version 49.0)
Try updating to a newer version of the plugin.
--My SDK Spec--
J2SDK 5.0
  
 
  
  
  Encoding in jEdit Console (way to change it?)
  
  
  
Hi,
This is my first post here, but I'm a long time jEdit user. What a great piece of software! Thanks to its many authors and contributers 
 
The problem:
When I use the Console in System mode to execute commands, the output of these commands has its accents and other extended characters replaced by squares. I'm under Windows XP Pro, French. The output of the commands is in french.
Under "standard" dos box in WinXP, I sometimes have to change the codepage to 1252 ("Windows" Latin 1) or UTF-8 (cp 65001) and choose the correct font to get readable output.
But changing the codepage under the jEdit console is useless, since it is done by the chcp command, and every Console command is executed in its own "shell", so any previous codepage change is not reflected on subsequent commands.
It seems the default encoding for the executed commands is 850, but that doesn't match the display in the jEdit Console (is it UTF-8 ?).
Is there a way to change the encoding of the Console ?
Or am I wrong about the cause of this problem? Is there a solution?
Thanks.
Ced
  
  
  Xlib connection refused by server/jedit won't start
  Submitted by 
sunking on 
Thursday, 2 February, 2006 - 20:39
I instaled jedit using the Slackware package,install went fine,
but when I type jedit in xterm I get: Xlib connection error plus others.
Xlib no protocol specified
Using Slack 10.2
jdk-1_5_0_06
I also did a local install in my home folder using the defualt jedit4.2 installer.
that runs fine using java -jar jedit.jar, but it's a real pain to 'cd' into my 
home folder to run.
  
 
  
  
  javac not found
  Submitted by 
kiz78 on 
Tuesday, 31 January, 2006 - 18:16
I get the error message below from the console when I try to compile a buffer. I can't find a way of telling jEdit where javac is! I'm sure it's very funny if you know where but please help I've wasted hours looking on the forums for advice. Plugins > Console > Commando... Doesn't have a drop down list as descibed in one forum answer I read.
I have jEdit 4.2final and jdk 1.5.0 update 2 
I can't believe I can't just tell jEdit where to find javac wherever it may be in my filing system. Help, please!
List->Error List'
window.
C:\Program Files\jEdit 4.2> 
C:\Program Files\jEdit 4.2> javac -classpath "$CLASSPATH;C:\Program Files\Java\projects" -sourcepath "C:\Program Files\Java\projects" -nowarn -encoding Cp1252 "C:\Program Files\Java\projects\CalcApplication2.java"
Error while running process: java.lang.Exception: Command not found: javac
C:\Program Files\jEdit 4.2>
  
 
  
  
  OS X 10.4 + Java5 + jEdit with proper menus
  Submitted by 
squindler on 
Monday, 30 January, 2006 - 23:19
Apologies is this has been answered elsewhere - googling and searching this site I'm yet to find a solution.
Is it possible to get jEdit to have its menus in the OS X menu bar in OS X 10.4 using Java5 with the universtal installer of jEdit - ie so I can run pre builds etc ... I've tried using the jEdit.app launcher from 4.2 final, also tried the jEditMenuFixer.app.
Anyone been able to get this to work?
  
 
  
  
  Highlighter-plugin is always enabled at startup
  
  
  
Hi all,
I want the highlighter-plugin to be disabled after jEdit's startup because it slow's down jEdit.
Unfortunately the plugin doesn't remembers it's On/Off-status. That's why I took the following macro in the startup directory to disable highlighter:
gatchan.highlight.HighlightPlugin.disableHighlights();
Log.log(Log.MESSAGE,scriptPath,"Startup_2.bsh: Highlighter disabled");
The macro seems to do it's work at startup (no error, a message in activity.log), but when jEdit is started completely, the highlighter is enabled!
What to do?
Robert