jEdit Community - Resources for users of the jEdit Text Editor
Archives
Use JDK instead of JRE
Submitted by hesterloli on Sunday, 2 May, 2004 - 09:28
I have installed a plugin I think which allows compiling java source. Trouble is when I start JEdit it says it can't find tools.jar and that I should use the J2SDK. Well how do I configure JEdit to use the JDK instead of the JRE? Thanks.
Windows context menu not working
Submitted by abunai on Sunday, 2 May, 2004 - 19:45
Hello -
I am having trouble using the context menu in windows xp to open a selected file. When I highlight a file, right click it, I can see the option "Open with jEdit". When I select this, jEdit opens, but not the selected file. The last open file seems to be the one that is displayed. I also found that jedit is unable to open files from the command line ex. "jedit textfile.txt". The only way I can open a file is the open dialog with in jedit. Any ideas?
Multiple Versions Installed
Submitted by Anonymous on Monday, 3 May, 2004 - 15:25
When plugin development trails the current version, I would like to run both the lastest version and a stable version for my favorite plugins.

Is it possible to have more than one version of jEdit installed and usable?

Mark L.
Pre 12 Problem
Submitted by Anonymous on Monday, 3 May, 2004 - 23:04
Jedit would not run after making a few changes to a new untitled file, and then exiting jedit, discarding changes. I use XP SP1 and the jedit build was 4.2 pre12. If you blow away the user directory, then jedit works again. Had to go back to 4.1.
scheme, where do i put the scheme file
Submitted by Anonymous on Wednesday, 5 May, 2004 - 09:03
where do i put the scheme file ? i've search all over the manuals and forums and the search box for the past hour but no mention anywhere. something so simple an instruction cannot be found. where do i put it ?? or rather what extra instruction should i do with it ??

mike
Global Plugins & settings folder
Submitted by CyberSkull on Thursday, 6 May, 2004 - 03:34
Is it possible for jEdit to install plugins/macros in '/Library' in OSX? I don't know how to migrate the plugins from one version to the next without just re-installing (slow, even on broadband). Perhaps in '/Library/Application Support/jEdit'? I think that would bed a good path. Anything version specific would either be installed in the application directory or in a folder with the version name.
Plugins & Toolbar
Submitted by BeanProvider on Thursday, 6 May, 2004 - 10:07
Hello,

I am currently working on a plugin for a stx-debugger (stx is similar to xslt).
So I use a nice toolbar. Is there a possibility to hide the toolbar until
the dockable of my plugin was loaded.

Greetings,
Tolja
how to disable indentNextLine (and the like) inside comments and/or HTML code?
Submitted by Anonymous on Thursday, 6 May, 2004 - 23:33
Hello jEdit users and devs,

I've been using jEdit for about half a year and I simply love it. Installed a bunch of extremely useful plugins, re-wrote my php scheme file to have php5 syntax highlighting and other things missing from the default php scheme (like inline-php inside html tags, etc) but one thing is really bugging me.

How can I turn off indentation of next lines (indentNextLine) when i'm inside comments? Is it possible? I have defined my own indentNextLine RegExp pattern inside the php.xml file, but I'm still affected by it ...

I can say I am quite familier with the language scheme xml files. I saw that for a language, the main properties (like indentNextLine) must be defined inside the <PROPS> tags for the <MODE> and cannot be defined for a <RULE>.

If I could disable indentation of next line when inside comments, then a much simpler but at the same time more customizable regexp patter could be used for indentNextLine ... for example, indent everything not ending in ";|,|.|}" (it's not what I use, but just an example).

Also, is it possible to disable the "Deep Indent" (which I simply love) inside comments? It is really annoying when you don;t close an opened bracket on the same line Smiling

I have a couple other suggestion regarding the syntax highlighting engine but i'll post them in the bug/request forum. I can ask though a question: is it possible to have the same symbol/string for MARK_FOLLOWING and MARK_PREVIOUS? For example I would like "::" to mark everything before as a class name (say, KEYWORD4) and everything after as a property/method (say KEYWORD3). If it's doable from within the xml mode file, please somebody give me a hint.

Thanks a lot, Bogdan
backspace unindent
Submitted by Anonymous on Friday, 7 May, 2004 - 06:03
SciTE has this feature, which is the reverse of "tab indent". With this, I can press backspace once to clear an indentation, instead of pressing it n times (n = tab width). I know the existances of shift-tab and alt-left, but "backspace unindent" can be more efficient in some cases, plus I already get used to it Eye-wink
How to deal with buffer.isPerformingIO() ?
Submitted by Anonymous on Friday, 7 May, 2004 - 16:13
Hi I try to load file and perfomes some transformation on it then save on a loop of file.
But I am having a error on I/O perming so I try to wait for the
buffer to do it's job but then I only manage to have a Message instead of a error
Thread.sleep block Jedit an empty loop too.
this is the only working code but I like it to be without Message.

while(buffer.isPerformingIO()){
//this.wait(2);
//Thread.sleep(10);
Macros.message(view, nBFichier+" buffer.isPerformingIO()" );
}
Actually check to code to see what mode to go into
Submitted by imgod2u on Friday, 7 May, 2004 - 21:21
Right now (as far as I know), jEdit checks the file extension (.c or .java for example) to decide what editing mode to go into. However, both C, Objective-C and C++ all use .h files. And the default is to go into Objective-C. Would it be possible to have jEdit actually check the code (for instance, if there's "class" inside a .h file, it's obviously c++) as well as the extension? This way I won't have to manually change the editing mode (which affects the syntax highlighting).
Encryption
Submitted by Junkeh on Sunday, 9 May, 2004 - 02:31
I think that If a feature such as encryption was added to jedit, it would make it that much better. Because I have not found an encryption utility for mac os [ any version ].



The kinds of encryption I am thinking of is 128 bit to 256 bit encryption with a password. [ you can't decrypt something without the password used to encrypt it.].
Compatibility: JEditPane vs. JEditTextArea
Submitted by thombombadil on Sunday, 9 May, 2004 - 11:02
Hello,
i'm using a java-editor-application developed for my own needs.

Now i'm interested in migrating from JEditPane to JEditTextArea. And now the question: is there anywhere a documentation if there are incompatibilites between these two components.

I've read, that there will be a stand-alone component of the JEditTextArea. Is this right? And if yes, when do you think, will it be published.

Is there also a possibility to take the syntax-highlighting and add it to a standard JEditPane without using JEditTextArea? The Syntax-Highlighting found at http://syntax.jedit.org/ is a little bit out of date, so this isn't interesting to me.

The highlighting as a bean, that could be plugged in a JEditPane would be really great. Are there any ideas, if that's possible?

Thanks for your help! Kind regards......
Server ? networkAccess ?
Submitted by kanedafromparinux on Monday, 10 May, 2004 - 17:32
is it possible to access a Jedit Instance on computer A from computer B ?
Emacs-like key bindings for jedit?
Submitted by Anonymous on Tuesday, 11 May, 2004 - 03:45
Where can I find emacs-like key bindings for jedit? A google search didn't turn anything up.

Thanks,
-Mike
Show size of selected text
Submitted by uhuebner on Wednesday, 12 May, 2004 - 05:48
I often have to check the length of a text/variable. In UltraEdit I used to just select the text and it showed the length in the status bar. Can this be implemented?

Thanks
uhuebner
Docking windows open to outside
Submitted by uhuebner on Wednesday, 12 May, 2004 - 05:53
I am using jEdit not at full screen and fit it's size to the text. So when I open a docking window it reduces my editing window. It would be great if there would be an option to expand docking windows to the outside leaving the editing window untouched.

Thanks
uhuebner
Creating Custom Syntax Highlighting
Submitted by Anonymous on Wednesday, 12 May, 2004 - 14:54
Is there any way to create custom highlighting for file types not listed (e.g. custom test scripts etc)
A 'Go to definition' code browser macro. (Open_Selected_Class.bsh v1.3 by Steve Ewart)
Submitted by sewart on Wednesday, 12 May, 2004 - 20:08
Highlight a class name, run the macro and it will automatically open the source for that class. Similar to "Go to definition" in Visual Studio. Very useful when browsing source code. Could not imagine coding Java in JEdit without this. It can access many different source paths; your projects source, JDK source, etc. Just modify the 'searchPath' at the top of the macro to reflect where your JDK source code (or any source code) is located. Source code for the highlighted class will be opened if: The cursor is on a class name in any part of the file AND there is a import for the class OR there is a wildcard import containing the class OR the class is in the current package (current directory) OR the class is in the java.lang source directory (searchPath must be set) the class is in a different project than current project (searchPath must be set) The cursor is on a line with an import statement A fully qualified class is highlighted (not necessarily an import statement) Limitations: It cannot open a file if the package cannot be appended to any part of the current file's directory structure. It only works with java files, other languages are not supported. Will only find (scroll to) inner classes if it is in an import.
java.lang.ClassCastException at org.gjt.sp.jedit.buffer.KillRing.propertiesChanged(KillRing.java:49)
Submitted by Skylark on Wednesday, 12 May, 2004 - 21:11
Hello,

I don't think this is an FAQ, I've looked around and can't seem to find anything like this either on the forums or on the jedit.org site...

When starting jEdit, the progress bar on the splash screen stops at about 45% and jEdit never starts up. When I try to run it from the command line, I get the following:

D:\Program Files\jEdit 4.2pre12>java -jar jedit.jar
Exception in thread "main" [error] main: java.lang.ClassCastException
[error] main: at org.gjt.sp.jedit.buffer.KillRing.propertiesChanged(KillRing.java:49)
[error] main: at org.gjt.sp.jedit.jEdit.propertiesChanged(jEdit.java:879)
[error] main: at org.gjt.sp.jedit.jEdit.main(jEdit.java:401)

Is this anything I can fix (a problem in my profile or something like that)? This is on one of the machines at school. At home I never had this problem. It started happening after starting jEdit once (the first time it started up correctly, but I haven't been able to get it to start up since).

Any suggestions welcome.
User login
Browse archives
« May 2004 »
MoTuWeThFrSaSu
 
4
8
11
16
23
29
 
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