jEdit Community - Resources for users of the jEdit Text Editor
Archives
eisen.xml v0.02 by monkstone
Submitted by monkstone on Monday, 11 October, 2010 - 19:39
An Experimental Highlighter for the StructureSynth EisenScript. Provides highlighting for *.es you might like to post on your blog (use code2html plugin). Aims to cope with in built raytracer syntax coming with StructureSynth Hinxton release (but not javascript).
get script Output in Jedit
Submitted by flebber on Friday, 15 October, 2010 - 01:15
Is there an option for Python or Ruby to get script output in Jedit. Similar to run module command in python IDLE or in Scite Go option.

[IMG]http://i988.photobucket.com/albums/af10/Sayth_Renshaw/scite-2.png[/IMG]

[URL=http://s988.photobucket.com/albums/af10/Sayth_Renshaw/?action=view¤t=scite-2.png][IMG]http://i988.photobucket.com/albums/af10/Sayth_Renshaw/th_scite-2.png[/IMG][/URL]
Congratulations!
Submitted by dasorey on Friday, 15 October, 2010 - 08:01
jEdit, Project of the Month, October 2010

http://sourceforge.net/blog/potm-201010/

Smiling
Embedding jEdit in another application's window
Submitted by ke on Saturday, 16 October, 2010 - 14:06
I'm developing an IDE-like application where I would like to use jEdit (or parts of it) as a source code editor.

It's great that the text area is provided as a component that can be used independently of the jEdit application. However, this just provides the text area – I need to provide menus, toolbars, actions, file management (loading/saving/...) externally.

What would be even greater is thus something like a jEdit view, only that it is not a window, but an ordinary component that I can embed my own components.

Is anything like this planned – or already available, and I have overlooked it?
jEdit 4.2 no longer starts - what next?
Submitted by LongtimeUser on Wednesday, 20 October, 2010 - 13:46
Hello all,

I've been using 4.2 for several years because of the plugins for it, and installed it right away on this laptop when I got it 6 months ago. I have it running all the time. Then Monday I installed Plants vs Zombies and after a few hours it froze my computer. After rebooting jEdit will no longer start. As the FAQ suggests I tried moving all the files from .jedit/ (since Win 7 won't let me rename the directory), but that was no help. Java is fine, I can do >java -jar jedit.jar and the CLI gives me another prompt but nothing happens. Then I tried installing 4.3 (in a different location) as a last resort and it seems to have deleted my 4.2 directory - and still won't start up.

Oddly enough I went back to a previous laptop and found that 4.2 won't start up on that one either.

A) Anyone else had this happen?
B) Anything else I can try to get 4.2 working again?
C) What's the procedure for a clean install?
D) Or a side-by-side install with multiple jEdit versions?

Thanks!
Search and Replace popup hides search results
Submitted by greghk on Thursday, 21 October, 2010 - 01:13
The search and replace popup menu often hides search results as it seems to always be on top of the jEdit screen showing the current buffer. Especially on a netbook 1024x600 px screen! The incremental search bar (C+,) solves this problem nicely for simple searches. However the search bar doesn't seem to handle all the function available in the search and replace popup, especial replace.

I tried to dock the full search and replace popup to keep it out of the way, but couldn't find it in Global Options > Docking. I'm running jEdit 4.3.2 on Ubuntu 8.04 and Ubuntu 10.04. I don't see the docking button on any of the popup screens, including the file system viewer which is dockable. Perhaps the lack of docking button on Ubuntu is a Gnome windowing issue? Maybe there is already an option to scroll lines with results out from behind the search and replace popup?

Is this is a bug, a new feature or am I just missing something?
Using the match count as replacement text?
Submitted by heyvern on Thursday, 21 October, 2010 - 20:36
I have searched... uh... literally for at least a year on and off for a solution to this.

What I need to do is to "count" matches and use the "count" number as part of the replacement. I am attempting to change the formatting of a 3d file to another 3D application. Some elements that are not numbered in the original format need to be numbered in the target format. The only way I see to do this is with a macro that can track the match count.

I am very familiar and proficient with regex in jEdit but not so hot with writing macros or java programming. Just looking for some kind of "loop" structure in a macro that counts the matches and increments a variable to be inserted on each match/replace.
sideKick stopped parsing python scripts
Submitted by pixeldroid on Saturday, 23 October, 2010 - 02:31
For some reason, the jEdit Sidekick plugin has stopped parsing my python scripts (no functions, vars, etc.).
For my Python Path in the Jython plugin, I have been using the python executable that is installed with Maya:
C:\Program Files\Autodesk\Composite 2011\program
which has been working fine until yesterday.
I've also tried:
C:\Program Files\Autodesk\Composite 2011 Subscription Advantage Pack\program
Any suggestions for fixing will be appreciated.
Thx
java update broke jedit 4.3.2 for me
Submitted by jeditcdnguy on Tuesday, 26 October, 2010 - 16:34
I'm running ubuntu jaunty when I got an update today re:java

After the update jedit 4.3.2 stopped working

Here's what happens when I run it in the terminal

terry@beauty:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/bin$ java jedit
Exception in thread "main" java.lang.NoClassDefFoundError: jedit
Caused by: java.lang.ClassNotFoundException: jedit
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: jedit. Program will exit.
Is it possible to open a file in Project Viewer by typing filename?
Submitted by kwon37xi on Thursday, 28 October, 2010 - 08:08
I installed Project Viewer and FastOpen, Jump and try to open a file which is in a project with it's filename, but failed.

The thing I want is Open Resource(Ctrl-Shift-R) in Eclipse.. (Opening a file which is in a project by typing some part of filename)

Is there any plugin like Open Resource thing??
jEdit + .ctp files
Submitted by grandioso on Friday, 29 October, 2010 - 23:00
I can't seem to make jEdit highlight any .ctp file syntax as php. (ctp files are used by cakePHP)

I did the following : "Options" -> "editing", chose php, unchecked "use default", changed "file name glob" to "*.{php3,php4,php,phtml,inc,ctp}", saved, restarted app... but still nothing.

Any ideas ? I use Ubuntu 10.04
How to paint something in TextArea?
Submitted by tpj on Saturday, 30 October, 2010 - 16:54
I'm working on a jEdit plugin for Lisp dialects. I'd like to implement a form "highlighting" feature, just as it's implemented in DrRacket. It can properly highlight a form, when the form is a valid one (screenshot 1). When we have an invalid form (due to some unclosed parenthesis, for example), only the first form paren is highlighted (screenshot 2). I'd rather highlight all the text up to the next form, instead, in some different colour.

Screenshot 1: http://www.tprimke.net/public/images/LispMode_1.png
Screenshot 2: http://www.tprimke.net/public/images/LispMode_2.png

Right now, I don't know how such a feature can be implemented in a jEdit plugin. I've found out the TextAreaExtension, but I'm not sure if it's the proper solution to use in my case. How can I order jEdit (from a plugin) to draw something on the screen? Something, that might consist of many lines and columns, between two known caret positions?

I've found the methods paintValidLine and paintScreenLineRange, but I'm not sure, when they're actually used - so I can't make any use of them. I need some advice on this topic.
jEdit opens an additional window for additional files
Submitted by Nick Payne on Saturday, 30 October, 2010 - 22:05
Whenever I open an additional file once jEdit is already running, jEdit opens a additional window into which it loads the file. The new window is also slightly displaced on the screen from the previous window. However, both the new window and the previous window allow access to both the new file and any previous files I had open from the drop-down selection menu at the top of the text area. I normally close this new window, as it's not located where I want, and then use the drop-down selection at the top of the text area to bring the new file to the front, which is two extra annoying steps in the process.

How can I stop jEdit from creating a new window. Any additional files I open once jEdit is running, I want them to open in the already existing window. I've had a browse around in the various menus and global options without seeing where this can be set. I'm running jEdit 4.3.2 on Ubuntu 10.10.
Does Jedit garble any HTML files?
Submitted by Hannes on Wednesday, 3 November, 2010 - 08:23
Hi,
I have Jedit with the Plugin Includes Parser for HTML pages and as a german citizen, I do use a lot of Umlaute (special characters) in the Include. The Head of the HTML file does show the entry that the endoding is utf dash eight (I can not include the sample code, because I already did write my question with the code mentioned and this board deleted it due to suspicious characters).
After inserting the Include Code into the main HTML page by the Includes Pager, all the Umlaute are shown totally garbled.

Is it correct that the Includes Parser does change the encoding into whatever else, but does not insert the special characters in the correct encoding? In utilities, Global Options, encodings the default character encoding is set to utf dash eight.

Is there any work-around? Normally, I do not bother to find a solution for faulty software, but I seem not to be able to find any other editor with includes capabilities working under Linux.

I tried to find a mode whereby Jedit would change the special characters into HTML entities on-the-fly during entering, as is possible for example with dreamweaver, but until now I did not find anything.

If there is a work-around or any solution I would be grateful for any hint!
jEdit & NetREXX
Submitted by bobhjedit on Thursday, 4 November, 2010 - 11:48
Anyone using jEdit w/ NetRexxDE???

Bobhjedit
code-completion using yacc parser
Submitted by captainhunt on Wednesday, 10 November, 2010 - 07:57
Hi there,

I am trying to add syntax highlighting and code-completion for a quite idiosyncratic command file syntax to jedit.

While I managed pretty well to use jedit's xml edit-mode description for syntax highlighting, I cannot find a good starting point to add code-completion.

I currently see two possibilities:
a) use the xml edit-mode description to get the KEYWORDS somehow into a suggestion list
b) somehow connect the lex/yacc parser with jedit.

b) would be my prefered way as, it would perfectly sync up with any code development of the program and its parser.

Any hints, tips outlines which way to go, any getting started or simple example for code completion would be highly appreciated.

Thanks in advance,
Gergoe
Duplicate Buffers after jumping to search result
Submitted by imgod2u on Sunday, 14 November, 2010 - 00:22
I've noticed this happen a few times now both on Solaris and on Windows. When searching a relatively large file (3000 lines or so), if I jump to a result (especially through Hypersearch), there would be duplicated buffers in BufferTabs. Now, I originally thought this was just a bug in the plugin but I noticed that when I edit one, the other buffer would not update. It would also pop up the notification that the file had been changed on disk.

This leads me to believe jEdit opened duplicate buffers of the same file after jumping to the search result line. I'm running 4.3 final using java 1.4.2 but on Windows, I've noticed it happen with the latest JRE and 4.3 final.

Has anyone else run into this problem? Any possible solutions?
OS X 10.6.5 updates causes jEdit to load in 'Java-ish' look rather than native OS X look
Submitted by altonator on Monday, 15 November, 2010 - 10:40
I've just updated OS X to 10.6.5 and now jEdit doesn't look OSX-ified. In other words, the File, Edit, etc menus are within the jEdit window rather than in the OS X mneu bar.

Other than that it seems to work OK.

Anyone got an ideas as to what's caused this? (I'm guessing it's a Java update that was packaged with the OS X update). And more importantly, can anyone manage to fix it?

Cheers
Altonator
Parse error when trying to replace blanks
Submitted by gold-mary on Tuesday, 16 November, 2010 - 08:30
Hi,

I apologize in case this is a duplicate. I searched the forum, but did not find anything which seems to be similar to this issue.

I use jEdit 4.3.2 (Java 1.6.0_22).
Since a few days it is not possible any more to replace blanks. When I select "Text" within the Find dialog, nothing happens. In case I select "Return value of a BeanShell snippet" I get an error:

Parse error at line 3, column 9. Encountered...

Is there anything broken? Or is it just a setting I have to change.


Thanks a lot for your help,

gold-mary
SVNPlugin: Authentication failed
Submitted by Zelos on Tuesday, 16 November, 2010 - 10:10
Hello,

I just installed SVNPlugin version 1.6.0 with dependencies as mentioned in the plugin page. My jedit version is 4.3.2 using java 1.6.0_20.

When I try to access my repository via svn+ssh the SVN console shows "error while listing entries: svn: Authentication required".
However, I tried to provide the username as part of the URL as well as input into the username field. Password is not required since I use a public key file.

It seems that ssh is not called correctly from jedit, restricting authentication to password only (which is not provided) instead of using ssh's default mechanisms.

How can I get this working?

Thanks!
David
User login
Browse archives
« October 2010 »
MoTuWeThFrSaSu
 
1
2
4
7
10
12
13
14
15
17
18
19
22
24
25
27
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   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