Run Java Programs using Native OS (WinXP) Command Prompt
Submitted by
frankiechayc on
Wednesday, 1 September, 2004 - 03:49
I have many Java programs that read keyboard input from the command line. The Jedit Console plugin currently does not support reading input from keyboard. So I can't run such programs in Console.
I am trying to write a macro which will run the Java program from the buffer using the native OS shell so that the program can accept keyboard input from users. Help or advice appreciated. Thanks
License of Mode Files ?
Submitted by
llothar on
Wednesday, 1 September, 2004 - 06:25
Hello, under what license are the mode files ?
I want to use them in another editor. Is this okay ?
What's about only using the "wisdom" in this files ?
CharacterMap plug-in problem
Submitted by
bibiko on
Wednesday, 1 September, 2004 - 10:20
dear all,
I have a big problem with the characterMap plug-in.
I tried to insert unicode characters of block CJK (Chinese,etc) but I cannot choose this block because the the combo-box is visible but not active.
I tried it with version 1.1 and 1.2, on a PC (WinXP prof) jre 1.4.2_03, on a Mac (OSX 4.3) jre 1.4.2-38 with jEdit 4.2pre14 and final. Always the same.
My global coding is UTF8 and I tried some unicode fonts.
I can remember me that with an earlier version of jEdit the CharacterMap worked very fine.
Have anybody a solution?
Thanks in advance
bibiko
Command line option to open file as readonly
Submitted by
scottjp on
Wednesday, 1 September, 2004 - 20:59
I would like to be able to open a file as readonly via a command line. I use the editor to load different reference files that I do not want to accidently change (e.g. phone listing). A command line option also enables me to define an icon for each reference file. An indicator of the readonly status in the status bar would be helpful.
I know I can create a script that will set the file readonly once I have it open, but I'd rather not have to remember to run the script each time I open the file.
Setting the properties for the file at the OS level is not an option.
Number of pages in print footer
Submitted by
scottjp on
Wednesday, 1 September, 2004 - 21:01
I'd like to be able to configure the print footer such that it will display the total number of pages in the file (e.g. Page 1 of 100).
pb with final 4.2 on XP with jre 1.5 RC on xml indenter plugin
Submitted by Anonymous on Thursday, 2 September, 2004 - 16:33
java.lang.NullPointerException
at java.text.MessageFormat.applyPattern(Unknown Source)
at java.text.MessageFormat.(Unknown Source)
at java.text.MessageFormat.format(Unknown Source)
at xmlindenter.XmlIndenterPlugin.processException(XmlIndenterPlugin.java:66)
at xmlindenter.XmlIndenterPlugin.indentXml(XmlIndenterPlugin.java:116)
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.jEdit$3.invokeAction(jEdit.java:2910)
at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:216)
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)
Serious bug with jedit 4.2 and FTP plugin on JDK 5.0
Submitted by Anonymous on Friday, 3 September, 2004 - 02:00
Hi,
I have noticed a rather serious bug when using the FTP plugin in jedit 4.2 with JDK 5.0 (both beta 2 and RC1). When I open a ftp folder and choose a file from an ftp site to open in jedit and then modify and save it, the hard drive makes a click sound and turns off, the computer immediately reboots, and when it reboots the hard drive turns back on. I've never experienced this problem with any other program, so I'm wondering what may be the problem here. On some files if I press save it doesnt reboot, but with most files, upon saving the remote file, it reboots immediately. I wonder whether this is a problem with the FTP plugin, jedit, or JDK 5.0?
any help is GREATLY appreciated.
thanks.
Do not complete words in commented texts
Submitted by Anonymous on Friday, 3 September, 2004 - 07:22
It would be nice (in a code editor environment) to have the option that the complete command (C-b) does not consider the words inside comments (as defined for example in the mode XML file or by the highlight features).
Ensuring a single instance
Submitted by
takisd on
Saturday, 4 September, 2004 - 04:36
Hi
i just upgraded to 4.2 and have noticed that opening a file opens a new jedit instance. this never occurred in 4.1 - or i set something for it to keep the same window. either way, i can't figure out how to get it to use one instance only. the second window always has the same list of documents opened previously and adds the new one. i open docs mainly from the nautilus browser with the open with popup command on a file.
i only noticed this since 4.2.
i'm using debian unstable. i installed jedit using the java installer.
any suggestions on how to stop this behaviour would be greatly appreciated.
Thanks
Takis
[bug]Comments not shown in other downloads (..?q=filestore/...)
Submitted by
venimus on
Saturday, 4 September, 2004 - 05:40
"# comments/view comments" and "Read more" are not displayed at filestore section. I noticed this in Edit Modes section when it is called from Other Downloads. They appear if one clicks on "Edit Modes" link near the title of a posted issue. That link open the site with ?q=taxonomy/.. (rather than ?q=filestore/..) where everything works ok.
As far as i can remember, all worked ok in the beginning of the year.
No second password dialog after login error
Submitted by Anonymous on Sunday, 5 September, 2004 - 09:43
Hi
It's more about usability but it's important.
If you select an FTP path from you favorites or from the history, there will apear a dialog box where you can enter your password. If the entered password is wrong you get a stupid error message, and the FileBrowser shows the path into an empty directory... If you like to try it again, you can't use the history/favorites anymore, you have to select FTP->Connect and enter de Servername Username and Password. After that you can use your favorites entry again...
If there is a Login'Exception' the FTP Plugin should reset the FileBrowser-Path to the last directory and kill the FTP Object (or what the hell you exactly use), this way if I select the history entry again, I get the Passwortdialog pressented agian..
greats Jonas
Projectviewer
Submitted by Anonymous on Sunday, 5 September, 2004 - 13:08
I have the projectviewer plugin installed with jedit 4.2final, but now projectview seems to exist.
What do I have to do to get the projectview?
Thank you
Mat
How to activate the line or marking of the block of code within { ... } ?
Submitted by Anonymous on Sunday, 5 September, 2004 - 14:09
I have seen in some of the 'screenshots' in that the code enclosed in { } is marked by a vertical line drawing from '{' to '}'. I have searched in the global options but couldnt find a way to activate it.
Thanx in advance for your advice
No synchronized scrolling ??? why ?
Submitted by
Rockem on
Sunday, 5 September, 2004 - 17:10
Why on earth did you left it outside ?
use special keys for macro execution
Submitted by
bjoern_jedit on
Monday, 6 September, 2004 - 14:00
Hi, it might sound a little crazy (although I have
serious applications in mind) but I need to
get jedit to make a backslash when typing
the following two keys at the same time:
Left-Windows-special-key german-umlaut
I managed to get a backslash when typing
A+n for example. However the windows special
key seems not do work for that nor do the
german special keys.
I would really appreciate any suggestions !
RegEx: look-behind-Assertions are buggy
Submitted by Anonymous on Tuesday, 7 September, 2004 - 00:49
When i search the word "foobar" for
foo(?=bar)
jEdit delivers "foo" as a result, which is right.
However, when I search for (?<=foo)bar, i get the following error Message, although i'm pretty sure my RegEx is OK so far.
gnu.regexp.REException: At position 1 in regular expression pattern:
quantifier (?*+{}) without preceding token
at gnu.regexp.RE.initialize(RE.java:509)
at gnu.regexp.RE.(RE.java:269)
at gnu.regexp.RE.(RE.java:254)
at org.gjt.sp.jedit.search.RESearchMatcher.(RESearchMatcher.java:57)
at org.gjt.sp.jedit.search.SearchAndReplace.getSearchMatcher(SearchAndReplace.java:293)
at org.gjt.sp.jedit.search.SearchAndReplace.find(SearchAndReplace.java:446)
at org.gjt.sp.jedit.search.SearchDialog.ok(SearchDialog.java:199)
at org.gjt.sp.jedit.search.SearchDialog$ButtonActionHandler.actionPerformed(SearchDialog.java:936)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.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)
why do the docks always open?
Submitted by Anonymous on Tuesday, 7 September, 2004 - 02:03
i have a shortcut key (f4) set to run an AntHelper task. i also have AntFarm docked on the left and Console and ErrorList docked on the bottom. if i have all docked windows closed and push the f4, the AntFarm and Console popup open.
is there some way to suppress this?
There is abolutely no reason for the left dock to open. I have to close it everytime at the cost of extra mouse work. And I would actually only like to see ErrorList if there are errors. Otherwise, nothing should come up in the bottom dock either. (However, if the Console must open, i can live with that, probably.)
Thanks for any and all help!!!
XSearch options in 4.2final don't appear in search box
Submitted by
Andre on
Wednesday, 8 September, 2004 - 06:57
The additional check boxes (e.g. word part search) don't appear in the search box despite all options being selected in the Options:Plugin:XSearch box. The search box is the standard one, working fine but without the extensions.
My system: jEdit 4.2final, Win XP pro, JRE standard edition 1.4.2_03
Thanks for help.
Note: jEdit and the plugins are great tools and a pleasure to use. Thanks.
Andre
How to associate files with jEdit ?
Submitted by
lasterix on
Wednesday, 8 September, 2004 - 08:09
Hi,
I 'd like to know how to associate ".txt" or others, files with jEdit (I want to open the file with jEdit when I double clic on it).
Thanks.
How should I view java applets
Submitted by Anonymous on Wednesday, 8 September, 2004 - 11:20
This is probably dead easy but, is there a simple way to view java applets from within jEdit? At the moment I leave jEdit open a Command Prompt window and use appletviewer or I run the html document.