jEdit Community - Resources for users of the jEdit Text Editor
Archives
emacs-like keyboard
Submitted by steph on Monday, 20 February, 2006 - 21:33
Hi, I'd like to change globally all the shortcuts so that an emacs user would be instantly at home
I've seen that it is possible to change any shortcut...but it is too tedious to do it this way for every escape sequence
maybe the best way would be to permit a few styles: jedit, emacs, whatever
is it possible to generate a file with all the actual keyboard shortcuts (in a form that can be reread by jedit Smiling...from there it should be easy to generate another "style"
any thoughts?
thanks
XML Plugin: Updated Ant Completion
Submitted by Stillglade on Tuesday, 21 February, 2006 - 16:20
The Ant code completion when editing a build.xml file is currently outdated (based on Ant 1.5). This functionality is driven by the ant-complete.xml file found in the XML Plugin (a sort of DTD for Ant). I created an Ant task that when run will generate an updated ant-complete.xml based on the version of Ant used when running the task (it uses the Introspection Helper to see all available task/types and their attributes/sub-elements). I created a patch for the build.xml of the XML Plugin so that when built, it will also update the ant-complete.xml file as part of the build. This will keep this file from getting out of date in future releases of the XML Plugin (assuming that new versions of Ant are used when building for a release). Also, this is useful for those who wish to build the plugin themselves as it will allow them to use Ant code copletion with their specific types and tasks which may be added to their local Ant installations.

I recently created a bug report which has these changes attached - http://sourceforge.net/tracker/index.php?func=detail&aid=1432414&group_id=588&atid=565475
Manipulating jEdit from external process.
Submitted by PaulCollingwood on Wednesday, 22 February, 2006 - 10:24
I was wondering if anyone knows if it's possible to access a running version of jEdit (and it's plugins) from an external application?

I have very,very little understanding of Java, but instincts tell me that maybe this could be achieved via a JVM instance in control of an application.
Could someone confirm whether this is possible?

The reason I would like to perform such a task is to invoke calls to the ErrorList pligin, via it's addError() call, as is outline here....

http://community.jedit.org/cgi-bin/TWiki/view/Plugins/PluginDebuggingTechniques

I would like to write a WIN32 application that performs such a tesk, and this would ideally be written in either VB or C.

Has anyone got any ideas how I would get started on this?

Many Thanks Smiling
Windows Native Launcher?
Submitted by tony72 on Thursday, 23 February, 2006 - 12:58
Hi, I recently installed jEdit 4.2, and it seems to be a great editor. But I can't seem to associate it with any file types. From googling, it sounds like there used to be a native launcher for this purpose, but it doesn't seem to have been installed with 4.2, and I don't see a standalone download anywhere. Is there a way to do this?
How to use and configure JcrontabPlugin
Submitted by ebart on Friday, 24 February, 2006 - 09:03
Do any body know about information on using JcrontabPlugin? I've installed this plugin, it is seen in Plugin Manager as loaded. There is no JcrontabPlugin item in Plugins menu. jEdit produceses errors caused by this plugin like: [error] JcrontabPlugin: java.io.FileNotFoundException: /home/eb/.jcrontab/jcrontab.properties (No such file or directory) [error] Cron: at java.lang.Class.forName0 (Native method) [error] Cron: at java.lang.Class.forName0 (Class.java 141) [error] Cron: at org.jcontab.data.DataFactory.(DataFactory.java:52) ... and so on I don't know exactly what does it meen.
Saving word wrap settings
Submitted by J2R on Friday, 24 February, 2006 - 19:18
Not sure if this is a bug. Every time I open a document, the word wrap settings have reverted to None. I change the Word Wrap to Soft at 120 columns in Buffer-Options, save the document. When I reopen it, the word wrap has gone and I have to set it again. Any suggestions?
Howto use Includes Parser plugin ?
Submitted by dwg E on Sunday, 26 February, 2006 - 13:30
I've put this line in my main html file:
< ! - - * * C:\Documents and Settings\dwg E\included.html * * - - >

Includes Parser outputs an empty file.

Further info:
- the file I'm trying to get included does exist
- my files use UTF-8 character encoding
- jEdit 4.2 on Windows XP Pro Sp2

Help!

dwg E.
Memory leak, memory growth?
Submitted by ilazarte on Monday, 27 February, 2006 - 07:30
I'm noticing in the heap monitor, even though JEdit starts at only a 4/5 mb value, it slow creeps up even if I'm not doing anything to as far as 12 MB. This may happen over the course of an hour or so. I've been restarting the prog when it gets that far to reclaim usage. Thankfully the restarts are pretty much instantenous Smiling

I'm using jEdit 4.2 final, with several plugins:
CssEditor 0.3
ErrorList 1.4
FTP 0.7.3
Jakarta Commons 0.4.4
Latest Version Check 1.5
LookAndFeel 1.1
QuickNotepad 4.2
SideKick 0.3.4
XML 0.13

Any way to avoid this? Should I be using 4.3 dev instead?
Whats the release plan? and how have I missed this great editor for so long? Smiling
Live-Search or Filter Plugin
Submitted by cyrus on Monday, 27 February, 2006 - 15:00
Hello,
is there a plugin that shows all contents from an open buffer that matches to a search-string?
I want all non-matching content immediately hidden, so that a seach performs like a filter.
It would be very usefull to show immediately for example all special tags in a html-file and so on...
Best regards,
Marc
How to change line spacing?
Submitted by doublebacks on Wednesday, 1 March, 2006 - 06:13
Is there any way to change the spacing between lines in jEdit?
When I use a fontset containing Chinese font and English font, the line spacing is too big, where can I adjust it?

Best Regards.
Will WSAD and other VM instance cause jEdit slow down?
Submitted by ianwu on Thursday, 2 March, 2006 - 03:49
Dear all,

I am doing some development with WSAD, and it is known that doing jsp editing on the WSAD is slow, since WSAD will launch its validator, and then do some wired things, which makes saving a JSP file taking longer than 30 sec.

My collegaues would use ultraedit to do editing and saving JSP. Me, being a fan of jEdit, would rather do JSP editing with my beloved jEdit. Unfortunately, I have noticed jEdit gets unusually slow, the CPU ultilization isn't high at all.

Could this be caused by WSAD also uses java VM to run? Will serveral VM running together compete for resources? Are there parameters that I could set in my javaw.exe when i launch jedit?

Ian
Another gratuitous testimonial for jEdit
Submitted by rowck001 on Friday, 3 March, 2006 - 02:00
Oh no!! not another rave about how good jEdit is!! Writing this here is probably preaching to the converted but IMO jEdit is simply the best platform for developing java applications I have found.

I use Linux on both my elderly Toshiba Notebook (600Mhz and 128Mb RAM) and a powerful desktop system (3Ghz and 1GB RAM) and jEdit is faaaaast and responsive even on the old laptop where Netbeans and Eclipse are out of the question with their bloated memory requirements. Even other java-written IDE's and editors run like a slug if you have less than 512Mb RAM. Adding project, ANT, Junit, Jindex and Jcompiler plugins give me a profesional, powerful environment to develop in java both for University projects and outside applications.

Love ya Slava et al .... and Linux and open-source!!!

Craig Rowlands
GUI Designer Plugin would be ace!
Submitted by rowck001 on Friday, 3 March, 2006 - 02:08
If anyone could develop a Swing Designer Plugin that supports the gridbag or absolute positionaing layouts then using Jedit for GUI apps would be like being kissed on the d*#k by a fairy (the winged angel kind!)
GUI Designer Plugin would be ace!
Submitted by rowck001 on Friday, 3 March, 2006 - 02:10
If anyone could develop a Swing Designer Plugin that supports the gridbag or absolute positionaing layouts then using Jedit for GUI apps would be like being kissed on the d*#k by a fairy (the winged angel kind!)
Treat c- as c++-files
Submitted by flowerjt on Friday, 3 March, 2006 - 13:08
Dear jEdit users, I want c-files to be exactly highlighted as c++-files without always changing buffer options. In v4.1final this was the case but after upgrading to v4.2final it is treated in a different way. Any suggestions?

Thanks
JEdit and Python
Submitted by bbbbbb on Saturday, 4 March, 2006 - 10:16
Hello ,
Is it possible to use JEdit with Python?
I mean if it is possible to run Python scripts directly from JEdit.
Thanks
L
History file no longer updated but other settings files are
Submitted by John Jameson on Saturday, 4 March, 2006 - 16:49
File ~/.jedit/history is no longer being updated between sessions, though it is still read at startup.

Permissions are OK, and other settings files (eg activity.log) _are_ being updated OK.

Any advice/suggestions appreciated!

Version: 4.2final, MacOSX 10.4.5, java 1.4.2_09

Plugins:

BufferTabs.jar
Clipper.jar
CodeBrowser.jar
ColumnRuler.jar
CommonControls.jar
Console.jar
CssEditor.jar
CssValidator.jar
ErrorList.jar
FTP.jar
JCounter.jar
JDiffPlugin.jar
JakartaCommons.jar
Jump.jar
PHPParser.jar
ProjectViewer.jar
RETest.jar
SideKick.jar
TaskList.jar
TextFilter.jar
WhiteSpace.jar
XML.jar
XSLT.jar
XmlIndenter.jar
bcel.jar
commons-codec-1.3.jar
commons-collections.jar
commons-httpclient-2.0.1.jar
commons-lang-2.0.jar
commons-logging.jar
htmlparser.jar
j2ssh-common.jar
j2ssh-core.jar
jEditCvs.jar
kappalayout.jar
log4j.jar
xalan.jar
xercesImpl.jar
xml-commons-resolver.jar
xmlParserAPIs.jar
xmlrpc-2.0.1.jar
Does jEdit have Autocomplete for C++?
Submitted by Zdravko on Sunday, 5 March, 2006 - 11:37
Does jEdit include some kind of code autocompletion? Let's say I have a C++ object and I want by typing: obj. to have all member functions listed. Or for example when I type :: to have every function in that namespace?
Why do I get two instances of jedit in the taskbar (windows xp)
Submitted by Craig Schmidt on Monday, 6 March, 2006 - 15:33
I had been using jedit without any problems. However, a few days ago I started getting two instances of jedit whenever I start it. That is, there are two applications called jEdit in the task manager, there are two icons that appear in the task bar, etc. The two copies of jedit sort of stay in sync. (They update themselves to have the same files open.) If you quit one, the other quits as well.

I don't have any sessions defined except "default". To my knowledge, I didn't do anything to get this behavior.

I start jedit with the following shortcut:

"C:\Program Files\Java\jre1.5.0_04\bin\javaw.exe" -mx96m -jar "C:\Program Files\jEdit\jedit.jar"

I'm running windows xp.

Any suggestions?
Thanks,
Craig Schmidt
Automatically run Ant on the default target of the build file for frontmost buffer (Run.bsh v1.0 by Philip Weaver)
Submitted by philmaker on Tuesday, 7 March, 2006 - 09:47
It's kind of cumbersome to have to switch between ProjectViewer and AntFarm during development. So I created this simple macro (3 lines) to allow me to press command-r to run the nearest build file for the frontmost buffer. You'll also need to create a keyboard shortcut yourself.

The script assumes that AntFarm and ProjectViewer are docked in the same pane. Whenever AntFarm runs, its panel becomes visible automatically, so the macro quickly switches it back to ProjectViewer (which I always leave open.)

If you have any questions or would like to enhance this, feel free to contact me at philip at philmaker dot com. All of this is documented in jEdit help:

- Console Plugin Help: 6. Macros and the Console plugin
- AntFarm Plugin Help: 5. The Ant Shell
- jEdit API Reference: org.gjt.sp.jedit.gui.DockableWindowManager
User login
Browse archives
« February 2006 »
MoTuWeThFrSaSu
 
8
11
17
19
23
25
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