jEdit Community - Resources for users of the jEdit Text Editor
Archives
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
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... Eye-wink

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
jEdit - Jext relationship
Submitted by Anonymous on Friday, 6 August, 2004 - 18:49
Can someone explain me what is the relationship between jEdit and Jext - they look very similar.
Text indenting
Submitted by suguru on Friday, 6 August, 2004 - 23:26
This may not be what jEdit is designed for, but I'm trying to use it to write documentation and can't get it to format a paragraph normally. For example, if I put a tab at the start of a paragraph and set soft wrap to on, the second (wrapped) line will be indented by the tab's width just like the first line. In a normal text paragraph in a document (or a book) that wouldn't happen, the first line would be indented by a tab, and the second line would not be indented and would be flush with the left side of the screen.

Is there a way to do this in jEdit? I got soft wrap to work, but no matter what options I select I can't keep all the subsequent wrapped lines of a paragraph from being indented.
Back indent
Submitted by stif on Saturday, 7 August, 2004 - 11:04
When will JEdit have the back indenting feature for keywords like end in ruby, or </body> in html? Thats the only thing i really miss in JEdit - besides that I love JEdit Smiling
Does the XSL transform engine support version 2 of XSL?
Submitted by mxc on Saturday, 7 August, 2004 - 20:02
Hi all, Please forgive me if this is the wrong forum to ask this quesiton. I am learning xsl and using jedit. When I run the transformation on a file I get an error when trying to use a user defined function saying that it "cannot find a variable with name of string". I have specified the said variable as a parameter of the user defined function and then try and reference it later in the funciton. eg.
 < xsl:function name="cc:lastSubString">
   < xsl:param name="string" / >
   < xsl:param name="char" / >
   < xsl:choose>
      < xsl:when test="contains($string, $char)" >
Is this because the JEdit XSLT plugin doesn't support version 2 of the xsl specification oir is my xsl wrong thanks
User login
Browse archives
« August 2004 »
MoTuWeThFrSaSu
 
15
16
21
26
 
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