jEdit Community - Resources for users of the jEdit Text Editor
Getting 4.1 color scheme
Submitted by Anonymous on Tuesday, 6 April, 2004 - 00:45
I really liked the syntax highlighting for java in JEdit 4.1. Version 4.2 seems to be a lot more colorful and I just cant get use to it. Is there an easy option to turn 4.2 highlighting to look like 4.1? I tried using global options but I just cant get it right.

Thanks,
need help setting up Jane and CodeAid for Java code completion
Submitted by Martin Honnen on Monday, 5 April, 2004 - 17:56
I have JEdit 4.1 here on Windows XP and would like to use CodeAid for code completion when editing Java source files. I am not sure how to set up a libary with Jane so that the SUN SDK/JRE API is known to CodeAid.
I have set up one library named jsdk14 with Jane with the following paths:
Source Path: C:\Program Files\Java\j2sdk1.4.1_01\src.zip
Class Path: C:\Program Files\Java\j2sdk1.4.1_01\jre\lib\rt.jar
Doc Path: D:\docs\Java\j2sdk1.4.1\docs\api

Unfornunately the documentation is not very detailed about what for instance is the right thing (directory or index.html or ?) to point the doc path to.

When I now try a simple Java program like

public class Test20040405 {
public static void main (String[] args) {
String s = "Kibology for all.";
System.out.println(s.

and select Plugins->CodeAid->Complete I get a dialog window with a BeanShell error:

java.lang.NullPointerException

at codeaid.popup.ContextPopup.updateY(ContextPopup.java:231)

at codeaid.popup.ContextPopup.refresh(ContextPopup.java:164)

at codeaid.popup.ContextPopup.removeCompletionContext(ContextPopup.java:131)

at codeaid.popup.ContextPopup.addCompletionContext(ContextPopup.java:100)

at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at bsh.Reflect.invokeMethod(Unknown Source)

at bsh.Reflect.invokeObjectMethod(Unknown Source)

at bsh.BSHPrimarySuffix.doName(Unknown Source)

at bsh.BSHPrimarySuffix.doSuffix(Unknown Source)

at bsh.BSHPrimaryExpression.eval(Unknown Source)

at bsh.BSHBlock.eval(Unknown Source)

at bsh.BshMethod.invokeDeclaredMethod(Unknown Source)

at bsh.BshMethod.invoke(Unknown Source)

at org.gjt.sp.jedit.BeanShell.runCachedBlock(Unknown Source)

at org.gjt.sp.jedit.BeanShellAction.invoke(Unknown Source)

at org.gjt.sp.jedit.gui.InputHandler.invokeAction(Unknown Source)

at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(Unknown Source)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.AbstractButton.doClick(Unknown Source)

at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)

at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)


Any hints on what could be wrong and how to properly set up Jane with a library so that the SUN JDK/JRE classes are known to CodeAid for code completion are appreciated.


Martin
save change file owner
Submitted by FelhoBacsi on Monday, 5 April, 2004 - 10:03
Hi!

I'm using jedit 4.2pre9. When I save a file the owner of the file is being changed.
I read that two stage save cause this, and I can turn off this behviour in Loading and saving pane at global options, but I don't have this menu item there.
Where can I turn off?

Thx,
Felho
Where to get the Icon Pack from Windows Screenshot No.1
Submitted by Anonymous on Sunday, 4 April, 2004 - 17:00
Hi Guys i was wondering, if someone could tell me where to get the iconpack from the screenshot page, the first shot in the windows section.

btw, pretty good job, i like that editor much.
newbie help please
Submitted by xlander on Sunday, 4 April, 2004 - 13:57
I am trying to edit the default.ini for dues ex 2, but I can't seam to get anything but a beep when I try to edit it. I know I'm a rookie but the last time I edited something like this I was able to use notepad. Unfortunately this one will not let me change anything through notepad. So I guess what I'm looking for is basic jedit instructions to change a few values ( like 1.25 to 0.0 or .75 to 4.75). I tried reading the help file but I am not a programmer, so I don't understand half of what its telling me to do.
thanks, the newbie
FTP Plugin + Backups?
Submitted by sandy on Saturday, 3 April, 2004 - 21:59
Hello...I'm new to jEdit but really enjoying it. For school I do a lot of work on a remote server, and while I like using the FTP plugin to directly edit these files, I'd also like to have jEdit automatically backup to my workstation (the school server is notoriously unreliable). I set in the global options for jEdit to automatically backup upon every save to a specified backup directory on my local machine, but it doesn't seem to be working for files opened with the FTP plugin. Am I missing something? It's also not creating the directory on the remote server, as far as I can tell. Thanks!
AntFarm and jEdit 4.2pre11
Submitted by Anonymous on Saturday, 3 April, 2004 - 21:07
To get plugin AntFarm to work in jEdit 4.2pre11. 1. Download and build from jEdit cvs. 2. Download ANT 1.5 from Apache 2a Copy /lib/ant.jar to /jars 2b Copy /lib/optional.jar to /jars 2c Rename /jars/optional.jar to /jars/ant-optional.jar Note: AntFarm does not support ANT 1.6, is the an update underway from this cool tool?
Beautify/Format blocks of code
Submitted by CJreige on Friday, 2 April, 2004 - 20:21
Does anyone know of a way to beautify/format the following code using a search/replace with a regular expression?

I'd like to format the code from this:

set north [lindex $string_list 0]
set east [lindex $string_list 1]
set elevation [lindex $string_list 2]
set arsenic [lindex $string_list 3]
set sulph [lindex $string_list 4]

to this:

set north [lindex $string_list 0]
set east [lindex $string_list 1]
set elevation [lindex $string_list 2]
set arsenic [lindex $string_list 3]
set sulph [lindex $string_list 4]

In other words, I'd like the different parts each line of the code block to line up vertically.

Thanks for any insight.
syntax highlighting for non-registered file extensions
Submitted by hopia on Friday, 2 April, 2004 - 19:15
I've just recently started using JEdit.
How can I assign a file extension to a specific syntax highlighting scheme?
For example, I would like to associate *.dsm files to vbscript syntax highlighting (in addition to the default *.vbs).
Any help would be appreciated.

Thanks,
hopia
File Associations, under Windows
Submitted by Anonymous on Friday, 2 April, 2004 - 06:01
Hey - I use jEdit as my primary editor (I'm a recent convert), and I love it to bits. There hasn't been a single feature that I've needed that I couldn't find in the core application or in a plugin, and it runs remarkably well, for a Java program.

I've been wondering if there's any way to make jEdit the default application for opening a whole bunch of file types, on my Windows machine, without having to do it manually or write a program for it - having to do it one file type at a time would become painfully tedious.

Any ideas? Thanks in advance! Smiling
import text file at cursor location
Submitted by mbl on Tuesday, 30 March, 2004 - 21:00
Dear friends,

Have been using Jedit for a few days, and do like it a lot.

As of yet, however, can't seem to find a way to import complete short text files at the cursor location. These would be typical brief code files or skeletons, or comment files, located at some directory, usually not the current directory.

If it's not possible, would also appreciate to know that, so as not to keep trying to find the feature.

Opening a file to Copy-and-Paste is what am doing, but is somewhat cumbersome when one wants the complete short file inserted at the cursor location.

Thanks for any help afforded.

-mbl-
HTML Syntax Highlighting
Submitted by Anonymous on Tuesday, 30 March, 2004 - 04:54
Hi All,

Any can give me idea how to use the syntax highlighting for HTML or other in Jedit? I’m struggle finding how to use this feature.

I’m downloaded the jEdit 2.2.1 Syntax Package and I don’t know how to install this package.

Thanks in advance
Jython Macro debug mode (how to set options!)
Submitted by WGW on Tuesday, 30 March, 2004 - 04:43
I have been trying to write jython macros. One thing I have not understood properly is whether there is a macro debug mode for jython macros. I can't seem to find any documentation on it. I did find the options file, with the following entry.

options.jython.python.verbose.values=debug comment message warning error


But I'm not sure what to do with it (I'm assuming I should put it in the properties file.)

Should I put it in as is? Will it allow macro debugging?

Many questions!
JDiff Plugin 1.3.2 is broken; how do I get 1.4.2 to work?
Submitted by Champ on Saturday, 27 March, 2004 - 23:52
Having upgraded from 4.2pre9 with JDiff 1.3.1 plug-in (on Windows), I was disappointed that 4.2pre11 with JDiff 1.3.2 does not work (error shows Beanshell stack trace) Sadly, I could not find 1.3.1 anymore to revert this upgrade!

I have since discovered JDiff 1.4.2 (plug-in) upgrade but cannot seem to plug this in manually either under the program directory or my user settings. The Plugin manager still shows 1.3.2 even after removing and re-installing!!

I am obviously missing something but upgrading should surely not be so obscure!

TIA anyone? Alan
Where do I put the SQL Files...
Submitted by Gary Furash on Friday, 26 March, 2004 - 14:31
I'm sure this is obvious, but...
When I'm making the XML file for configuring my data sources for SQL plugins, where do I store it (the directory) and what should I call the file (something.xml). Should I have a separate xml file for each data source?
Missing Mac OS Plugin?
Submitted by OceanEric on Thursday, 25 March, 2004 - 19:18
Hi!
I am new to jEdit and XML, and when launching the editor, I keep getting the following message: "Mac OS Plugin requires a newer version of Java (MRJ 99.0)."
I've been searching for some time now but without any success.
Can anyone help?
Thanx
OceanEric
can´t make jedit proxy settings work
Submitted by bpfurtado on Wednesday, 24 March, 2004 - 11:30
Hi folks,
Unfortunately I can´t make my jedit proxy settings work, I´m really sure the all data are correct (host, port, username, password). Have anyone experiencied similar problem?
Problems with latex tools
Submitted by Anonymous on Wednesday, 24 March, 2004 - 09:37
When I try compile my .tex document using the latex tool plugin I get this error:
> %kill
No process is currently running
> cd "/home/amigo/Documents/p2"
> pdflatex -c-style-errors '/home/amigo/Documents/p2/master.tex'
Working directory is /home/amigo/Documents/p2
/usr/bin/pdflatex: unrecognized option `-c-style-errors'
Try `/usr/bin/pdflatex --help' for more information.
Process pdflatex exited with code 1

do anyone know why it isn't working?

I am using jedit 4.2 pre 8

/cs amigo
cp852 encoding
Submitted by Anonymous on Monday, 22 March, 2004 - 15:00
I would like to replace my DOS source code editor with JEdit. However, I need to keep the OEM codepage 852 encoding because my other colleagues still want to use the former DOS application to edit the same sources. I tried to Save a file with cp852 encoding but some special characters are replaced with question marks after reload. Is Cp852 supported? Which font should be set for the text? Could anyone suggest any free or shareware editor to solve my problem?

Thanks a lot
jEdit, FTP and Zope
Submitted by Anonymous on Monday, 22 March, 2004 - 07:23
Moin,

I try to use jEdit and the FTP Plugin for remote editing auf Zopefiles. I can read and write the files without any problem but after saving a file the zope object type changes. I open a "Zope Page Template" and after saving it is a "Zope Document". I tried it with other editors (emacs, xemacs) and that works as expected.

Is there any known issue with jEdit 4.1final?
Matthias
User login
Browse archives
« May 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
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   83281
Context Free Art (*.cfdg)   0.31   46055
BBEdit scheme   1.0   18595
JBuilder scheme   .001   18495
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293