jEdit Community - Resources for users of the jEdit Text Editor
Archives
Printing fails with a Beanshell error
Submitted by cherax on Friday, 23 November, 2007 - 05:28
When I attempt to print a text file, I get a long Beanshell error (and no printing) that starts with:

java.lang.NullPointerException: null attribute
at sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1100)
at sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2092)
etc. etc. etc.

Checking the "use old printing API" doesn't help.

This happens with jEdit 4.2 stable and with 4.3pre11, and with java 5 and 6. I'm using Kubuntu 7.10.

Any ideas?
Nautilus (Nautilus.jedit-scheme v0.9 by Giger)
Submitted by Giger on Friday, 23 November, 2007 - 12:27
Similar to native Windows XP Brick color scheme.
lightweight text editor jar?
Submitted by boardtc on Friday, 23 November, 2007 - 15:25
I've never used JEdit and am relatively new to the Java community, so please be gentle Smiling
I need to provide a very basic text editor in my swing app. I don't think a commercial app would be allowed to distribute JEdit is my understanding but anyway the distribution footprint is likely too large for my needs...

Rather than reinventing the wheel are there any freely available fine tuned lightweight editors available in a jar that I can use for this purpose?

Thanks,

Tom.
maintaining or merging the xrefactory plugin
Submitted by keeleyt83 on Monday, 26 November, 2007 - 17:39
Hi all,

I was wondering if anyone here had used the xrefactory plugin? Its got some features that greatly surpass that of the javasidekick and projectviewer combination. The only problem is that its not currently being maintained.

Now I was thinking that maybe I could get some help attempting to update it to work with the current version of jedit, with the ultimate goal of maybe being merged into the javasidekick. What do you all think? I think that if we let the xrefactory plugin die, it will be a great loss for the community. With this plugin, jedit becomes a truly complete lightweight java environment. We need this. Is anyone interesting in helping me?
Dark Blue Colorful (Dark_Blue_Colorful_v0.4.jedit-scheme v0.4 by Tuomas Kareinen)
Submitted by tuomas on Wednesday, 28 November, 2007 - 18:28

A dark blue syntax scheme. This scheme is more colorful than the dark blue scheme supplied with Editor Scheme plugin.

4.3pre11, Vista, jre1.6, -reuseview argument not working
Submitted by TimMagee on Thursday, 29 November, 2007 - 21:55
Hi,

I've recently installed 4.3pre11 on Windows Vista and I'm having trouble getting any play from -reuseview.

Previously I've used 4.1, then 4.2 + Ollie R's jEditLauncher to achieve the same effect, but this time I thought I'd brace myself and get jEdit using a single view without resorting to jEditLauncher. I don't seem to be able to do it though. I can see on the forum that other people have succeeded, which inspires hope.

My use case is:
open Windows Explorer.
navigate to a folder with some text files in it
select two text files
right-click the selection and choose 'Open with jEdit'
BAM - two jEdit windows.

jEdit server is set up to run on startup, and is running during the above use case:
"C:\Program Files\Java\jre1.6.0_02\bin\javaw.exe" -Xms64M -Xmx192M -jar "C:\Program Files\jEdit\jedit.jar" -reuseview -background -nogui
(when first installed the -reuseview option wasn't there, I added it in a forlorn attempt to circumvent the problem).

The 'Open with jEdit' command associated with '*' in the registry under HKCR looks like:
[HKEY_CLASSES_ROOT\*\shell\Open with jEdit\Command]
@="\"C:\\Program Files\\Java\\jre1.6.0_02\\bin\\javaw.exe\" -Xms64M -Xmx192M -jar \"C:\\Program Files\\jEdit\\jedit.jar\" -reuseview \"%1\""
(this is as installed).

Can anyone help?

Cheers,
Tim
Creating a Console command to run in the background
Submitted by ntbenari on Monday, 10 December, 2007 - 07:08
I'd like a Console command to run in the background.
If I enter & at the end of the line within the Console
window it works, but I get parse errors when I try to add
it in the Commando xml file.
I've tried:
buf.append('&');
buf.append('&&');
buf.append('\&');
and every other escape I can think of ... but no luck.

Thanks
Moti
sftp connection dialogue box problems
Submitted by andersos on Friday, 14 December, 2007 - 09:34
I have some problems with this on Debian (lenny), KDE, Java 1.6.0_02.

1. When I try to connect from File Browser/Plugins/FTP the connection dialogue box isn't shown. (Same for both FTP and SFTP.)

2. Strange problem when switching to a session that contains remote (sftp) files. The connection dialogue box appears to have focus, but It's impossible to edit text in it. Clicking button works ok, so if I previously chose "save password" I can connect by clicking Ok button.

Connecting by choosing remote site from Favorites works totally ok.
multiple selection mode: how to automatically obtain selections without using the mouse
Submitted by drefty on Friday, 14 December, 2007 - 16:41
Problem:
Activating and deactivating 'multiple selection mode' is easy to do and works well. The problem is, I am looking for a way to obtain multiple selections automatically via macro, without having to hand-click the selections I want with the mouse.

The goal is to:
1) be able to multi-select every occurrence of a regex match in the entire document;
2) be able to multi-select every occurrence of a regex match within a specified line range (or within current selection);
3) do all of this without having to use the mouse

TIA for any info or pointers.
Whice main function is used for start the JEdit project
Submitted by vistek on Monday, 17 December, 2007 - 21:36
Hi everybody,

I want to look over JEdit source code.
I download JEdit source code and built it. It need apache ant I add the project. everything is good. But ı did not find correct main function to start. I use main function of TextArea and JEdit but some thing is wrong. Is there anybody to help me.

Thanks.
Automatic indenting of (PL) SQL
Submitted by net-res on Tuesday, 18 December, 2007 - 07:29
When I edit PL-SQL files in jedit, with jedit set to PL-SQL (or any other SQL) mode, C-i removes all indentation rather than fixing it. For example

BEGIN
____select seq.nextval into col1 from dual ;
____return col1;
END;

becomes

BEGIN
select seq.nextval into col1 from dual ;
return col1;
END;

after C-i

How can I fix this?

(had to add underscores since the forum removed leading spaces and tabs)
SGF Edit mode for Simple Game Format files. (sgf.xml v1.0 by Greg Wallace)
Submitted by axol on Wednesday, 19 December, 2007 - 03:50
SGF is used to document the Asian game 'Go' (http://en.wikipedia.org/wiki/Go_%28board_game%29) (In chinese Wei qi, in Korean Baduk). While there are numerous specialised graphical editors available, it sometimes happens that a file will get corrupted and needs to be hacked up by hand. And what better way that by using your favourite text editor? This edit mode will facilate easy spotting of syntax errors and indenting of variations.
Templates with 4.3 pre 12
Submitted by dougis on Thursday, 20 December, 2007 - 01:00
Not sure what has happened, but after I updated to 4.3 pre 12 my templates no longer work.
Is there an update needed to the plug in to work with the latest release? (4.3 pre 11 seems to be fine).
German Localization light
Submitted by Robert Schwenn on Thursday, 27 December, 2007 - 20:15
... is updated for jEdit 4.3pre12 and recent versions of all supported plugins. The nessecary properties file can be downloaded here

INstalling jEdit With MAYA2008... arrrgh
Submitted by timou on Tuesday, 1 January, 2008 - 21:23
Hi... since I doesnt find any MEL scripter, I try jEdit who seems really cool.

BUT so haaard to setting up... why you don't share config file for maya with all plugins already installed, it's just a pain....

So.... my problemS are :

1.The doc in infoviewer doesnt work and say :
Error
The URL file:/D:/_Applis/3d/Alias/Maya2008/docs/Maya2008/en_US/Commands/null.html could not be found.

2.I cant see what maya say in jEdit when I source a file...
Where is the return flag?

anyway, if some ppl can help me... thanks....
There is no place in the web to share config file? Smiling

Thansk a lot
setup jEdit with Mayta... arrrgh, help!!!
Submitted by timou on Tuesday, 1 January, 2008 - 21:26
Hi... since I doesnt find any MEL scripter, I try jEdit who seems really cool.

BUT so haaard to setting up... why you don't share config file for maya with all plugins already installed, it's just a pain....

So.... my problemS are :

1.The doc in infoviewer doesnt work and say :
Error
The URL file:/D:/_Applis/3d/Alias/Maya2008/docs/Maya2008/en_US/Commands/null.html could not be found.

2.I cant see what maya say in jEdit when I source a file...
Where is the return flag?

anyway, if some ppl can help me... thanks....
There is no place in the web to share config file? Smiling

Thansk a lot
jEdit reinstall won't successfull launch
Submitted by tomcloyd on Tuesday, 1 January, 2008 - 23:34
I'm a huge fan of jEdit, and quite dependent on it for getting work done every day. I can't get my install to work any longer, and after hours and hours of work on it yesterday it still doesn't work. I'm desperate (there really is no substitute for jEdit - that I can find, anyway).

I'm working on Kubuntu Linux (ver. 7.10) - it's about my 4th day on Linux, coming from WnXP, so there are many things I don't yet know.

My install failed yesterday after an edit of the fonts in the text and interface areas, in Global Options. The launch would start, then crash. With help from someone in a Kubutu forum, I uninstalled my jEdit, and reinstalled. I did this multiple times. It still doesn't work. It crashes shortly after the splash screen appears. How far it gets into the launch seems to vary each time. Each time it crashes, it leaves a java instance behind, visible my localhost running processes list.

HOW can I get a successful install at this point? The install module I've been using is jedit_4.3pre12_all.deb

I would be so grateful for some assistant with this problem.
compare two files
Submitted by srikrishnan on Wednesday, 2 January, 2008 - 04:39
Hi All,

I am new to this forum.

I came to knew about JEdit through the Book "XSLT 2.0 Programmer's Reference, Third Edition by Michael Kay" which I bought last year.

From the date onwards I am using JEdit instead of Ultra edit on both of my "Windows XP" and "Ubuntu" Operating Systems.

It is incomparable even with any proprietary softwares.

First of all I thanks all of those who developing this Editor.

I have one doubt, very often I need to compare two documents. But I am not able to found any option for that purpose in JEdit.

Is there any option for that?

Regards,
Srikrishnan
count number of findings
Submitted by srikrishnan on Wednesday, 2 January, 2008 - 07:52
Hi All,

Is there any option to count and display the number of find/find & Replace done in the selected buffer/file?

Regards,
Srikrishnan
Modifying TextAutocomplete's "Is word to remember" option
Submitted by kircheis on Wednesday, 2 January, 2008 - 12:26
I haven't been able to make TextAutocomplete plugin recognize Cobol procedure names in a format like:

000000-MAIN-ROUTINE

Since there are numbers and a dash this is ignored. According to the documentation I should modify the "Is word to remember" option but I couldn't make it work like it should.
User login
Browse archives
« November 2007 »
MoTuWeThFrSaSu
 
1
3
5
7
9
10
11
13
14
18
20
24
25
27
30
 
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   108257
Context Free Art (*.cfdg)   0.31   46074
BBEdit scheme   1.0   18610
JBuilder scheme   .001   18511
ColdFusion scheme   1.0   18044
R Edit Mode - extensive version   0.1   17492
Advanced HTML edit mode   1.0   16226
Matlab Edit Mode   1.0   16089
jEdit XP icons   1.0   15248
XP icons for jEdit   1.1   14312