jEdit Community - Resources for users of the jEdit Text Editor
Archives
Windows 7 64bit, Java 1.6.0_16 64bit Server VM - jedit4.3pre17install.exe unable to locate VM
Submitted by jakbal on Wednesday, 28 October, 2009 - 17:17
Hello All -

First let me start off by stating that jEdit is fantastic tool, and that I use it religiously every day. I recently upgraded (installed rather, dunno if its an upgrade yet) to Windows 7 on my DELL XPS laptop and I'm having problems installing jEdit.

Java Version:

C:\Users\alex>java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)

JAVA_HOME Definition:

C:\Users\alex>set JAVA_HOME
JAVA_HOME=C:\java\jdk1.6.0_16

JRE_HOME Definition:

C:\Users\alex>set JRE_HOME
JRE_HOME=C:\java\jdk1.6.0_16\jre

PATH Definition:

C:\Users\alex>set PATH
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\java\jdk1.6.0_16\bin;

When I run the jedit4.3pre17install.exe I first get the Windows 7 box asking me if I want to allow this .exe to modify my system, and I say yes. I then get the jEdit language selector for the installer, and this also works fine (I can select languages, etc). Then I choose to continue and I get this error message:

"Setup was unable to find an installed Java Runtime Environment or Java Development Kit of version 1.4 or higher.
You must have installed at least the JDK or JRE 1.4 to continue setup.
Please install one from http://java.sun.com and restart setup."

Advice?
Jedit.org Estimated Worth $14.9 Thousand USD
Submitted by arunchatterjee98 on Wednesday, 28 October, 2009 - 18:20
Jedit.org Estimated Worth $14.9 Thousand USD


Description A cross platform programmer's text editor written in Java that is customizable with plugins. [Requires Java VM]
Daily Pageview 13,845
Daily Ads Revenue $20.39
Traffic Rank 79450(Alexa World Rank)
Page Rank (Goolge Page Rank)

check it out here http://thenetinfo.com/stats/jedit.org
Plugin color control
Submitted by nfgf on Wednesday, 28 October, 2009 - 19:39
Hello, folks.

I am new to jEdit and must say that I am still experiencing it and, by the way,
loving it a lot. It has all that I wanted from a text editor and two extra
important features: it has a good scripting language and runs on Windows and
Linux, so I can use the same software at both systems.

I have defined my color preferences and installed all the plugins I think are
important to me. My current configuration uses black as the editing panel
background color, but I failed to find a way to control the plugin colors so I
could have a homogenous environment. I can see that the jEdit screenshots page
shows many plugins with different background colors so I guess that I can configure
the plugin colors somehow.

Does anybody know how to control the plugin appearance?

Thank you in advance.
NetRexxScript plugin
Submitted by kermit on Sunday, 1 November, 2009 - 22:31
Newbie plugin developer here. I have a new plugin ready for beta testing. It adds support for NetRexx macros/scripts in jEdit. (Before anyone mentions the SuperScript plugin - yes I know about it and [A] it doesn't work, [B] BSF 2.x NetRexx support is slower than molasses, [C] it has no real features for practical use, [d] and did I mention that it doesn't work? Eye-wink

Should I upload it here first since it may not be production quality yet and I am not really sure it is in the right format for Plugin Central? Can anyone check it out and give pointers on the next steps? I will try to do the submit process to sourceforge also when I get time.

By the way, even if you don't want to learn anything about NetRexx, this plugin supports compiled Java classes as jEdit macros also so it may have a wider appeal. Anyway here is the announcment that I posted to the NetRexx mailing list:

The NetRexxScript plugin for jEdit is now feature complete and ready for beta testing.

Here are the main features:

* Efficient execution of NetRexx scripts and macros in jEdit
* Optional caching of parsed scripts to improve performance
* Option to "preparse" all available scripts as a unit for performance (aka "greased lightning mode") and cross-script access support
* Option to suppress or allow trace output
* Options to execute a currently open NetRexx file including unsaved changes
* Optional dockable console window with command line to run scripts with parms and view say output or respond to ask input
* View say output with or without trace from the console window to aid debugging
* Option to "prefix" scripts automatically adds access to jEdit functions and variables
* Script parse errors are automatically highlighted in script source files and listed in the "Error List" as well as displayed in a console window
* User defined "classpath" option for making classes available to NetRexx scripts
* User defined "scriptpath" option for access to scripts outside of jEdit macro libraries
* Support for executing compiled NetRexx scripts or any "main" type Java class file as a macro or console command
* Includes an updated version of the "NetRexx at Once" cross reference guide to Java and NetRexx

Here are the distributions:

Binaries -

http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0-bin.zip
http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0-bin.tgz

Binary plus source -

http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0.zip
http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0.tgz

Help document:

http://kermitkiser.com/NetRexx/Script/NetRexxScript.html

To install, download and unzip a distribution file, copy NetRexxScript.jar and NetRexxC.jar to your jEdit profile "jars" directory, then restart jEdit. The jars directory is probably "C:\Documents and Settings\username\.jedit\jars" on Windows or "/home/username/.jedit/jars" on Linux.

To verify the install, select Plugins => NetRexxScript => NetRexxScript to open the console window, dock it at top or bottom, then select Macros => NetRexx to run the included sample scripts or just type some NetRexx in a new edit window and click the "Run current" button in the console.

Please let me know if there are any problems.

-- Kermit
maya editor and 2009
Submitted by tokage on Monday, 2 November, 2009 - 10:33
I fallowed all the steps for getting it to work and it does for maya 2008 but when I try it with 09 it just lags for about 1.2 sec and then nothing. Any one have a idea as to why? I have tried changing the port and it had no effect.
Commando File For Ruby Processing (rp5.xml v0.15 by monkstone)
Submitted by monkstone on Thursday, 5 November, 2009 - 10:48
A commando file that allows you to use the current buffer to run the applet, watch the applet (allows live editing via 'watch'), or export it as either an app (via a combo-box chooser). You can also choose to create a new ruby processing sketch, to edit. However as yet you need to use the file manager to open the newly created sketch in the editor, so its not useful. Live edit via 'watch' updates the sketch on save. Just removed the 'rp5 live' option it never worked from jEdit. Modified to cope with crappy paths with spaces, as like windoes do. Default is now to run with system jruby, to use jruby-complete radio-button select that option. New 'version' option available fom ruby-processing-2.5.0 reports version, processing root and whether jruby-complete has been installed,
Pass selection to external tool
Submitted by oh on Friday, 6 November, 2009 - 10:21
Preamble:

I just switched from Vista to Ubuntu. Have to set up a new tool chain. Discovered jEdit - fantastic. Thanks for all the hard work.

I have used Programmers Notepad or Textpad for many years. There I set up external tools to run on certain key presses. I assume that this is done using the Console plugin. So I downloaded the latest console plugin to go with the latest jEdit.

And now the question:

In Programmers Notepad there was a check box: Pass my selection to the external program using standard input. And: Replace selection with output from external tool. These functions would give me a quick way to filter a few lines of text through an external script. Is there an equivalent to this in jEdit?

Could you please point me in the right direction?
Creating new key words (SQL)
Submitted by rdtindsm on Sunday, 8 November, 2009 - 18:43
Have been using Jedit for an SQL class, particularly because of the "capitalize key words" macro, which is SOP in the SQL community. There seem to be some that aren't included, 'minus' in particular. I'm not an SQL guru, but am told that different implementations can have different keywords, so the ability to modify this list would be very useful, as it was the last time I used an editor with the capability.

The home page suggests that I can add (or create) my own. Looked in users guide, FAQ, et.al, and can't find any references that tell me how to do this. Can I change colors too?
FTP Plugin Timeout value
Submitted by imgod2u on Monday, 9 November, 2009 - 02:38
The sites I'm connecting to remotely have a pretty long authentication time for some reason. This makes it such that re-connecting after a connection has timed out painful. I've looked and there doesn't seem to currently be a way to do this but it'd be nice if you could manually set the timeout value and possibly set it to never.

It'd also be nice for a "keep connection alive" feature for servers that have a timeout built-in.
Javadoc Commenter (Write_Javadoc_Comment.bsh v1.0 by Damien Radtke)
Submitted by kog on Monday, 9 November, 2009 - 16:42
This is a Java macro that writes Javadoc comments for you. It searches upwards from the cursor for a "public", "protected", or "private" keyword, requests input via a series of input boxes, and when you're finished inserts a new Javadoc-formatted comment in the correct position.
Vim-Style Left and Right (vim-movement.zip v1.0 by Damien Radtke)
Submitted by kog on Monday, 9 November, 2009 - 18:41
These two macros are intended to replace jEdit's default "Go To Next Character" and "Go To Previous Character" actions. When used, pressing left or right will never move the cursor up or down. Normally, if left is pressed at the beginning of a line, the cursor moves up a line, and when pressing right at the end of a line, it goes down one. With these macros, in both cases, the cursor stays where it is.
How with jEdit edit String in java program?
Submitted by programania on Wednesday, 11 November, 2009 - 17:22
How with jEdit edit String in java program?

Something of a type:
String s =jEdit.???????????? (" for (i=0; i < 10;) \n {\n i ++; \n} ");
Call "Complete Word" automatically after Nth letter?
Submitted by DVV on Wednesday, 11 November, 2009 - 17:40
I believe such question was asked before, but I could not find the answer, sorry.
How can I make jEdit to call/execute its built-in function "Complete Word" for every word after I type, for example, 3 first characters of the word? You see, typing Ctrl+B for each word is tiresome, why don't jEdit itself "call" this function after Nth first letters of word have been typed?

P.S.
I've tried the TextAutocomplete plugin, but it seems to be not what I need. All I need is the standard functionality of Ctrl+B but without Ctrl+B typed manually.
Amazing editor, by the way!
perl highlight
Submitted by Andrey Zloy on Thursday, 12 November, 2009 - 15:44
jedit incorrect highlight this perl code
sub GetObjectByType {     my $self=shift;     my $type=shift;     my $name=shift;     my $search_href={type=>$type};     if ($name){       $search_href->{name}=$name;     }     my $attr_href={rows=>1,order_by=>\'version DESC'};     if (!($ENV{IS_ADMIN})){       $search_href->{synced}=1;       my $obj_version=$self->obj_version;       if (!($obj_version)){         $obj_version='0';       }       $search_href->{version}={'<=',$obj_version};     }     return [$self->objs->search($search_href,$attr_href)->all]->[0]; }
Thunderbird crashes
Submitted by oh on Thursday, 12 November, 2009 - 17:11
When I copy some text from jEdit and paste it into the body of an email, Thunderbird immediately crashes - vanishes without a trace. I am not saying this is a bug with jEdit, might well be with Thunderbird. But do any of you have a suggestion for fixing this - some kind of encoding settings? (For the moment I just keep gedit open and paste the text there - and do a further Copy/Paste from gedit to dump it into a Thunderbird email.)

I am using jEdit 4.3pre16 with Java 1.6.0_0 on Ubuntu 64 and Thunderbird 3.0pre (Shredder).

Thank you,
OH
Open Source jEdit for Sale
Submitted by jeditralf on Sunday, 15 November, 2009 - 15:43
Look here:
http://mac.softpedia.com/get/Word-Processing/Jedit.shtml
Small problem with FTP plugin when username contains @
Submitted by marchost on Tuesday, 17 November, 2009 - 14:23
Hi all, first if some of jedit developper are reading this, I would like to say that jedit is a wonderful editor, continue your great work...

I just ran into a small issue today with the FTP plugin.

I couldnt connect to a FTP (using plugin->ftp->connect to ftp) when a username had an "@" (user@domain.net) it would create an address of : ftp://user@domain.net@domain.net:21 which obviously dont work.

The workaround is to put the FTP address in the path and after the plugin prompt for user/password...
Buffer stopped showing up in all views
Submitted by proee on Wednesday, 18 November, 2009 - 16:48
For some reason jEdit stopped showing all open buffer in each view. Now buffers are segregated to a single view. When I open a new buffer, I'd like it to be available in my buffer tabs across all views.

Somehow I must have broken this or turned of the default setting.

Any ideas how to get all buffers showing in each view?
Unable to close file
Submitted by kbs on Wednesday, 18 November, 2009 - 18:59
I installed the r.xml mode file and then tested it by opening a file with .R extension. The syntax highlighting worked just fine, so I thought I did the installation correctly, but now I'm unable to close that file, exiting jedit and re-opening doesn't help, the file is still open. I get this error message:
java.lang.NullPointerException: Mode must be non-null
at org.gjt.sp.jedit.Buffer.setMode(Buffer.java:2016)
at org.gjt.sp.jedit.Buffer.setMode(Buffer.java:2066)
at org.gjt.sp.jedit.Buffer.finishLoading(Buffer.java:3920)
at org.gjt.sp.jedit.Buffer.access$800(Buffer.java:71)
at org.gjt.sp.jedit.Buffer$1.run(Buffer.java:280)
at org.gjt.sp.util.WorkThreadPool.addWorkRequest(WorkThreadPool.java:110)
at org.gjt.sp.jedit.io.VFSManager.runInAWTThread(VFSManager.java:261)
at org.gjt.sp.jedit.Buffer.load(Buffer.java:317)
at org.gjt.sp.jedit.jEdit.openFile(jEdit.java:1473)
at org.gjt.sp.jedit.jEdit.newFile(jEdit.java:1617)
at org.gjt.sp.jedit.jEdit.newFile(jEdit.java:1572)
at org.gjt.sp.jedit.jEdit._closeBuffer(jEdit.java:1717)
at org.gjt.sp.jedit.jEdit.closeBuffer(jEdit.java:1664)
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.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(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)
Getting standalone textarea to work with syntax highlighting, code completion, etc.
Submitted by mikeklein on Sunday, 22 November, 2009 - 21:22
I have run build.xml to generate standalone-textarea and despite tweaks (BufferUndoListener?) needed in build got past this.

I can successfully show a textarea with my content inside however there is no java syntax highlighting, backspace/del/arrow keys don't work, etc. All text is black and white.

I am instantiating the textarea with supplied 'jedit.props' file and changed default mode from text to java in 'jedit.props'. I have confirmed that modes directory (with text.xml/java.xml) is a part of my textarea jar produced by build as is the modified jedit.props file.

Any ideas how I can actually use this standalone widget as intended? I need syntax highlighting and code completion. I was hoping to pass in classpath urls as needed for code completion part.

I am seeing nothing in APIs (at least from textarea) which would allow me to do any of the above.

Help w/be nice right about now...

thanks in advance,

mike
User login
Browse archives
« October 2009 »
MoTuWeThFrSaSu
 
1
2
3
5
6
7
8
11
12
13
14
15
16
17
18
19
20
26
27
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   98100
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17480
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300