selecting a line of text with a left mouse click
Submitted by
stellari on
Monday, 19 June, 2006 - 19:08
I have noticed that if click after the end of a line (basically to move the insertion cursor to that line), spaces are added to allow the cursosr to reach that column. Is there an option to disable this and have jEdit place to cursor at the end of the current line text?
Using jEdit 4.3pre4
Thanks,
Franco
rectangula selection in jEdit 4.3pre4
Submitted by
stellari on
Monday, 19 June, 2006 - 19:23
I'm trying to use the rectangular selection in combination with the keyboard.
If start a selection and move down with the keyboard while pressing shift to select several characters I experience a problem when crossing lines with indentations or lines shorted then the selection column. The selection seems to zig-zag on the right of 1 character.
This got to be a joke, isn't it!?
Submitted by
Dustypaws on
Tuesday, 20 June, 2006 - 09:36
"Bug Reports - These don't belong in the forums!"
So why even bothering to open a Forum called "Bug Reports"?
Lame joke that is :|
Colour set per syntax mode
Submitted by
Baldurien on
Tuesday, 20 June, 2006 - 15:25
Hi,
I'd like to know if it is possible to have one color set per syntax mode, instead of one color set for each syntax mode.
Since such thing exists for buffer options, I don't see why it's not in jEdit.
Honestly,
Baldurien
Bug Report Console (make)
Submitted by
asd2005 on
Tuesday, 20 June, 2006 - 16:43
Bug Report.
This happens when I try to compile (make) a C-file.
OS: Linux 2.6.15-25-386 i686 GNU/Linux (ubuntu)
Java: Java 2 Runtime Environment (build 1.5.0_06-b05)
jEdit: 4.2final
1st Beanshell Error:
Sourced file: inline evaluation of: ``projectviewer.ProjectViewer.getActiveProject(view).getRootPath();'' : Class or variable not found: projectviewer.ProjectViewer : at Line: 1 : in file: inline evaluation of: ``projectviewer.ProjectViewer.getActiveProject(view).getRootPath();'' : projectviewer .ProjectViewer .getActiveProject ( view )
at bsh.UtilEvalError.toEvalError(UtilEvalError.java:85)
at bsh.UtilEvalError.toEvalError(UtilEvalError.java:90)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:98)
at bsh.BSHPrimarySuffix.doSuffix(BSHPrimarySuffix.java:103)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:80)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.Interpreter.eval(Interpreter.java:641)
at bsh.Interpreter.eval(Interpreter.java:731)
at bsh.Interpreter.eval(Interpreter.java:720)
at org.gjt.sp.jedit.BeanShell._eval(BeanShell.java:446)
at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:410)
at console.commando.CommandoHandler.endElement(CommandoHandler.java:196)
at com.microstar.xml.XmlParser.parseElement(XmlParser.java:953)
at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1118)
at com.microstar.xml.XmlParser.parseElement(XmlParser.java:947)
at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1118)
at com.microstar.xml.XmlParser.parseElement(XmlParser.java:947)
at com.microstar.xml.XmlParser.parseDocument(XmlParser.java:496)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:176)
at com.microstar.xml.XmlParser.parse(XmlParser.java:146)
at console.commando.CommandoDialog.load(CommandoDialog.java:238)
at console.commando.CommandoDialog$ActionHandler.actionPerformed(CommandoDialog.java:384)
at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1197)
at javax.swing.JComboBox.setSelectedItem(JComboBox.java:561)
at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:597)
at console.commando.CommandoDialog.(CommandoDialog.java:120)
at console.commando.CommandoCommand.invoke(CommandoCommand.java:138)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229)
at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:303)
at org.gjt.sp.jedit.View.processKeyEvent(View.java:669)
at org.gjt.sp.jedit.Java14$MyFocusManager.postProcessKeyEvent(Java14.java:180)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:687)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636)
at java.awt.Component.dispatchEventImpl(Component.java:3841)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
2nd Beanshell Error:
Sourced file: inline evaluation of: ``projectviewer.ProjectViewer.getActiveProject(view).getRootPath();'' : Class or variable not found: projectviewer.ProjectViewer : at Line: 1 : in file: inline evaluation of: ``projectviewer.ProjectViewer.getActiveProject(view).getRootPath();'' : projectviewer .ProjectViewer .getActiveProject ( view )
at bsh.UtilEvalError.toEvalError(UtilEvalError.java:85)
at bsh.UtilEvalError.toEvalError(UtilEvalError.java:90)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:98)
at bsh.BSHPrimarySuffix.doSuffix(BSHPrimarySuffix.java:103)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:80)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.Interpreter.eval(Interpreter.java:641)
at bsh.Interpreter.eval(Interpreter.java:731)
at bsh.Interpreter.eval(Interpreter.java:720)
at org.gjt.sp.jedit.BeanShell._eval(BeanShell.java:446)
at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:410)
at console.commando.CommandoHandler.endElement(CommandoHandler.java:196)
at com.microstar.xml.XmlParser.parseElement(XmlParser.java:953)
at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1118)
at com.microstar.xml.XmlParser.parseElement(XmlParser.java:947)
at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1118)
at com.microstar.xml.XmlParser.parseElement(XmlParser.java:947)
at com.microstar.xml.XmlParser.parseDocument(XmlParser.java:496)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:176)
at com.microstar.xml.XmlParser.parse(XmlParser.java:146)
at console.commando.CommandoDialog.load(CommandoDialog.java:238)
at console.commando.CommandoDialog.(CommandoDialog.java:125)
at console.commando.CommandoCommand.invoke(CommandoCommand.java:138)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229)
at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:303)
at org.gjt.sp.jedit.View.processKeyEvent(View.java:669)
at org.gjt.sp.jedit.Java14$MyFocusManager.postProcessKeyEvent(Java14.java:180)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:687)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636)
at java.awt.Component.dispatchEventImpl(Component.java:3841)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception in thread "main" java.lang.NoClassDefFoundError:
Submitted by
stantonio on
Tuesday, 20 June, 2006 - 18:03
Hello, I have installed Jedit on other linux machines but for some reason I am getting the following error when I try to run jedit on my laptop. The install went OK without errors.
Here are the details:
Error Message when I try to run jedit
Exception in thread "main" java.lang.NoClassDefFoundError: /usr/local/bin
Where jedit script is located
/usr/local/bin/jedit
points to /usr/local/share/jedit/4.2
Java installed here:
/usr/java/jre1.5.0_07/bin/java
Linux version:Linux 2.6.9-34.EL #1 Fri Feb 24 16:44:51 EST 2006 i686 i686 i386 GNU/Linux
Any input on whats going on would be appreciated
Thanks
how to 'search & replace' with a simple calculation???
Submitted by
NickRivers on
Wednesday, 21 June, 2006 - 12:17
Hi!
I'm trying to search a file with reg-expression '\d' and I want to replace the values with a BeanShell snippet which adds a value to the search-string. When I try something like '_0+1' for a line in my file which looks like 'array[1]' I get an 'array[11]' an not what I want, an 'array[2]'.
What I'm doing wrong?
Thank You
trouble displaying filenames longer than 8.3
Submitted by
vincewebb on
Thursday, 22 June, 2006 - 20:05
Hello
I have been happy using JEdit version 4.2 final under windows for some time and been very happy with it.
I recently upgraded the JDK to 1.5.0_07-b03 and now I have a problem. The problem seems to coincide with the new version of JDK but I can't be 100% sure. It still edits files OK and if I open the file via "File - Open - select file" then all is well.
If I open a file via a right click and the "Open with JEdit" option, then
if the filename is longer than the old MSDOS 8.3 format it edits the file OK but displays the filename using Microsoft's dodgy 8.3 with a tilda format.
e.g. I open the file:
common_rep_lib_body.sql
JEdit tells me I am editing a file named:
COMMON~4.SQL
This smells a bit like Windows is passing a dodgy filename to JEdit however it worked OK before and it still works OK when I open the same file using a right click and "Open with" a different application like Notepad.
Any ideas ?
where do I put an editor scheme file?
Where in the world do I put my scheme file once i've downloaded it. I can't be this stupid...
RecursiveOpen plugin update for 4.3pre3 (RecursiveOpen.jar vn/a by nick durcholz)
This jar file is compatible with 4.3 pre3. Also includes new ignore lists option.
Help releasing plugin update
Hi I recently made some small fixes and enhancements to Lee Turner's Recursive Open plugin. This is now compatible with 4.3pre3 and 4.3pre4. I don't have CVS access and I was wondering if somebody could help me with getting this update into Plugin Central.
thanks in advance,
nick
"stackable" panes?
Can you have, say, two right-docked panes open at the same time, stacked on top of each other?
I haven't seen anything intuitive or obvious pointing to that, if so.. if not, I think that's a reasonable feature request. Has this been discussed? It's not a big deal ultimately, but it would be useful at times.
C debugger
Submitted by
chobo2 on
Monday, 26 June, 2006 - 04:21
Is there a C debugger in jedit? if not I would like to see one.
swap to java.util.regex?
Submitted by
farmerBri on
Tuesday, 27 June, 2006 - 06:27
First off - long time user, first time poster - I love jEdit, have converted most of my co-developers to jEdit devotees in the last couple of years (it's suprisingly easy to push jEdit considering how close text-editor choice is to religion amongst developers)
So, yeah - jEdit uses
gnu.regexp rather than the java default
java.util.regex for reasons I don't yet understand... I'm hoping some kind soul will enlighten me.
I'm particularly missing lookbehinds, both negative and positive, but after a quick comparison of the
gnu.regexp documentation with
java.util.regex there is also lots of other useful things:
- \p{Punct} -- Punctuation: One of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
- \P{InGreek} -- Any character except one in the Greek block (negation)
- [a-z&&[^bc]] -- a through z, except for b and c: [ad-z] (subtraction)
- X?+ -- X, once or not at all (Possessive quantifiers)
- (?idmsux-idmsux:X) -- X, as a non-capturing group with the given flags on - off
I can't see anything in
gnu.regexp that is not available in
java.util.regex.
So
java.util.regex is more powerful (in terms of options) and I also often use the search in jEdit for conveniently testing my regexes before using in a java app, so it would be beneficial to say the least if they both spoke the same syntax
In summary - is it possible / feasible for me to swap the default regexp implementation to
java.util.regex?
I'm willing to get my hands dirty, but some pointers would be greatly appreciated.
cheers all.
hail jEdit.
Console plugin - change classpath default for javac
Submitted by
janM on
Tuesday, 27 June, 2006 - 11:30
I am using JEdit on Windows XP platform.
When I use the javac command with the console plugin it always defaults to "$Classpath; folder of java source code".
I would prefer to use the classpath environment variable setting, which it will do if I delete the default entry. However I don't want to have to do this each time I run the command.
Is there any way I can amend this default setting?
Thanks
Large files
Submitted by
maciejr on
Tuesday, 27 June, 2006 - 12:20
Hi,
I sometimes need to work with large data files: containing numeric and other data. By "large" I mean larger than the available memory, say a few GB. Note that there are many editors around that compete in solving the problem of editing files in memory. Surprisingly, I could not find even a simple tool that solves a different problem: does what can be done in reasonable time with a large text file on disk.
I would like to find or make a tool to edit a file with no limit on file size, like a disk-based editor. Specifically such a tool could:
(1) quickly view parts of a file
(2) edit a small part of the file in memory (taking appropriately long to commit changes)
(3) search and replace some text through the file (making one full pass through the file)
I've searched these fora and, judging from a discussion in 2004, jEdit does not seem to support editing large files.
Are there any plans for a "large files" editing mode with limited functionality?
Could anyone point me to a (free or low cost) tool that already does that?
I am totally new to jEdit, but have some programming background. Do you think it is doable to adapt jEdit to perform such a task?
Thanks in advance for help,
Maciej.
Having trouble with lookahead regex in a syntax highlighting mode
Submitted by
soapi on
Tuesday, 27 June, 2006 - 15:26
In the particular language I am writing a mode for, the start and end of code blocks are delimited by { }. Code appears within these braces. So, it's a little like ?> except with different symbols.
Within these braces, *everything* after a double slash - // - is a comment... right to the end of a code block (not just on the same line).
For example:
{ some code // this is
a comment }
Now, the syntax I first tried was:
//
}
However, this interferes with the match for the end of the code block, and so the end } is not detected correctly.
I then tried:
//
(?=})
...which I think should do the trick, as the lookahead should trigger a match upon encountering the end brace, but not include it in the match, so it should still be there for the code block rule to find. The trouble is, it doesn't match anything at all! Further experimentation seems to suggest that the END block cannot actually contain regex - just the BEGIN block. If so, this is pretty useless, so I have to assume I'm doing something wrong.
Can anyone help me out and show me how to accomplish what I want?
Thanks!
Plugin htmlsidekick and *.php files
Submitted by
slux on
Tuesday, 27 June, 2006 - 19:20
Hi!
How I can use this plugin in the .php or an other type of file ?
Currently this good plugin work fine when i'm editing a file that have the *.html extension...
Tnks!
Quick look around java codes
Submitted by
ccapeng on
Tuesday, 27 June, 2006 - 20:32
I have been tried Eclipse fow a while, but not really work for me. The UI is complciated and need to work on project concept.
But, I really like some of editing features in Eclipse, like "Open Declaration" and "Open Type Hierachy". Basically, I can look at the methods defined in the other classes easily.
Any similar features in jEdit?
Saving to locked files
Submitted by
mekondelta on
Wednesday, 28 June, 2006 - 10:19
I'v been using EditPad Pro for a while now on Windows and love it's ability to write to a file that has been locked by another program.
For example, I can view a log file from my application server (as I can in JEdit now) but I can also clear the file's contents, save and overwrite the log file so that I can have logs that just show the content that I want to see.
Is there anyway to incorporate this into JEdit. It's the killer feature of EditPad (even the Classic version) and is the only thing stopping me from switching to JEdit. (Other than the "Stay on Top" feature which I can replicate with DesktopPins.
Cheers, Chris.