jEdit Community - Resources for users of the jEdit Text Editor
Archives
Go to Ruby method v0.5 (Go_to_Ruby_method.bsh v0.5 by Rob McKinnon)
Submitted by robmckinnon on Monday, 23 February, 2004 - 05:35

Brings up a popup menu of Ruby methods that are in the current buffer grouped by class and ordered alphabeticaly. Selecting a class or method from the menu places the caret at that member's location in the file.

New in v0.5:

  • Submenus show if there are multiple classes in file.
  • Show wait cursor while popup is being generated.
  • Fixed bug that occurred when "class" or "def" are preceded by non-white text.
XML plugin: Detect encoding
Submitted by Anonymous on Monday, 23 February, 2004 - 12:33
When loading an XML document the XML plugin should detect, and switch to, the encoding specified in the XML header.

Example:

<?xml version="1.0" encoding="utf-8"?>
<exampledocument/>

 My default character-encoding is cp1252. If I were to open the example-document I would risk corrupting the document when saving. Instead I wish that the XML plugin should recognize encoding="utf-8" and automatically switch.
LaTeXTools Urgent Bug Fix. (LaTeXTools.jar v0.5.1 by Anthony Roy)
Submitted by antroy on Monday, 23 February, 2004 - 13:55
Version 0.5 of the plugin replaced the General Options pane in jEdit's Global Options with its own General Options. This release fixes that bug.
Locking a New View
Submitted by Anonymous on Monday, 23 February, 2004 - 15:56
Hi,

I took a quick look through the documentation but couldn't find anything relevant. My apologies if this is clearly addressed somewhere.

jEdit is fantastic, but there is one "feature" which annoys me. Occasionally I like to create multiple views (via the "New View" button) for different files I'm editing at the same time. However, whenever I open a new file it updates the current buffer in *each* view to reflect that new file. I then have to switch back to the correct file I was editing in each view. Is there a way I can tell jEdit NOT to switch the current buffer when opening a new file for a particular instance of a view?

Hopefully what I'm asking is clear. Thanks for any help.
JUnit output problems
Submitted by joycestack on Monday, 23 February, 2004 - 16:53
Hello Everyone,

I have a simple test that has the following code in a method

assertEquals( "hello", "hello 34534" );

This obviously fails. JUnit says it succeeds and I have println's everywhere but nothing is being output to the console.

What do I need to do ?

Thanks,

Joyce Stack
JGoodies L&F
Submitted by ahmetaa on Monday, 23 February, 2004 - 18:05
It would be nice if there is a JGoodies or Alloy look and feel available. it looks slick..
For an example app:

http://columba.sourceforge.net/downloads_webstart.php
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.
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