jEdit Community - Resources for users of the jEdit Text Editor
Archives
jEdit Applet?
Submitted by SignificantBit on Saturday, 21 February, 2004 - 02:35
Greetings guys,
I'm looking for a jEdit or like cross plataform editor that work as a java applet. I'm involved on a development project in which we would like to implement a browser-based interface (ide if you like) for coders to work. Sintax highlighting and indentation are the main features we are looking for. Any solutions out there? Any jEdit-based applet?
Multiline search/replace
Submitted by setmajer on Saturday, 21 February, 2004 - 12:47
Apologies if this is an obvious question, but the answer isn't apparent from the online docs:

I switch back and forth between Mac and Windows regularly, and am evaluating jEdit as a replacement for HTMLKit & BBEdit so I don't have to remember two sets of preferences, shortcuts, etc.

One of the features both ot those apps have is multi-line input for find/replace. That is, a largeish text box that allows one to input multiple lines of text for both the search and replacement strings. jEdit doesn't seem to offer this feature. In fact, from the documentation (and my experimentation), it doesn't seem jEdit allows one to search for a multi-line string at all.

Am I missing something, or does jEdit really not handle multi-line replacements?

TIA
Image dimensions when writing HTML
Submitted by setmajer on Saturday, 21 February, 2004 - 12:53
Another question regarding using jEdit as an HTML/PHP/ECMAScript/CSS editor:

One great time saver in BBEdit/HomeSite/HTMLKit/etc. is the ability to get the dimensions of an image from within the app. While this isn't really something I would expect as core functionality, I'm surprised I can't find a macro or plugin to do this.

Is this something that's not possible? Or have I just not dug far enough into BeanShell to figure out?

TIA
File system browser shortcuts and positioning of items in the toolbar
Submitted by Anonymous on Sunday, 22 February, 2004 - 15:33
Hi,
Thanks for an excellent browser.
Two requests:

1) I have looked around but I can't find any way to attach a keyboard shortcut to the "Directory of current buffer" option that I use all the time. I can't put an icon on the main toolbar (see 2) either.

2) The way I prefer to position is to the left and have it as narrow as possible to free up editing space. Unfortunately, I then have difficulty seeing the toolbar dropdown items.
It would be nice if it was possible to have the file browser toolbar items in on the main toolbar. On my machine, the latter is almost empty since I know most of the commands by heart.
writing a macro that repeats to end of file
Submitted by Anonymous on Sunday, 22 February, 2004 - 20:12
I'm having trouble writing a macro that repeats to the end of file. I want the curser to move down 2 lines, then delete, then move down 2 lines, then delete, repeatedly until the end of file is reached.

I wrote the macro that moves down 2 lines and deletes and tried repeating using C+Enter, but if you give it a number that goes past the end of file it starts deleting lines that I don't want deleted.

There's got to be a way to do this. Anyone know?
dave
Whacked permissions on a shared drive under Win2K
Submitted by setmajer on Sunday, 22 February, 2004 - 20:33
This is as likely due to my own pathetic admin skills as anything, but here goes:

I'm running jEdit from a 'power user' account on a Win2K laptop. I'm editing a file that resides on a Mac OS X.2.8 desktop. 'Windows File Sharing' is enabled on the Mac, and that's how I'm connecting to it with the PC (I used an theusername/p'word from an admin account on the Mac I connected to it, if that makes a difference).

I mapped the folder containing the file using 'Map Network Drive...' on the Win2K machine, then opened it in jEdit, made a trivial change and saved it. Thereafter, the permissions were set to 740 (they had been 755). I can't set the permissions back via the Windows Explorer, either, so I have to get up and walk over to the Mac to fix the permissions.

Any ideas what I've screwed up?



Some additional observations:

-- When viewed from the Mac, the permissions of the directory are 755. When viewed from the PC, there's no access allowed for anyone other than my own account (the file's owner). I've tried changing the permissions on the directory from Windows to allow everyone to read & execute the folder but it never sticks; the PC just churns for 5 min. or so, then closes the Properties dialog; when I reopen it, the permissions are unchanged.

-- jEdit changes the permissions on the files if I access it directly from the network location (//hostname/directory/file.ext) as well.

-- HomeSite doesn't ever change the permissions on the file, but HTML-Kit misbehaves just as jEdit does.

-- jEdit behaves itself if I open the file via FTP, but I'd rather not type a URL + username + password every time I want to open a file.
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.
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