jEdit Community - Resources for users of the jEdit Text Editor
Archives
4.2pre9: Overiding the default line seperator globally
Submitted by Anonymous on Tuesday, 24 February, 2004 - 02:59
I used to be able to set the default line seperator (\n, \r, \r\n) for all buffers in jEdit 4.2pre8. This was great since, I really prefer using the line feed character of *nix as opposed to the carriage return + line feed of DOS/Windows. Unfortunately, this seems to be missing in pre9. Is there a quick and dirty 'fix' for this?
ToggleHeaderSource.bsh v1 by Vladimir Avdonin
Submitted by vldmr on Tuesday, 24 February, 2004 - 03:09
Toggles current buffer between header and source. Both files should have same file name. Header extensions are .h*, sources are .c*
Both files has to be currently open for magic to work. Otherwise nothing will happen.
Serving suggestion: A+BACK_QUOTE Enjoy
(New) not working
Submitted by aabbaabb on Tuesday, 24 February, 2004 - 06:55
I suppose the (New) text is not working in this forum.

Sometimes a forum (e.g. Using jEdit) says there is new messages, but when you open a forum there is no (New) text behind any messages (but there is a new messages!).

Also sometimes when there is e.g. new messages in Troubleshooting, also "root level" Developer Discussion shows that there is new messages (but Troubleshooting is not under Developer Discussion).


If you think this should be working, then the problem might be that I am using forums behind the HTTP proxy and maybe someone else behind the same proxy has messed up my (New) messages (even he/she doesn't use my login name!)
'Count' option is 'Search and Replace' dialog
Submitted by Anonymous on Tuesday, 24 February, 2004 - 07:07
I would like a 'count' option in the 'Search and Replace' dialog for counting the number of occurances. Now I have to search and replace the same string. This means the buffer has changed and this is not desirable as there is no 'real' change. Currenlty I'm using jEdit 4.2pre8.
FTP doesn't work with TANDEM/Guardian ftp server
Submitted by michael_zee on Tuesday, 24 February, 2004 - 15:53
I try to connect my TANDEM host "myhost" as account "my.account" from my PC running JEdit, and I get an error message :

ftp://my.account@myhost:21/~/:
Cannot list directory : ft.FtpException : 550 XCWD valid $volume.subvolume format required

I searched for a while but didn't find which ftp servers are correctly handled by ftp plugin. I'm afraid TANDEM/Guardian ftp server is not.

Can someone help ?

Thank you
Line (not word) wrapping
Submitted by christophergraz on Tuesday, 24 February, 2004 - 17:36
Is there a way to wrap lines at a particular column or the window border? I mean wrapping at the column regardless of whitespace, as opposed to word wrapping which only wraps when there is a whitespace break.

Word wrapping is nice for text and coding, but it's not useful for reading log files with long lines that have no whitespace.

Thanks.
Templates plugin howto
Submitted by SimonWaltr on Tuesday, 24 February, 2004 - 22:38
I came to jEdit after finding very few code editors out there written for Mac that are worth their salt. I must say, to this you have the best application available for Mac that I am aware of (non-commercial at the very least).

I am curious about the templates pluggin however. Are there any good howto's to develop new templates?

Also is there a good autocomplete method I should be looking into? Templates vs. macros, et cetera. I am specifically looking for PHP...

As a side note, it would be really handy to have some doc for the templates pluggin... I don't find it intuitive to use (especially since I have yet to figure it out).

Thanks a ton,
-Greg
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?
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