jEdit Community - Resources for users of the jEdit Text Editor
Archives
C++ fonction declaration to definition (declarationToImplementation.bsh v0.1 by clement)
Submitted by clement on Friday, 17 March, 2006 - 13:33
Macro that transform a C++ fonction declaration into a fonction definition. The class name is added according to filename of current buffer. To use, copy the fonction declaration into the .cpp file you want to define the fonction and apply the macro. The semi-colon at end of declaration is expected to be copied and is removed. Happy coding, Clément.
Edit Mode-specific Shortcuts (key bindings)
Submitted by bmc on Friday, 17 March, 2006 - 18:23
As far as I can tell, from digging through the docs and the API, there's no support for mode-specific key bindings. This feature would be *really* useful.
WikiWord (WikiWord.bsh v1.7 by Peter Theobald)
Submitted by turtlecove on Friday, 17 March, 2006 - 18:52
Find the word the cursor is on and open a file by that name.

Can find [Filename in brackets] or wordsSeparatedBySpaces or words-separated-by-tabs.
Can also jump to specific locations within the current file or other files by using text anchors like this: [myfile#this-anchor] or [myfile:this-anchor] or MyFile:This-anchor or MyFile#this-anchor . Anchors are searched for as [this-anchor] or if that isn't found just the anchor text anywhere in the file.
Configuration options can be specified in the text file to use filename patterns and search paths.

I use this to set up a directory full of hyperlinked text. Attach a keyboard shortcut to the macro for quick jumping. I use control-TAB because it's next to control-` (previous file). So I can put the cursor inside a [WikiWord] and bounce back and forth to the file with control-TAB and control-`

New features added in V1.7, 2009-10-19

You can add the directives [path:xyz] or [rpath:xyz] anywhere in the document to set up search paths for documents. For example, the WikiLink [books-wanted.txt] will look in the current directory first, then in each directory in the path. rpath means 'recursive', which will search in that directory and all sub-directories under it.
You can also add the directives [filepattern:xyz] anywhere in the document to set up file name patterns, for example: [books-wanted] with [filepattern:$-notes.txt] will try to open 'books-wanted' and 'books-wanted-notes.txt' in the current directory and any directories in the path set up by [path:] and [rpath:]s. By default the given [WikiWord] itself ($) and WikiWord.txt ($.txt) are found first.
Note: I usually put all of my [path:][rpath:][filepattern:] directives at the end of my file.

Personally, I keep all of my life's information in text files, and I use this to set up indexes, tables of contents, cross-references, etc. between my documents.
I use this as follows: I have a main-index.txt file I always keep open. It has a line for each project I am working on with a WikiLink like this: Human Genome Project: decoding human genome [genome] due 1/15/2008 -and at the bottom of the main-index.txt file I have: [rpath:D:\Docs\Projects][filepattern:project notes $.txt] so it will look in my entire projects tree and find 'project notes genome.txt' when I click on [genome] and hit ctrl-TAB.

(This is my first jEdit macro. Enjoy.)

Magically matching caret on new SideKick Plugin with SideKickTree nodes
Submitted by mabushadi on Friday, 17 March, 2006 - 21:52
Hello,

I've been working on a SideKick extension parser (for FOCUS code) and was successful in adding Assets to the SideKick tree using SideKickParsedData. Clicking on the SideKickTree will make the caret jump fine to the right place in the textarea. But I can't get the reverse to happen. I can't click on the code buffer and have the SideKickTree adjust to the right node. Just how do you achieve that magic?

Your guidance is greatly appreciated.
Thanks and regards
problems rebuilding clipper jar
Submitted by jesseainskeep on Saturday, 18 March, 2006 - 21:36
Ok, I followed the directions, made a new clip library, added it to the jar file and all that stuff.

Now, I think my problem is that I just need to rebuild the jar file.

Can someone tell me how to do this. I tried with NetBeans, and the visual basic suite, neither will do it for me.

What am I doing wrong?

Thanks in advance.
Ruby Plugin: auto-completing quotes and brackets not working
Submitted by malesca on Sunday, 19 March, 2006 - 00:25
I've installed jEdit 4.3pre3 and the Ruby Plugin, but I find the auto-completion of quotes and brackets doesn't work. On my previous computer, I had jEdit 4.2 and the Ruby Plugin, and the auto-completion worked fine.

Does it work in 4.3 for anyone? Have I missed some setting? If I don't get it working, I'll try downgrading to 4.2.
Change from 1 into 2 Monitors
Submitted by lucy on Tuesday, 21 March, 2006 - 17:04
Change from 1 into 2 Monitors - how does it work and what should I install or buy, like cable or something. I know it seems to be stupid but I doesn´t know anything about this theme.
UMN Mapserver Mapfile Edit Mode (mapfile.xml v1.0 by Kenton Williams)
Submitted by williamskg6 on Tuesday, 21 March, 2006 - 19:14
This is a University of Minnesota Mapserver Mapfile edit mode for syntax highlighting while creating mapfiles. You can visit the UMN Mapserver website at http://mapserver.gis.umn.edu/ for more details about Mapserver.
perlsidekick - especially for the author
Submitted by cvicari on Wednesday, 22 March, 2006 - 12:04
Hi everybody,
I installed the latest version of PerlSideKick in jedit 4.2final, using the plugin manager.
But, after installation, it claims that SideKick >= 0.5 is needed, while SideKick 0.5 claims that it needs at least jedit4.3pre3.
I guess that we need either to change dependencies handling, or simply the requirements for PerlSideKick.
Search dialog doesn't display - Solution
Submitted by stanberka on Wednesday, 22 March, 2006 - 18:10
Once a while I'm hitting the problem that the search-and-replace dialog doesn't stops showing up when requested (either way). I have found (after spending two hours +) that I have to delete the lines:
search.y=194
search.x=1248
from the "properties" file that is in user's .jEdit folder.
Console plugin version from plugin manager is for 4.3pre not the stable 4.2final
Submitted by matthewyoung on Thursday, 23 March, 2006 - 04:53
Or is this customary how jEdit work? That's all plug-in fetch by the plugin manage is for the latest whatever release?
Console : where are the error patterns ?
Submitted by Baldurien on Friday, 24 March, 2006 - 18:19
Hi,

I just installed the last version of the Console plugin, and *pouf* : no more pattern for the error list! So when I run my make command, I don't have the error in the error list (which is practic when with C++ ...)

I don't want to rewrite them all, so I decided to desinstall Console, and reinstall it, but since it seems that the pattern are not even in the release :/

What could I do?
JTA_SSH and JTA_TELNET
Submitted by beaubert on Monday, 27 March, 2006 - 14:57
Hi all,

I try to use the JTA_SSH and JTA_TELNET plugin for jedit 4.2.
The JTA_TELNET plugin works but there are problems with focus and sometimes the connection seems to be lost.

But I'm unable to use the JTA_SSH plugin. I'm asked for the login and the passwd and after that nothing .... The ssh conection works well in a shell. I know that the JTA_SSH and JTA8TELNET can't work both a the same time so I remove the .jedit/jars/JTA_TELNET.jat file before using the JTA_SSH.

I'm using version 0.21 of both plugins. Are they in development ? Is there a workaround for those problems ?

Thank's for your help.
Francois
code browser
Submitted by Robert Schwenn on Monday, 27 March, 2006 - 18:11
It would be helpful, if codebrowser would make the directory of ctags.exe the current directory for the ctags-process (and only for this process, not for jEdit) everytime it is started. So ctags.exe finds a ctags.cnf file in this directory.


Here's the reason:
I use ctags with a ctags.cnf file and have to store this file in a common directory, so that it will be available for all users. On Windows there seems to be only one appropriate site for ctags.cnf: the directory where ctags.exe resides. Well, that's pretty good, BUT: ctags founds the cnf only when this directory is the current working directory. I do it before starting jEdit, but it's nasty when You want to open files from outside jEdit, i.e. from the commandline...

Robert
jEdit 4.3pre3 - ConfigurableFoldHandler plugin broken
Submitted by keithbcg on Monday, 27 March, 2006 - 19:20
Hi -

I'm reposting this to the bug report forum from the troubleshooting forum, just in case that'll help.
(see: http://community.jedit.org/?q=node/view/2580).

Is there any hope of a fix for this plugin? I miss it.
email to the author bounces (Chris Kent - ckent@espeed.co.uk)
Anyone?

Thanks - Keith

------------------------------------------------------------
(from the Troubleshooting Forum post...)

It looks like the ConfigurableFoldHandler plugin is broken under jEdit 4.3pre3.
I'm seeing similiar behavior running jEdit on
Mac OSX 10.4.5 with Java 1.4.2 or 5.0, and on
Redhat Linux with Java 1.5.0_02
(If I turn on custom folding, the entire text display area goes white when it
tries to redraw, the gutter area goes blank, and the error message below
appears...)

Anyone have and idea when/if the ConfigurableFoldHandler plugin might be fixed?

[error] AWT-EventQueue-0: Exception in thread "AWT-EventQueue-0" 
[error] AWT-EventQueue-0: java.lang.AbstractMethodError: org.gjt.sp.jedit.buffer.FoldHandler.getFoldLevel(Lorg/gjt/sp/jedit/buffer/JEditBuffer;ILjavax/swing/text/Segment;)I
[error] AWT-EventQueue-0:  at org.gjt.sp.jedit.buffer.JEditBuffer.getFoldLevel(JEditBuffer.java:1685)
[error] AWT-EventQueue-0:  at org.gjt.sp.jedit.buffer.JEditBuffer.isFoldStart(JEditBuffer.java:1630)
[error] AWT-EventQueue-0:  at org.gjt.sp.jedit.textarea.Gutter.paintLine(Gutter.java:555)
[error] AWT-EventQueue-0:  at org.gjt.sp.jedit.textarea.Gutter.paintComponent(Gutter.java:141)
...
INVALID PROPERTY
Submitted by rcosta on Wednesday, 29 March, 2006 - 17:17
I need some help. Please.

I'm trying to add to a mode a way to mark as INVALID, using reg exp, several situations:
- the use, in one line, of the character ( without the corresponding );
- the use of an if statement without any condition following the if;
- the use of an if statement without the corresponding endif.

This mode will be used for xBase languages (FlagShip, xHarbour, ...) in CGI mode allowing the inclusion of CSS, Javascript and HTML. It will be made available for who wants to use it.

Thanks in advance.
Rui Costa
Dreamweaver-style locking?
Submitted by rbauer on Wednesday, 29 March, 2006 - 18:18
Can a macro or plugin be written to support dreamweaver-style file locks? If you're not familiar with these, they are files created having the same name as the file you're editing, but with a .LCK appended. The lock file contains your username and some other user info (email address, machine you are working on). Primitive, yes, but would be really nice to have in jEdit.

Thanks!
R
LookAndFeel 1.1 with jEdit 4.2final -- "Cannot start...Unsupported major.minor" -- "Try updating..."
Submitted by Phrawm48 on Wednesday, 29 March, 2006 - 22:18
jEdit 4.2final, LookAndFeel plugin version 1.1, JRE 1.5.0_06.

Both the jEdit Plugin Manager and the the LookAndFeel plugin page (http://plugins.jedit.org/plugins/?LookAndFeel) tell me:

- Version 1.1 of LookAndFeel is the latest, greatest version

- Version 1.1 is intended for use with jEdit 4.2final

Despite this, if I install LookAndFeel 1.1 I receive the following "Plugin Error" message box when I start jEdit 4.2:

C:\Program Files\jEdit\jars\LookAndFeel.jar:
"Cannot start: java.lang.UnsupportedClassVersionError: lookandfeel/LookAndFeelPlugin (Unsupported major.minor version 49.0)
Try updating to a newer version of the plugin.

But as best I can tell there is no newer version of the plugin.

Any ideas?

Cheers & thanks,
Ric
SFO
help setting jedit with java in linux
Submitted by tflex on Wednesday, 29 March, 2006 - 23:20
Hi,
I am using Ubuntu Linux (Latest Stable Core). I installed java software development kit from sun and now it is time to configure jedit. I got all the plugins needed for developing java applications and it seems to be working fine as well. Everything compiles fine but doesn't run fine. If I make helloWorld application in java using jedit, that works fine and displays the correct result but if I try to use joptionpane like JOptionPane.showMessageDialog (null, "Hello World!"); then I get following error message in jedit console screen. Also the code I used has no errors (It has been compiled before in windows).

** ERROR **: file ../../../src/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: line 572 (createRawData): assertion failed: (data_fid != 0)
aborting...
Process java exited with code 134

I'm unable to find out why this happens as I'm new to linux. Please any help appreciated.
linux jedit & java help!!
Submitted by tflex on Wednesday, 29 March, 2006 - 23:24
Hi,
I am using Ubuntu Linux (Latest Stable Core). I installed java software development kit from sun and now it is time to configure jedit. I got all the plugins needed for developing java applications and it seems to be working fine as well. Everything compiles fine but doesn't run fine. If I make helloWorld application in java using jedit, that works fine and displays the correct result but if I try to use joptionpane like JOptionPane.showMessageDialog (null, "Hello World!"); then I get following error message in jedit console screen. Also the code I used has no errors (It has been compiled before in windows).

** ERROR **: file ../../../src/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: line 572 (createRawData): assertion failed: (data_fid != 0)
aborting...
Process java exited with code 134

I'm unable to find out why this happens as I'm new to linux. Please any help appreciated.
N.B: Sorry for double posting, but this post belongs to troubleshooting.
User login
Browse archives
« March 2006 »
MoTuWeThFrSaSu
  1
20
25
26
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   108249
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