jEdit Community - Resources for users of the jEdit Text Editor
Archives
problem with spell check plugin
Submitted by alger on Monday, 9 January, 2006 - 01:31
I have installed aspell, the dictionary for my language and the spell check plugin. In the configuration options I entered the path to aspell.exe. But when I try to spell check it gives me an error window saying:
Cannot check selection:
Error (Aspell) is: Cannot access aspell process: Se esta cerrando la canalizacion (last part is something like piping is being closed).

I have looked in google and looked other threads at this forum and still can't make it work. Any idea??

thanks
Help with running 'whole' substitution regular expressions.
Submitted by Aaronc on Monday, 9 January, 2006 - 03:19

Hi there,

I'm fairly new to regular expressions, but I have used jEdit for soem time now. I have search online (google) and also around these forums. So far I haven't found any information for what I am looking for. Perhaps it is my lack of experience with RE if so please forgive my ignorance.

I would like to be able to run regular expressions in jEdit as whole expressions, for example. presently to do a complex find and replace I have to type regular expression argument in the search box, And then place a value in the replace box. The problem with this is that I can't use parenthesis () to back-reference a previously reference string.

Programatical example:

s/(<h2>[^<]*./h2>)/<div>\1<p></p></div>/g

Search for <h2> and any thing in between this and it's close tag to replaced and included as e.g.
find: <h2>Title here</h2>
and replace with: <div><h2>Title here</h2><p></p></div>

regardless of the value for the content between the <h2> and </h2> strings.

I realize that I can use a macro to complete what I am attempting with RE but that defeats my main purpose of learning RE by experimentation.

Thanks Aaron
Help With Color Coding
Submitted by jRockJavaGod on Monday, 9 January, 2006 - 15:22
Please assist - I am eager to use JEdit but I will never be able to get into it if I can't get the color coding 'the way I like it'...yes, this is probably one of my more important requirements strange as that seems...

But I do not understand how this works in Jedit. Is there a way to set it up so that it can color code my HTML tags one way, my javascript another way (with the entire script in a specific background color) and my JSP another way (with each scriptlet block in another background color) ?

The idea being that, more than color coding attributes and specific details like that, I am interested in breaking out a JSP file so that all blocks of HTML,JAVASCRIPT and JSP have different background colors throughout the whole block so you can easily see what language you are in .

I currently use homesite because it gives me the customization to do just this and I am dying to try jedit but I have no idea if such color coding is possible

Thanks a lot


John
Folding for VHDL
Submitted by liran vigdor on Monday, 9 January, 2006 - 16:47
Is there any option/Plugin for Folding of VHDL files ?
like folding brackets, and folding process ...
thanks
print all buffers?
Submitted by x_solidus_x on Monday, 9 January, 2006 - 18:05
Hi,

Does anyone know of a plugin/macro to automatically print every open buffer?

Thanks
Problem to start Jedit
Submitted by nadavvin on Tuesday, 10 January, 2006 - 10:15
I have Mandriva 20066 and I instaled Jedit via "urpmI jedit".

but when I try to open it, I get the fllowing error:

$ jedit
GC Warning: Out of Memory! Returning NIL!
Exception in thread "main" GC Warning: Out of Memory! Returning NIL!
java.lang.LinkageError: unexpected exception during linking: org.metastatic.jessie.provider.Context
*** Got java.lang.OutOfMemoryError while trying to print stack trace.

My java version:
java version "1.4.2_00"
java full version "kaffe-1.4.2"
kaffe VM "1.1.x-cvs"

Engine: Just-in-time v3 Version: 1.1.x-cvs Java Version: 1.4
Heap defaults: minimum size: 5 MB, maximum size: unlimited
Stack default size: 256 KB

What's wrong?
How can I install jedit?
Submitted by nadavvin on Tuesday, 10 January, 2006 - 10:38
I have Mandriva 20066 and I instaled Jedit via "urpmI jedit"

Because, I didn't able to open it, I try to install jedit42install.jar
with java jedit42install.jar

but I get the following error:

$ java jedit42install.jar
java.lang.ClassNotFoundException: jedit42install.jar not found in java.lang.ClassLoader$1{urls=[file:/home/user/tmp/./], parent=null}
caused by:

My java version:
java version "1.4.2_00"
java full version "kaffe-1.4.2"
kaffe VM "1.1.x-cvs"

Engine: Just-in-time v3 Version: 1.1.x-cvs Java Version: 1.4
Heap defaults: minimum size: 5 MB, maximum size: unlimited
Stack default size: 256 KB

What's wrong?
Files overwriting
Submitted by mgiacoma on Tuesday, 10 January, 2006 - 10:50
When I use the "save as" feature, the editor does not "warn" me in case I choose a file name already exists. I would like to be warned in such case because it happens (not so seldom...) that someone, distracted by a colleague, overwrites the wrong file (thinking he's really saving the file using a *new* name).

Do you think it may be useful?
Many thanks!

Matteo
How to close Console after running program in system shell?
Submitted by davmay on Tuesday, 10 January, 2006 - 17:19
I am using this one-line macro to run a program in the system shell:

runInSystemShell(view,"C:\\WINDOWS\\SYSTEM32\\mspaint.exe");

This works fine, but when I have run and closed the program I am left with a jEdit window containing the Console which I have to close manually. Can someone show me how to add a line to my macro to close that Console window? Thanks.

David
Running with the concurrent garbage collector to prevent memory bloat
Submitted by jedi_tor on Thursday, 12 January, 2006 - 13:11
How do you run jedit with garbage collection happening concurrently?

When jedit is starting up and loading a bunch of files from a previous session, the memory bloats up quite a bit, much of which is just waste as it is just stray objects as can be seen after the next manual collection run. I wanted to prevent that by having the garbage collector run simultaneously.

There's supposed to be a certain percentage performance hit, which is no big deal for an editor.

I tried
java -XX:+UseConcMarkSweepGC -jar "C:\Program Files\jEdit 4.2\jedit.jar"

It seems a little better, but when I click the garbage collection button, multi-megabytes of heap are still recovered, which I don't think should be the case if the collector is continuously running.

Any thoughts?
Using DTD and Schema in the same document
Submitted by josephhill on Friday, 13 January, 2006 - 11:51
I'm not sure whether to file this under using Jedit, bugs, or plugin features. Is there a way to make jEdit recognize both DTD and a schema in the same document?

I've been unable to make the move to jEdit as my main XML editor because all my XML files are associated with both a DTD defining multi-lingual entities and schemas to define structure. When I use jEdit, I have to comment out the DTD if I want it to help me with elements and then turn off validation if I want it to help me out with entities. The strange thing is that XML Insert happily suggests the possible elements while the main window underlines everything in red and says no elements are defined.

I'd be very happy if I could figure out how to make this work. Thanks!
Visual text corruption
Submitted by andrewee on Saturday, 14 January, 2006 - 01:28
When I scroll up and down in any text field in the online help system or in any dropdown list in any dialog box, the displayed text gets corrupted, with only part of the display being updated and part of the old text remaining in place as though the text scroll never happened. This usually happens only when using up/down arrow keys or the mouse wheel to scroll the text one line at a time; pressing pgup/pgdwn to scroll works right, and will even unscramble the display after one-line-at-a-time scrolling has scrambled it. Is this a jedit bug or a java bug? How do I fix this?
Running on w2k using Sun's j2se 5.0 update 6 and jedit 4.2 final.
ctrl-arrow cursor movement is too fine-grained
Submitted by andrewee on Saturday, 14 January, 2006 - 01:36
ctrl-leftarrow and ctrl-rightarrow cycle through the beginning and end of each word, which takes twice as many keystrokes to cycle through words compared to the standard Windows operation (in Notepad and Wordpad, ctrl-arrow cycles only through the beginning of each word).
In other words, jedit jumps the cursor to the next whitespace->nonwhitespace or nonwhitespace->whitespace boundary, whereas standard Windows operation jumps the cursor only to the next whitespace->nonwhitespace boundary and ignores all nonwhitespace->whitespace boundaries.
How do I make jedit obey the Windows standard, so that cycling through words isn't so tedious?
Putting .marks files in a common directory, like is possible with backup files
Submitted by andrewee on Saturday, 14 January, 2006 - 01:38
How do I tell jedit to put all metadata including things like .marks files in one common directory rather than in the directories of the associated files, so that those latter directories can remain uncluttered?
Where's the wrap-to-window option?
Submitted by andrewee on Saturday, 14 January, 2006 - 01:40
Where's the wrap-to-window option? I don't want jedit to wrap to a specified width (e.g. 80 characters); I want it to wrap to the editing window, but Utilities/Global Options/Editing doesn't give me that option, and I don't see the option anywhere else.
Efficient window switching
Submitted by andrewee on Saturday, 14 January, 2006 - 01:43
In Adobe Acrobat reader, I can open 9 different files and then press alt-w and then a number to switch instantly to the numbered window. In jedit I can press alt-backtick to get the list like I can do with alt-w in Acrobat, but in jedit I then have to use the arrow keys to scroll to the desired item, or use the mouse. How do I get it to work like Acrobat, where a grand total of no more than three keystrokes (alt-backtick windownumber) will jump to a desired window?
The switchbuffer plugin doesn't appear to be what I want, because it requires too many keystrokes to switch buffers. I realize that with more than 9 windows open, I'll need more keystrokes, but I'd like to optimize for my common case of having less than 9 open.
How can I revert jEdit to its original state
Submitted by Thppbt on Monday, 16 January, 2006 - 02:50
I downloaded and installed version 4.3pre3, and installed it on Mac OS X 10.2.8 with JRE 1.4.1_01. It was working fine, but then I started playing around with plug-ins, and now when jEdit opens, the window is blank. If I move my mouse cursor around, the menu buttons will appear and disappear. I tried to disable the plug-ins from the plug-in manager, but that window is blank too. I uninstalled jEdit, by deleting the whole folder, and then reinstalled it, but I still have the same problem. I searched my entire hard drive for any files with "jEdit" in the name, and deleted them, but when I reinstall it still has the same problem. Somehow jEdit is remembering my settings. I know, because when I start jEdit, the same file is in the buffer.

Where can I find the jEdit preferences in Mac OS X 10.2.8? How can I revert jEdit to its original state?
improved template engine integration
Submitted by campbeld on Monday, 16 January, 2006 - 13:35
I want to quickly select and run velocity templates. The template tree view is very tedious. And I don't have any shortcuts left!!!

Also does velocity template have recursion feature? I want to setup a complete site building template so I can roll-out new client websites with ease.
JavaSideKick 2.0 (JavaSideKick.jar v2.0 by Dale Anson)
Submitted by daleanson on Tuesday, 17 January, 2006 - 18:44
This is a pre-built binary of JavaSideKick 2.0. The parser was built with JavaCC 4.0. There have been some issues with the parser when it was built with JavaCC 3.2 where the parser would hang and consume all CPU cycles. JavaCC 4.0 has made some changes in stream handling, and so far, I've been unable to reproduce the "hang" with this version of the parser. I'd appreciate any feedback be posted to either the jEdit user or development mailing lists.
  • 14 Feb 2006: updated jar file, should fix the problem mentioned about the beanshell/gotodockable error.
  • 17 Feb 2006: apparently I compiled the previous file with Java 1.5. I've recompiled with Java 1.4 and updated the jar.
  • 24 Feb 2006: removed the menu item to show the structure browser, use the SideKick menu item instead. Updated code completion, it's better, but it's still not complete.
  • 30 Mar 2006: JavaSideKick 2.0.2 is out, the attached is 2.1.0. More updates to code completion, and added ability to show javacc files in the tree.
  • 13 Apr 2006: Attached JavaSideKick 2.1.1, as usual, more minor updates to code completion, some clean up of the javacc browser.
Loading a JEdit plugin
Submitted by maths on Thursday, 19 January, 2006 - 12:41
I have written a program using a Java IDE which works well, and I want to create a plugin using it. I copied the .jar file into the jedit/jars folder direcrory, and the plugin manager register it as being loaded.

However, the menu list does not appear. I do not know how to continue.
Please HELP!
User login
Browse archives
« January 2006 »
MoTuWeThFrSaSu
 
1
2
5
6
7
8
11
15
18
28
 
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   108250
Context Free Art (*.cfdg)   0.31   46071
BBEdit scheme   1.0   18607
JBuilder scheme   .001   18508
ColdFusion scheme   1.0   18041
R Edit Mode - extensive version   0.1   17488
Advanced HTML edit mode   1.0   16222
Matlab Edit Mode   1.0   16086
jEdit XP icons   1.0   15245
XP icons for jEdit   1.1   14309