jEdit Community - Resources for users of the jEdit Text Editor
Archives
Is there an ability to view "Procedure" lists (Function Lists in UltraEdit)
Submitted by Anonymous on Wednesday, 28 July, 2004 - 03:11
Community,
I currently use UltraEdit but will want to go over to jEdit on my Linux machine.
In UltraEdit there is a list one can view (similar to the browser list) that one can set up to show the beginning of each procedure. By double clicking on a specific procedure, one is transported to the line in the main editor window.
In UltraEdit it's found on View | View/Lists | Function List.
Is there such a beastie on jEdit or anything similar.
No "Tilde" possible in jEdit
Submitted by Anonymous on Thursday, 29 July, 2004 - 09:10
Hi,
im using jEdit for a few days now and I must say the developers have been doing a really good work on it. But I have a strange problem which makes the editor almost unusable for me: I can't enter the "tilde"-sign (~) in the text window, although it works in all of my other applications.
I'm using version 4.2pre15 on a Debian Sarge system and Java RE 1.4.2.

Any Hints?

Greetings from germany,
Daniel
intelliscence
Submitted by averydarkplace on Thursday, 29 July, 2004 - 19:53
I've used Visual Interdev for many years. I've been using jEdit for the past week. I like jEdit better. But the one thing that I miss from V Interdev, which I find vital, is intelliscence. Intelliscence is when you type in the name of a function and the editor displays a little pop-up of the parameter list. For example, type the word "instr(" and a yellow popup displays this: "instr(start,string,string2,[compare])".
changing colors of the dock panels
Submitted by paulflory on Friday, 30 July, 2004 - 15:31
Anyone know how to change the default colors of the docking area? (File System Browser, HyperSearch Results, etc)

The colors in general are fine, but the thing that bothers me is that the *selected* panel does not stand out very clearly on my laptop display, which is what I use for work. So it's difficult to tell which panel to click to close down the docking area.

In a nutshell, there's poor contrast between the unselected and selected docks.

Thanks for any tips,
Paul
optionPane and properties
Submitted by Anonymous on Friday, 30 July, 2004 - 18:14
How to tell jEdit to immediately write a property to the properties file, before clicking the apply or ok button of the optionPane?thanks
Jeff
changing colors of the dock panels
Submitted by Anonymous on Friday, 30 July, 2004 - 20:34
Anyone know how to change the default colors of the docking area? (File System Browser, HyperSearch Results, etc)

The colors in general are fine, but the thing that bothers me is that the *selected* panel does not stand out very clearly on my laptop display, which is what I use for work. So it's difficult to tell which panel to click to close down the docking area.

In a nutshell, there's poor contrast between the unselected and selected docks.

Thanks for any tips,
Paul
hypersearch results window--can fontsize be increased
Submitted by mchunkat on Saturday, 31 July, 2004 - 06:43
Am a total jedit newbie...Found it to be much faster than expected...wanted to know whether there is any way to increase the fontsize of results in the hypersearch results window. My eyesight is not what it used to be...thanks in advance.
Mohan Chunkath
ChangeLog Edit Mode (changelog.xml v1.00 by Null Flux)
Submitted by Null Flux on Sunday, 1 August, 2004 - 05:04
Significantly more detailed than the previously posted ChangeLog mode. It closely mimics how Vim colors ChangeLog files.
2 questions - folding and opened files
Submitted by diabl0 on Sunday, 1 August, 2004 - 10:06
I have 2 questions about jEdit.

1: How to configure jEdit that it can fold sourcecode betwen { and } (or other configured chars/strings)... for example code looks like that:

function gen_new_size($old_x, $old_y, $new_x, $new_y) {
$gen_x = $new_x;
$scale = $old_x / $new_x;
$gen_y = intval( round( $old_y / $scale ) );
return array($gen_x, $gen_y);
}

and now i want to fold it to:

function gen_new_size($old_x, $old_y, $new_x, $new_y) { [4 lines]
}

------------------------

2: I usualy working o multiple files (5-10), and in prewious versions of jEdit, when i quit jedit and then launch it again, all opened files was still opened. Now, when i close and reopen jedit, it starts with blank file.
What/where is option to force jEdit to keep opened files open after reopen?
source code de-comment
Submitted by Anonymous on Sunday, 1 August, 2004 - 12:45
I really enjoy the built in command for source code line comment.
it would be great to have a source code line de-comment command.
or even - a source code line comment toggle command.

thanks
Copy or Cut Lines Containing
Submitted by tflight on Sunday, 1 August, 2004 - 17:52
Hello, I'm new to jEdit coming from BBEdit. BBEdit had functions called "Copy Lines Containing..." and "Cut Lines Containing...". I can't find that jEdit has a similar function, does it exist?

For those that are not familiar with those functions here is an example. Take the following text file:

bananas, apples, oranges, grapes
apples, bananas, grapes
oranges, grapes
bananas, oranges, apples, grapes, kiwi

If you choose the "Copy Lines Containing..." function and specify 'bananas' as your query your clipboard will be set with the following

bananas, apples, oranges, grapes
apples, bananas, grapes
bananas, oranges, apples, grapes, kiwi
Request help: Home key goes to column 1
Submitted by pobox90210 on Monday, 2 August, 2004 - 02:00
How do I set the home key up so that when pressed, the cursor goes to column 1. Currently it seems to go to the first non white-space character which could be in column 10!
Peter
Request Help: Switching between open files
Submitted by pobox90210 on Monday, 2 August, 2004 - 02:04
Using the keyboard, how do I switch between open files. I currently have to select the bar just above the text area which brings down a drop down list and select the other program from there. Ideally I would like to set up Ctrl-Tab as a 'swap open files' key
Peter
Real block cursor?
Submitted by Anonymous on Monday, 2 August, 2004 - 10:10
What did you do to the block cursor? It was really a block
like in terminal so it could be easily seen, and now it is
four pixel-wide lines. Not only it might be tiring to find that thing, but the lines interfere with the lines of text while a block was an unobtrusive background. Perhaps an option for a real block cursor? 4.1 segfaults on my system for some reason, both on 1.4.2 and 1.5 beta 2, so I have to look for another editor, or somewhat do 4.1 work again.
persistent Line Numbers
Submitted by theWax on Monday, 2 August, 2004 - 10:23
Hi,
i don't want to turn Line Numbers on every time i start jEdit. how can i make them stay?
cheers.
w.
Assigning a syntax to a buffer
Submitted by PaulGGardner on Monday, 2 August, 2004 - 21:30
Is there a way to assign a syntax mode to the current buffer. I get files that have one extension while containing code that uses another. For example, Python, VBScript and JavaScript renamed to txt in order to pass our firewall. I would like to identify the language via a command, or menu or something w/o having to actually change the file extension.

Thanks,
Paul
PlugIn for AspectJ / changes AntFarm
Submitted by tiziano on Tuesday, 3 August, 2004 - 08:39
I'm looking for a plugin for AspectJ, but seems that nobody is working on this topic. Rigth?
It would be also sufficient AntFarm with AspectJ library for Ant. I tried: it works but if there is some errors (either in aspect class or normal class) the errors are reported on ErrorList but the message is unusefull and clicking on error do not go on correct line. I'm not sure this is a bug? Is there any workaround?
thaks
tiziano
Set buffer Read Only
Submitted by Anonymous on Tuesday, 3 August, 2004 - 20:00
I'd like jEdit to add the ability to set a buffer "Read Only", independently of filesystem permissions. This is useful to prevent accidental editing of a file that's open for reference only.
NEdit has this feature, and it's the one I miss most in jEdit.

Thanks!
Frank
The 9th Circle of Hell: building a jEdit distribution with ant
Submitted by namxat on Wednesday, 4 August, 2004 - 04:47
Hello. I am not new to jEdit, but I am fairly new to ant. I am trying to build the dist target, and am routinely rewarded with a quite verbose, yet uninformative, list of errors.

Now I don't know if I should be superuser when I build this (I assume I should), and I don't know what environment variables ant and/or jEdit's build.xml file expect (the build.xml file is not enlightening to me). None of this is documented anywhere that I could find. I do have my $JAVA_HOME global environment variable set to '/usr/java/j2sdk1.4.2_05', and '$JAVA_HOME/bin' is included in the global $PATH variable.

Upon initial examination of ant's output, it appears as though none of the standard j2sdk classes are being found by ant. Since pretty much EVERY modern distribution of Sun's JDK includes the standard Java class files on the system classpath by default (1.4.2 DEFINITELY does), the only explanation I can think of is some sort of rogue dynamic classloader issue. In any case, I am thoroughly convinced that had Dante's Inferno been written in modern times, dealing with ant and/or dynamic Java classloading would have been listed as one of the punishments for sinners in the 9th Circle of Hell.

But enough venting from me. If anyone can think of any glaring newbie mistake I might be making after examining the following error trace from my pitiful attempt to build a jEdit distribution, I would greatly appreciate the advice:


[root@localhost jEdit]# ant dist
Buildfile: build.xml

init:
[delete] Deleting: /usr/src/jEdit/doc/docbook-wrapper.xsl

compile:
[javac] Compiling 362 source files to /usr/src/jEdit
[javac] /usr/src/jEdit/org/gjt/sp/jedit/textarea/TextAreaPainter.java:54: error: Superinterface `TabExpander' of class `org.gjt.sp.jedit.textarea.TextAreaPainter' not found.
[javac] public class TextAreaPainter extends JComponent implements TabExpander
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/syntax/Chunk.java:305: error: Type `TabExpander' not found in the declaration of the argument `expander' of method `init'.
[javac] public void init(Segment seg, TabExpander expander, float x,
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/syntax/DisplayTokenHandler.java:43: error: Type `TabExpander' not found in the declaration of the argument `expander' of method `init'.
[javac] TabExpander expander, List out,
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/syntax/DisplayTokenHandler.java:156: error: Type `TabExpander' not found in declaration of field `expander'.
[javac] private TabExpander expander;
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/gui/TextAreaDialog.java:89: error: Type `JTextArea' not found in the declaration of the local variable `textArea'.
[javac] JTextArea textArea = new JTextArea(10,80);
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/gui/ViewRegisters.java:119: error: Type `JTextArea' not found in declaration of field `contentTextArea'.
[javac] private JTextArea contentTextArea;
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/gui/AbbrevEditor.java:216: error: Type `JTextArea' not found in the declaration of the return type of method `getBeforeCaretTextArea'.
[javac] public JTextArea getBeforeCaretTextArea()
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/gui/AbbrevEditor.java:222: error: Type `JTextArea' not found in the declaration of the return type of method `getAfterCaretTextArea'.
[javac] public JTextArea getAfterCaretTextArea()
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/gui/AbbrevEditor.java:229: error: Type `JTextArea' not found in declaration of field `beforeCaret'.
[javac] private JTextArea beforeCaret, afterCaret;
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/gui/AbbrevEditor.java:229: error: Type `JTextArea' not found in declaration of field `afterCaret'.
[javac] private JTextArea beforeCaret, afterCaret;
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/gui/PasteFromListDialog.java:124: error: Type `JTextArea' not found in declaration of field `clipText'.
[javac] private JTextArea clipText;
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/pluginmgr/InstallPanel.java:449: error: Superclass `JTextArea' of class `org.gjt.sp.jedit.pluginmgr.InstallPanel$PluginInfoBox' not found.
[javac] class PluginInfoBox extends JTextArea implements ListSelectionListener
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/print/BufferPrintable.java:28: error: Class or interface `javax.swing.text.TabExpander' not found in import.
[javac] import javax.swing.text.TabExpander;
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/print/BufferPrintable.java:375: error: Superinterface `TabExpander' of class `org.gjt.sp.jedit.print.BufferPrintable$PrintTabExpander' not found.
[javac] static class PrintTabExpander implements TabExpander
[javac] ^
[javac] 14 errors

BUILD FAILED
file:/usr/src/jEdit/build.xml:35: Compile failed; see the compiler error output for details.

Total time: 4 seconds
[root@localhost jEdit]#
compiles JDK 1.5.0 ok, but runs JDK 1.4.1 (why?)
Submitted by Anonymous on Wednesday, 4 August, 2004 - 14:57
Hi, I have jEdit configured to use
C:\jdk1.5.0\bin\javac
for compiling, but I see no place where I can tell it to execute with
C:\jdk1.5.0\bin\java
unless I hand type it all out in the console plugin. It seems to default to my /prior/ 1.4.1 jre installation's java.exe
C:\Programs\jdk1.4.1_02\bin\java
How do I set the default to be the correct JVM? Thanks! Thomas
User login
Browse archives
« July 2004 »
MoTuWeThFrSaSu
 
4
14
17
22
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   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