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
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
adding add. help files
Submitted by
peay on
Thursday, 5 August, 2004 - 08:33
Hi there....
is there any chance to add an additional *.hlp or *.chm
file of another application into the help section ....?
would be great if it would be possible...
thanks for hints
peter
Compiles 1.5.0, but it runs 1.4.1_02 and I can't set it
Submitted by
tgm1024 on
Thursday, 5 August, 2004 - 13:34
Hi, I have jEdit (ver 4.2pre15) 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 (not my prior jedit
installation, since I've never installed it before):
C:\Programs\jdk1.4.1_02\bin\java
When I ask the console plugin for what the current path is, I get this
prepended to the path:
C:\Programs\jdk1.4.1_02\bin;
(...) And this is not showing up in my user path verified both through a
"dos window" and from the control panel->System->Advanced->environment
variables. I'm on windows XP pro.
BTW, there is no such option Start->Programs->jEdit->setjEditParameters. The only two programs
there are
jEdit
and
Uninstall jEdit
And I can find no similar option anywhere within jEdit itself.
What's going on? How do I execute on jdk1.5.0 by default?
"anonymous" name happens when cookies aren't set
Submitted by
tgm1024 on
Thursday, 5 August, 2004 - 13:40
It seems that if your browser doesn't have cookies allowed for the jedit.org website, that the login name will not "stick" and all your posts will be under the name "anonymous".
This happens WITHOUT WARNING.
Task List accross multiple buffers
Submitted by
smsm1 on
Thursday, 5 August, 2004 - 15:02
How about an option to have Task List list all tasks in all currently open buffers? This would be more advantagous than just the current buffer, especially when you are using many small buffers.
Linux creating a (shortcut) link on the desktop
Submitted by
cannon on
Thursday, 5 August, 2004 - 21:11
Hello,
I tried, and so far 'am failing to create a link on the desktop to jedit on my linux box.
My bash script runs fine from the console (only):
#!/bin/sh
#
javaw -Xquickstart -Xms10mg -jar /usr/share/jedit/4.1/jedit.jar
# EOF.
Regarding jedit it self, on linux and with the IBM compiler it runs without much fuss, and almost like a native application - hint renicing it does wonders.
The file browser needs further work on, it is not responsive to double clicks as one would expect (right click/Open is better than double clicking).
This is probably to do with how nodes are linked and the file system being accessed in linux.
My linux installation is mandrake 10, java/jedit have to be installed/twigged manually.
At home only recently I converted to linux; so any help with this would be great.
Regards,
Cannon
Where are global options stored?
Submitted by Anonymous on Thursday, 5 August, 2004 - 21:12
I would like to be able to save my settings...just in case I have to reinstall jEdit again and I'd rather not have to reconfigure the editor to my liking if I can help it.
Where are the global options stored (directory?) and is it just a file I can copy somewhere else and put back if a reinsstall is done?
Peter
JEdit 4.2pre15 freezes for no apparent reasons.
Submitted by
enouk on
Friday, 6 August, 2004 - 10:26
Hi all.
I am using JEdit 4.2pre15 (Windows installer) on a Win2000 P3 machine with Java 1.4.2. I also have a few plugins installed (most of them Java related).
I really appreciate all the features JEdit offers, unfortunately it tends to crash quite frequently (every 2 minutes!), especially when I type fast or delete text (backspace): the cursor will then stop blinking and the whole text editor stop responding mouse clicks.
I am not sure what's the cause of it. I suspect it is somehting to do with the plugins. I downloaded them through Jedit so they are all legit no? Could it be that some of the plugings don't like each others?
Has anyone been experiencing the same problem? Any idea on how to solve it?
Cheers
Seb