jEdit Community - Resources for users of the jEdit Text Editor
Archives
XInsert fixed for 4.2 (XInsert.tgz vI have no by Nathan Tenney)
Submitted by euler on Wednesday, 25 February, 2004 - 01:40
I made a one line fix to XInsert to get it to load in jEdit 4.2pre9.
Search Ruby documentation v0.2 (Search_Ruby_documentation.bsh v0.2 by Rob McKinnon)
Submitted by robmckinnon on Wednesday, 25 February, 2004 - 06:42

Allows user to search Ruby documentation using ri (Ruby interactive reference). I map this to: ctrl+r ctrl+i

  • Brings up dialog for user to enter search term.
  • Macro runs ri on term, and reports ri results in another dialog.
  • Remembers last term searched, and places it in search entry field.
  • If user has selected text, then that is placed in search entry field instead.

New in 0.2: lengthly results placed in scroll pane; handle error that occurs when results overflow native system's std out buffer.

See other ideas for Ruby editing macros.

Reload button in Plugin Manager
Submitted by trondgzi on Wednesday, 25 February, 2004 - 07:16
When developing a plugin, it would be great to have the possibility to reload the plugin from the filesystem. I have only been able to remove a plugin and reinstall it from the plugin central.

If this is already possible can someone please tell me how?
vim emulation would be so key
Submitted by Anonymous on Thursday, 26 February, 2004 - 02:32
I just started playing around with jedit today, and it looks like a great editor. But having come from vi, as I imagine many jedit users have, the keyboard shortcuts, macros, etc have become well-ingrained in my head, and have made me a much faster programmer for it.
I would absolutely love to see a vim plug-in. It looks like somebody started a project called vimulator, but it doesn't appear to work at all, and doesn't appear to be in active development.
Are there any plans for something like this? Anyone willing to pick it up?

Thanks,
Jon
Slow operations Progress Dialog
Submitted by Anonymous on Thursday, 26 February, 2004 - 08:42
Hi! I would like a Progress Dialog for operations that take more than a few seconds. Recently I ran a regex replace all on a very big file. After pressing the Replace All I had no way of knowing how mush of the operation was left, no way of cancelling the operation, and no way of knowing if the application has crashed. I would like a progress dialog with a progress bar and an cancel button. This should appear for all operations that take more than a few seconds, examples include search/replace and macros.
Also during the replace operation, when switching to another window and then back to JEdit, the JEdit window became grey and behaved strange. Maybe this could be some problem with repaint being blocked or delayed. Better thread handling maybe?
Thanks for the best text editor!
Spookyy
(A tip for Java news: javarss.com)
Word wrap Shortcut
Submitted by Anonymous on Thursday, 26 February, 2004 - 09:02
Hi! I would like to create a keyboard shortcut to change word wrap mode. I couldn't come up with any way to do this. Maybe I could make a macro that change word wrap mode (or does this exist?), and then bind a key to this macro. How do I change word wrap mode from bean shell?
Any help with this topic would be mush appreciated, thanks!
Spookyy
Toggle Word Wrap (Toggle Word Wrap.bsh v1.0 by Lee Turner)
Submitted by lturner on Thursday, 26 February, 2004 - 09:44
Beanshell macro to toggle word wrap for the current buffer in the order of none, hard, soft.
Get/set Edit mode?
Submitted by Anonymous on Thursday, 26 February, 2004 - 11:46
Hi! I would like to toggle the edit mode with a key. For this I need to get and set the edit mode with bean shell. How is this done?
Any help appreciated, thanks!

Spookyy
Can't type quote characters
Submitted by Anonymous on Thursday, 26 February, 2004 - 16:32
Problem: When typing the ' or the " character, nothing appears on the jEdit input window.

Environment:
Linux 2.4.21 - basically RedHat 7.2 with updated kernel and libraries
Java2 1.4.0_01-b03

The ' character is a dead-key. Typing it twice gets the character. This works in all other applications I use.

Attempts to fix:
I've tried this in jEdit 4.1, jEdit 4.2pre6, and jEdit 4.2pre9 with the same results.
I've read all the documentation and have read through the message archives. No one else seems to have reported this problem. Thus I suspect it's unique to this machine's configuration.

Using the jEdit->Utilities->Troubleshooting->Keyboard Tester I get the following results:

In jEdit 4.1, pressing the ' key results in

Event java.awt.event.KeyEvent[KEY_RELEASED,keyCode=129,keyChar=' ',keyLocation=KEY_LOCATION_STANDARD] on org.gjt.sp.jedit.gui.GrabKeyDialog$InputPane[,0,0,204x25,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=null,alignmentY=null,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@613b53,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],selectedTextColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],selectionColor=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255],columns=0,columnWidth=0,command=,horizontalAlignment=LEADING] passed

Note: in the above, the character between the ' ' was not a space. I replaced it with a space because that's what appeared on the screen. What was there was a 0x3f byte - a question mark. I did a hexdump on the file after I saved the buffer this diagnostic appeared within. Note that the key code is a decimal 129.

In jEdit 4.2pre9 pressing the ' key results in

Event KEY_RELEASED,keyCode=0x81,keyChar=0xffff,modifiers=0x0 passed

I'm not sure what's going on here. Any help?

Roy Kimbrell
Display Shortcuts (Display_Shortcuts.bsh v3.2.2 by John Gellene)
Submitted by Brad Mace on Thursday, 26 February, 2004 - 20:28
Displays the abbreviations registered for each of jEdit's editing modes. The macro provides a read-only view of the abbreviations contained in the Abbreviations option pane. Pressing a letter key will scroll the table to the first entry beginning with that letter. A further option is provided to write a selected mode's abbreviations or all abbreviations in a text buffer for printing as a reference. Notes in the source code listing point out some display options that are configured by modifying global variables.
Trouble installing on Solaris 8
Submitted by Anonymous on Friday, 27 February, 2004 - 00:43
Whenever I try to install jEdit on Solaris 8 I get an error about it not being able to create a dirctory. Here is a text log:

a0864763@giovanni [/home/a0864763] java -jar jedit41install.jar text
*** jEdit 4.1 installer
Installation directory: [/home/a0864763/jedit/4.1] /home/a0864763/bin/jedit/4.1
Install shortcut in: [/home/a0864763/bin]
Install manual page in: [/home/a0864763/man/man1]
*** Program components to install
Install jEdit text editor (4888Kb) [Y/n]?
Install Default set of macros (highly recommended) (168Kb) [Y/n]?
Install API documentation (for macro and plugin development) (7028Kb) [Y/n]? n
*** Starting installation...
Installing jedit-program
Installing jedit-macros
Performing task unix-script
*** An error occurred: The installer could not create the destination directory.
Maybe you do not have write permission?
a0864763@giovanni [/home/a0864763]

I'm installing this in my home directory and I do have write permission everywhere in my home directory.

Please help.

Thanks,
Marlan
Why use gnu.regexp package for regular expressions?
Submitted by ramiojares on Friday, 27 February, 2004 - 14:29
All regular expressions in jEdit are using syntax very different from the syntax
JDK uses. Why not start using the JDK's regex package?
CLASSPATH Windows XP vs JEdit classpath
Submitted by Anonymous on Saturday, 28 February, 2004 - 16:45
Hi, Im having a hard time setting my CLASSPATH in the Environment Varaiabels. I want to add somw package, jar-files to it but it wont simple work. BUT it works like a charm when I add the value to JEdits JCompiler Plugin's classpath. So my question is dose JEdit's classpath override Windows's CLASSPATH?
Tilde won't work in Linux
Submitted by Anonymous on Sunday, 29 February, 2004 - 15:34
I had this issue in Linux, with 4.2 pre 8 and in pre 9 as well.

jEdit does not accept the tilde as a single character. For instance, I tried to type a web address as www.ic.unicamp.br/~ra, but the tilde does not show up.

Latin characters, such as ã, ñ, etc. show fine.

If I use another editor to type the tilde alone, and copy-paste it into jEdit, it works fine.

In Windows it works fine.
Not resolving symlinks - option ?
Submitted by entropy on Monday, 1 March, 2004 - 10:38
Is there any way to prevent JEdit from resolving symlinks ?

Our source control system works by creating symlinks links into a hash directory structure.

So when you try to edit
/source/project_x/foo.c

you see something like
/db/213445/234234/2453425.data

This means that the syntax highlighting doesn't get
enabled automatically. Also, the current working directory is set to the source db which makes it difficult to run make. Sad
XSLT Plugin Problem
Submitted by Anonymous on Monday, 1 March, 2004 - 17:58
I use jedit 4.1 final. I recently installed the XSLT plugin, but the plugin UI doesn't show widgets for selecting the xsl file or for specifying stylesheet parameters. That area is filled with a hatch pattern. I've tried reinstalling the plugin, and uninstall/reinstall jedit entirely, but still no go. ANy ideas?

Thanx
Trouble installing on Windows
Submitted by Anonymous on Monday, 1 March, 2004 - 22:16
I've been trying for the last couple of hours to install jEdit on my computer at work but can't seem to make this happen. As I recall the last time I installed this software on my home computer it was quite simple. I have tried following your instructions on http://www.jedit.org/index.php?page=download but haven't had any luck. I'm hoping you can provide me some guidance before I abandon this software and try something else. I am running Windows 2000 Pro on both my of my systems at home and at work.

So far this is what I have done:
1. Downloaded the latest stable verson (4.1) to a directory named c:\Downloads
2. From here I extracted the jedit41install.jar into the same directory i.e., c:\Downloads
3. Ok . . . Now what???
java formatting updates for JDK 1.5?
Submitted by azahra on Tuesday, 2 March, 2004 - 02:17
I noticed both the JavaStyle and Jalopy plugins don't cope with the new syntax in JDK 1.5 for Java Generics which use <> to specify types. e.g. Hashtable ht= new Hashtable();

Are there any updates planned for either of these plugins?

Syntax package needs a face lift.
Submitted by ramiojares on Tuesday, 2 March, 2004 - 12:18
I have been creating a parser that can create syntax highlighted html documents or fragments based on jEdit mode files. jEdit has an honourable list of modes. There is also some explanation of how the syntax package interprets these mode files. That documentation is only partial though and the separate syntax package is unmaintained.

That is why I decided to do my own parser but reuse the ideas and mode files from jedit for a generic syntax highlight component. But I noticed that the modes and the regex:es used would need more of specification work so that maybe in the future also other editors could parse those mode files and finally there would emerge some sort of standard in specifying syntax highlight modes.

Of course this specification would do good to jEdit's syntax package and it's corresponding documentation.

In the course of the following weeks my intention is to start that process as replies to this topic and if it starts catching some interest then maybe these ideas will be implemented.

My intention is not to add more features to the syntax highlighting system but rather to define it more precisely and also increase it's simplicity and elegance.

unsuported encoding exeption
Submitted by vodnik on Tuesday, 2 March, 2004 - 17:29
I have instaled Jedit. Now I try to open or save a file but the editor gives me the same message as follows: "Unsuported Encoding exeption: ISO8859_2 . Only ASCII and UTF-8 ecnodings work.
My operating system is windows XP Czech location. Normaly I use cp1250 or ISO8859_2 encoding.
Do you have any idea how to repair this problem?
Thanks
User login
Browse archives
« February 2004 »
MoTuWeThFrSaSu
 
7
20
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