jEdit Community - Resources for users of the jEdit Text Editor
Archives
search the variable definitions
Submitted by yyq on Monday, 27 September, 2004 - 06:17
I am a new user, is there a feature that can automatically list the header file which includes the highlighted variable's definition? This can make reading C programs easier.
Declaring Schema/DTD for XML files
Submitted by Michael36 on Monday, 27 September, 2004 - 10:53
Hello,

I'm not able to tell jEdit the location of the DTD of my XML document.

There is a system identifier within the XML file (...!DOCTYPE note SYSTEM "note.dtd"...). The DTD file resides in the same directory.

But nevertheless the XMLInsert module of jEdit does not make any proposals for allowed elements/tags at caret position since the DTD wasn't recogised at all.

Do I have to edit any catalog or configuration files? Who can help?

Greetings and thanks in advance,

Michael.
Saving Search Result
Submitted by digitsnake on Monday, 27 September, 2004 - 13:52
Can someone show me how to save the HyperSearch Result into a file?
Thanks.
Working directory
Submitted by Anonymous on Monday, 27 September, 2004 - 22:09
Is there a way to get the working directory to follow the current directory in the File System Browser? I looked all through the Options, the Help and this forum for any information but could not find any. Am I blind or isn't this an option?
4.2 and BufferSelector not updating tab
Submitted by Anonymous on Tuesday, 28 September, 2004 - 20:58
I just started using version 4.2 final. BufferSelector 1.0.6 (the latest) appears to be broken. My config worked perfect in 4.1.

For some reason, now BufferSelector won't update its highlighted tab when I press Ctrl+PgUp/PgDn, even though the file does switch. It just stays stuck on the last tab that happened to be active when I start the editor. Mouse clicking a tab works.

I've seen this on both Linux and Windows. And I see it with many combinations of plugins installed, including no extra ones.

Any ideas?
VFS and HTTP based protocols
Submitted by Anonymous on Wednesday, 29 September, 2004 - 06:13
Hi,

I have recently done some work on the DAV plugin.

One of the issues that came up was the use of VFS for http based protocols.
If I register my protocol as http, then jEdit tries to use my plugin to access
any files with a http URL. Of course http urls could be stored on a standard
Web server or on a webdav server or on a soap server etc etc etc.

To get around this, I registered my protocol as webdav. The plugin converts this to http
when it acceses the server. (In jEdit, I specify webdav://myhost/mycollection).

However, this causes its own problems. If I download an XML file from the Weddav server
and this file references a style sheet or schema with a http url, jEdit cannot download
these referenced files. If I modify the references to webdav URLs that stuffs up other
software.

It appears to me the the VFS interface is not flexible enough to handle http based protocols.

Is there any way around this?
AutoFormat ?
Submitted by theWax on Wednesday, 29 September, 2004 - 08:56
i have a very messy .js file.
How can I autoformat it now within jEdit?
Cheers.
jan
Plugin Bundle (Nightly?/Other?)
Submitted by dogleg on Wednesday, 29 September, 2004 - 14:46
Is there an aggregate file containing the Plugin Central plugins as a single file download?
Could really use a plugin aggregate file with all the prerequisites.
Any periodic (nightly) frequency for creating the bundle would do.
I'm working offline/wireless on a machine and do not have high speed lazy load capability per plugin.
Same settings and plugins for all users?
Submitted by cyther on Wednesday, 29 September, 2004 - 17:37
Hi!

How to set up jEdit so that all users (on Linux) use the same settings, plugins etc?
Sorry if it a FAQ (I didn't find any clue in the Help or FAQ).

Thanx
Cyther
Open With Jedit in context menu didn't work - problem solved
Submitted by Anonymous on Wednesday, 29 September, 2004 - 17:41
After deinstalling a pre-Version and installing the final version of Jedit4.2 the Open With Jedit in context menu didn't work anymore.

Changing the following Registry-key (Win Xp) solved the problem:

HKEY_LOCAL_MASCHINE\SOFTWARE\Classes\*\Shell\Open with JEdit\command

"c:\j2sdk1.4.2\bin\javaw.exe" -jar "C:\Programme\jEdit\jedit.jar" -reuseview "%1"

to simply

javaw.exe -jar "C:\Programme\jEdit\jedit.jar" -reuseview "%1"
(as javaw is in my path anyway)
OpenGL Accelerated Java2d with jedit
Submitted by Anonymous on Thursday, 30 September, 2004 - 11:33
Hi,

Has anyone managed to get an improvement with the jdk1.5 with opengl acceleration on linux or windows ?

I don't see any speed increase when I run jedit with "java -Dsun.java2d.opengl=true" on my linux box.

PS. Is there a known way to understand if opengl acceleration is being used or not ?

Thanks.
Bookmarks and changed buffers
Submitted by Anonymous on Friday, 1 October, 2004 - 15:10
Hello everybody,

I love the bookmarks. They are perfect when working with long files. But the setting of a bookmark changes the status of the buffer to CHANGED. I thing it's a little bit confusing. Is it necessary? I hope it isn't.

Petr
Java error with OS X
Submitted by Anonymous on Saturday, 2 October, 2004 - 19:23
Hi,

I installed jEdit on my Mac running OS X (10.2.6). When I launch jEdit, I get an error message that says, "Mac OS plugin requires newer version of Java (MRJ 99)." I have the very latest update of Java from Apple installed on my computer, though, so I don't know why it says that. Any help would be greatly appreciated.

Thank you,
Sally
antialiasing GUI
Submitted by Anonymous on Sunday, 3 October, 2004 - 03:52
I just learned that Java v1.5 has a command line switch to force font antialiasing :
-Dswing.aatext=true

I tried it with jEdit 4.2 final on Win2K and it works!
Extremly slow I/O over VPN
Submitted by Anonymous on Sunday, 3 October, 2004 - 17:26
Hi,
I have this problem with jEdit. I'm using it to edit files on SMB mapped disk over VPN. The link speed is 128/16KBs. The problem is that all I/O operations are extremly slow in jEdit. Browsing directory with 30 files takes about minute to finish (with explorer it takes about 1 sec). Saving buffers behaves even stranger. Sometimes it takes 1-2 secs and sometimes even 1 minute to save 10-20KB large buffer (with other editors it takes always cca 2-3secs). Also when I switch to jEdit it takes cca 1-2secs to draw it's window (but this time is stable) and switching between buffers is quick as normal.


Can anyone explain me this strange behaviour? I've tested JRE 1.5.0 and 1.4.1, jEdits 4.2final and 3.2.

Radek
Jedit4.0 (not jEdit 4.0)
Submitted by Anonymous on Monday, 4 October, 2004 - 00:54
Found another jedit. Hmm, even the most recent version numbers are pretty close. Although I get a feeling that this one is more of a "Japanese edit" rather than "Java edit." What are the possible ramifications of this? Would a worm hole in the spacetime continuum appear that connects us to a parallel universe (haven't seen back to the future in a while)...??
Odd coding style support?
Submitted by Langman on Monday, 4 October, 2004 - 18:08
Hi,

I just started working on a new project that is using a very unique (read: I hate it) codeing style..

Any idea how I can modify the cplusplus.xlm so that it is more friendly to this style???

int x(int i)
...{
...switch(i)
......{
......case 1:
.........return 10;
......}
...return i;
...}

(ignore the dots. They were needed to maintain the structure)

Note that the body code and the {} line up, which is different from the so called "GNU coding style". I got it working so that the '{' is indented correctly but I can't seem to prevent jEdit from indenting again for the line following the '{'. Also, I can't see how I can tell jEdit to reduce the indent level for lines following a '}'..

Any help would be much appreciated.
Proper Case
Submitted by jpbroome on Tuesday, 5 October, 2004 - 20:41
Anyone have a macro or know of a plugin that handles more Text Case options than just UPPERCASE or lowercase? Specifically, I'm looking for "Proper Case" or "Capitalized", where every first letter in a selection is capitalized.

Here's a spiffy javascript function that does it. Anyone have a jEdit equivalent?

function toTitleJscript(str) {
return str.replace(/(s[a-z])/g,function (match) { return
match.toUpperCase() });

Thanks in advance
Allow multiple docked views for one plug in
Submitted by Anonymous on Tuesday, 5 October, 2004 - 21:49
As I understand, jEdit allows one Option Pane per plugin as evident in the dock position assignment screen.

It would be very cool to have multiple views for one plugin.

Example:
A CVS plugin could have these views
1. "CVS Repositories" - contains the list of repositories with checkout function
2. "CVS Resource History" - contains revision change details
3. "Synchronization" - list of files that are changed locally or remotely
Select RegExp HyperSearch Matches (Select_HyperSearch_Matches_RegExp.bsh v1.0 by Jakub Holy)
Submitted by malyvelky on Thursday, 7 October, 2004 - 07:41
A Beanshell macro script for the jEdit text editor - selects all matches for the last HyperSearch in the current EditPane. Contrary to the original macro that selects the whole line containing (the start of) a match, this one sets the selection exactly from the beginning of the match to its end thus possibly spanning across multiple lines. Thanks to this it's well suitable for regular expression search.
User login
Browse archives
« September 2004 »
MoTuWeThFrSaSu
 
11
23
25
 
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