jEdit Community - Resources for users of the jEdit Text Editor
Archives
RecentBufferSwitcher With SuperAbbrevs
Submitted by freeborough on Wednesday, 29 September, 2010 - 12:34
Hi, I've been using the RecentBufferSwitcher plugin for some time and have it bound to Ctrl + Tab. I've recently discovered the SuperAbbrevs plugin and want to use it alongside RBS, however it seems that with RBS enabled Tab doesn't trigger SuperAbbrevs.

Is there an alternative to RBS (that can work in exactly the same way) that doesn't hog the key it's assigned to?

Could RBS be modified to allow it to work with SuperAbbrevs? What would I need to make it do that it's not doing at the moment?

Failing that, I was thinking of configuring / modifying SuperAbbrevs to use the Space key instead of Tab for its trigger - much like the normal built-in abbreviations which I've got used to.

Are any of these work-arounds available already?

Thanks in advance,

- Andy.
jEdit opens formerly not opened files at startup
Submitted by gtecsoy on Sunday, 3 October, 2010 - 00:00
Dear Developers and Forum Members!

I am a newbie in jEdit. It seems to me very good. Thank you for your efforts and excellent work.

I have a small problem with it. At startup the system loads that kind of files which were never opened.

It loads those files, which are in my user profile directory (C:\Documents and Settings\xxxxx\).

I am using:
1:32:35 AM [main] [message] Log: When reporting bugs, please include the following information:
1:32:35 AM [main] [message] Log: java.version=1.6.0_21
1:32:35 AM [main] [message] Log: java.vm.version=17.0-b17
1:32:35 AM [main] [message] Log: java.runtime.version=1.6.0_21-b07
1:32:35 AM [main] [message] Log: java.vendor=Sun Microsystems Inc.
1:32:35 AM [main] [message] Log: java.compiler=null
1:32:35 AM [main] [message] Log: os.name=Windows XP
1:32:35 AM [main] [message] Log: os.version=5.1
1:32:35 AM [main] [message] Log: os.arch=x86
1:32:35 AM [main] [message] Log: user.home=C:\Documents and Settings\xxxxx
1:32:35 AM [main] [message] Log: java.home=C:\Program Files\Java\jre6
1:32:35 AM [main] [message] Log: java.class.path=E:\My Installations\jEdit\jedit.jar
1:32:35 AM [main] [notice] jEdit: jEdit version 4.3.2
1:32:35 AM [main] [message] jEdit: Settings directory is C:\Documents and Settings\xxxxx\.jedit
1:32:35 AM [main] [message] jEdit: jEdit home directory is E:\My Installations\jEdit

When I check the settings directory (C:\Documents and Settings\xxxxx\.jedit) I have to realize, that the system writes never opened files to perspective.xml and recent.xml files all time.
I have deleted those files from the mentioned xml files and the files from settings-backup but it did not solve the problem.

The "Restore previously open files on startup" option is set up.

Thank you for your kindest help.
save function in jedit after installing ssd very slow
Submitted by oe7 on Sunday, 3 October, 2010 - 12:55
Hi,
I'am new to this forum. Using jedit for some jears, recently on a macbook pro with Mac OS 10.6.4. Now I've changed my internal harddrive into a ssd- everything works faster- except jedit which works slower- when I hit the save shortcut it takes 5 seconds until the file is saved (and also the lilypondtool plugin does react very delayed).
Any idea whats going on?

thanks,

ole
Ugly font rendering on Linux
Submitted by pablox on Tuesday, 5 October, 2010 - 19:30
Hi, I'm getting a really ugly font rendering, as you can see in the following links:

http://imgur.com/vLyG7.png
http://imgur.com/S1hJq.png

I had a similar problem with netbeans but after adding some extra commands to netbeans.conf[1], it solved the problem.

I'm using Arch Linux x86-64 and OpenJDK

[1] https://bbs.archlinux.org/viewtopic.php?pid=701440
QuickNotepad-Plugin written in Scala - java.lang.NoClassDefFoundError: QuickNotepadActions
Submitted by gadei on Wednesday, 6 October, 2010 - 06:34
Hallo!

I've tried to rewrite the simple QuickNotepad plugin in scala. I'm using Netbeans 6.8 for this.

Inside the IDE everthing works really fine, but if I copy my 'QuickNotepad.jar'-file in the .jedit/jar directory and then run jEdit, I get following Error-Message:

(Note: This error occurs when I try to open my plugin => Plugins/QuickNotepad->QuickNotepad)

> java.lang.NoClassDefFoundError: QuickNotepadActions
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
> at org.gjt.sp.jedit.JARClassLoader._loadClass(JARClassLoader.java:456)
> at org.gjt.sp.jedit.JARClassLoader.loadClass(JARClassLoader.java:109)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> at org.gjt.sp.jedit.bsh.classpath.ClassManagerImpl.classForName(ClassManagerImpl.java:203)
> at org.gjt.sp.jedit.bsh.NameSpace.classForName(NameSpace.java:1318)
> at org.gjt.sp.jedit.bsh.NameSpace.getClassImpl(NameSpace.java:1218)
> at org.gjt.sp.jedit.bsh.NameSpace.getClass(NameSpace.java:1159)
> at org.gjt.sp.jedit.bsh.Name.consumeNextObjectField(Name.java:298)
> at org.gjt.sp.jedit.bsh.Name.toObject(Name.java:199)
> at org.gjt.sp.jedit.bsh.BSHAmbiguousName.toObject(BSHAmbiguousName.java:59)
> at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:86)
> at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62)
> at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
> at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727)
> at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148)
> at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113)
> at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:369)
> at org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(DockableWindowFactory.java:467)
> at org.gjt.sp.jedit.gui.DockableWindowManagerImpl.showDockableWindow(DockableWindowManagerImpl.java:349)
> at org.gjt.sp.jedit.gui.DockableWindowFactory$Window$OpenAction.invoke(DockableWindowFactory.java:491)
> at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:352)
> at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3255)
> at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3237)
> at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:221)
QuickNotepadActions is just a "triat" (=Scala) [Interfac (=Java)] -> so this error message don't really make sens to me

Do you have an idea what could be wrong here?

Marco


Ps
I'm using:
jdk1.6
scala 2.8.0 final
netbeans6.8
jEdit 4.3.1
How to open new file in the same window?
Submitted by ramgovx on Friday, 8 October, 2010 - 17:19
What do I need to configure, for files opened from Nautilus by double click on the same window that is already open?

I just want a single open window.
Font Alteration
Submitted by deerb on Saturday, 9 October, 2010 - 08:33
How do you change the font displayed by the jedit editor? I have always used Frankin Gothic Medium Condensed as it is an easy font to read and does not take up too much space

Is ther any way of altering the font used for displaying code in the editor, either directly or acessing a configuration file?

deerb
Python mode changes
Submitted by tdir on Saturday, 9 October, 2010 - 18:24
How is the Python mode (python.xml) file maintained? How does one communicate with its maintainer regarding changes?
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.
User login
Browse archives
« September 2010 »
MoTuWeThFrSaSu
 
1
2
3
4
5
7
8
10
11
12
13
15
16
19
20
21
24
25
26
27
28
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   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