An option to modify scrollwheel behaviour in the editor, please.
Submitted by
Denyer on
Sunday, 5 February, 2006 - 01:01
How difficult would it be to add a toggle option to invert the shift/non-shift action? For quickly reviewing a file, I'd rather not have to reach for the keyboard to scroll text a screen at a time, or have to remember that jEdit will be doing something different from every other application I have installed. Equally, there are times when using a modifer key to scroll a few lines would be useful.
Thanks for reading.
could FTP plugin handle all file access needs?
Submitted by
lsloan on
Sunday, 5 February, 2006 - 03:46
I've just started using jEdit in the past couple of weeks. I had been using a combination of SubEthaEdit and Fugu under Mac OS X. When I needed a good, free editor that worked well for editing Python and had code-folding, I tried jEdit. Using the FTP plugin, I've been able to edit files on servers over an SFTP connection.
I've started using more and more plugins with jEdit as I find that they offer good features. One of the disappointing things though is that plugins like XSLT, Project Viewer, QuickNotepad, and others aren't able to work with files through the FTP plugin. I suspect that the reason for this is that these plugins try to open files in the filesystem directly. They don't know how to handle these SFTP URLs.
I wonder if these other plugins would be able to work with files through an SFTP connection if all of their file operations went through the jEdit API. Does jEdit offer functions for working with files? Would that allow working with files via SFTP?
AVR Assembly syntax highlighting (assembly-avr.xml v0.1 by Bernd Klein)
Submitted by
BerndKlein on
Sunday, 5 February, 2006 - 16:42
This file contains all keywords for ATMEL avr microcontrollers.
ATtiny and ATmega
if something is missing, please contact me via mail
You find a AVRA-Compiler extension and a avrdude download utility under "commando files"
AVRA AVR Assembler compiler (avra.xml v0.1 by Bernd Klein)
Submitted by
BerndKlein on
Sunday, 5 February, 2006 - 16:52
Include this file into your Console-folder structure and you can compile avr-assembler files out from jEdit.
You need a proper installation of the avra assembler !
To get the latest version of avra, please go to: http://avra.sourceforge.net/
Current version 1.1.0 - Build 372
Version: 0.1
If something is missing, please contact me via mail
independent views?
Submitted by
lsloan on
Monday, 6 February, 2006 - 19:53
What I've been unable to do with jEdit so far is to have two or more views open, each with an independent set of open files. Is this currently possible in jEdit? If not, could it be? I would like to have one window with open files A, B, and C, and a second window with files X, Y, and Z.
PHPSideKickParser : does not support interface X extends Y (while php5 does)
Submitted by
Baldurien on
Monday, 6 February, 2006 - 20:40
[error] PHPSideKickParser: gatchan.phpparser.parser.ParseException: Encountered "extends" at line 13, column 48.
[error] PHPSideKickParser: Was expecting:
[error] PHPSideKickParser: "{" ...
[error] PHPSideKickParser:
Some data :
interface BufferedOutputStream extends OutputStream {
...
}
jEdit equivalent to Xedit "All" command?
Submitted by
edjgallagher on
Tuesday, 7 February, 2006 - 06:27
Good evening. I'm a Xedit user at work losing my favorite editor with the elimination of Unix as the prime operating system. One of Xedit's features I use most often is the "All" command which allows one to display a just a specific set of lines eligible for editting based on a repeating target. Those lines not meeting the display requirements are excluded from the display. Once editting is complete the full file can be redisplayed with the editting changes incorporated. Does jEdit have (or can it be easily configured to have) a similar functionality. If so, I think I've found a new favorite editor. Thanks!
Fire up external application, one instance of jEdit
Submitted by
anyhow on
Tuesday, 7 February, 2006 - 22:22
Hi all
two qustiones:
i use jEdit for HTML development and would like to fire up current document in browser - how to do it (which plugin does it)?
how to avoid opening second instance of jEdit when i open some document with dblclick (application shortcut as associated document) and have yet one instance of jEdit opened in background
thanx in advance for answer
AVRdude download utility (avrdude.xml v0.1 by Bernd Klein)
Submitted by
BerndKlein on
Thursday, 9 February, 2006 - 07:27
Include this file into your Console-folder structure and you can download avr assembler hex files to your avr-board via avrdude
You need a proper installation of avrdude 5.0.x !
This file provides:
-> device-selection
-> programmer type ( I'm using parallel port, i didn't check if other types are working well)
-> writing to memory types (flash, eeprom, etc)
-> write/read from device
-> go into avr-terminalmode
-> erase flash before write
Version: 0.1
I only tested this file under Ubuntu Breezy Badger, it should be work on other distris too, but maybe not under windows
Your avrdude installation needs user access-rights to use the parallel-port, to get these rights for avrdude you should set the s-bit for avrdude
sudo chmod +s [path_to_your_avrdude_binary]/avrdude
If you get the below error-message:
avrdude: can't open device "/dev/parport0": No such file or directory
avrdude: failed to open parallel port "/dev/parport0
you have to include the kernel-module ppdev into your kernel. Easiest way to do this is to include the modules in you /etc/modules file:
sudo echo "ppdev" >>/etc/modules
After the next reboot the parallelport modules should be loaded automatically :-).
To include the module during "live" do this:
sudo modprobe ppdev
After this work, avrdude should be run without any errors
If something is missing, please contact me via mail
I cannot use LookAndFeel
Submitted by
Stun on
Friday, 10 February, 2006 - 02:35
I use jEdit 4.3 pre3 Version. But I cannot use plugin that LookAndFeel.
Plz help me!
--Error Code--
Cannot start java.lang.UnsupportedClassVersionError: lookandfeel/LookAndFeelPlugin (Unsupported major.minor version 49.0)
Try updating to a newer version of the plugin.
--My SDK Spec--
J2SDK 5.0
Open a file at the specified line number (Textmate error handling...)
Submitted by
dunnil on
Sunday, 12 February, 2006 - 00:22
Hi folks,
There is a rails plugin [1] that convert errors to a url that can be opened by textmate.
Here is the main point:
html = "
#{line}"
Is there a way for us to do something like this?
Thanks in advance,
- H
[1] code extracted from the plugin
def add_links_to_backtrace(lines)
lines.collect do |line|
expanded = line.gsub '#{RAILS_ROOT}', RAILS_ROOT
if match = expanded.match(/^(.+):(\d+):in/) or match = expanded.match(/^(.+):(\d+)\s*$/)
file = File.expand_path(match[1])
line_number = match[2]
html = "
#{line}"
else
line
end
end
end
Formatter doesn't work
Running a beanshell script I got an error at the following expression, because the method "format" is not found:
java.lang.String.format("%d", 1234)
In a java sourcefile it works fine.
==> What's on with the beanshell?
Robert
TextMate snippets importing
Submitted by
delackner on
Monday, 13 February, 2006 - 07:36
SuperAbbrevs is a plugin that has functionality similar to Textmate's and Eclipse's to paste a template with placeholders that you can tab through. Textmate supplies a lot of nice defaults.
Textmate is OS X only, so I wrote a command line Cocoa tool to convert binary plists to xml plists, which I then batch run against the snippet files I want.
Then I modified SuperAbbrevs to have an import option, which takes a directory and imports all .xml or .plist files it finds there, converting $0 endings to $end endings.
If anyone would like to polish this into something more end-user usable, I'd be happy to email the code. For my purposes it has already consumed far more time than I wanted.
FTP Plugin - keep-alive support
Submitted by
uzo on
Tuesday, 14 February, 2006 - 07:14
is there some way to set the plugin to keep the connection alive (sending NOOP)? i couldnt find it. does some later version support this (using 4.2stable)?
thnx
PHP Parser bug
Submitted by
uzo on
Tuesday, 14 February, 2006 - 09:21
problem with identifying these variable names as variable names. Mistaken for logical operators:
$or
$and
Example:
$or = new Order($id);
Error message: statement expected
command line: option "+line: " on windows
Submitted by
mku on
Tuesday, 14 February, 2006 - 10:21
Hi everybody here in the forum ,
is ti true that on windows the no commandline options except filenames are possible ?
I whant to open a file with "jedit +line: but without success.
In the help i found the following statement:
"If you are using jEditLauncher to start jEdit on Windows, only file names can be specified on the command line"
Is that really true or is there another possibility to set a marker on the commandline ?
Thanks in advance
Martin
Edit Modes: Specify Indent Next Line When Last Char is Colon
I am using jEdit to write AutoHotKey scripts. Subroutines have the following format...
[code]
SubRoutineName:
__Commands
Return
[/code]
("Commands" should have been indented, but it didn't preview that way, so I inserted a couple of underscores to fake it.)
How can I make jEdit indent after I type a subroutine name and then the colon, rather than having to indent myself?
It does it with braces {}, so I figure I can make it do it after a colon, too.
Can anyone help?
Archive/JavaInsight under jEdit 4.3pre3
Submitted by
webengr on
Wednesday, 15 February, 2006 - 18:47
Greetings,
I am a longtime jEdit fan, and I recently decided to move from 4.2 to 4.3pre3. Today I needed to look at some Java code that I did not have the source files for, and found that it would not work. I used the "Archive" plugin to browse a jar file, and "JavaInsight" to do a jode-decompile. This latter operation errored out. I had prviously updated all of the plugins that needed to be upgraded, but Archive and JavaInsight were not on the list. Details are included below. Thanks!
Phil Shanks
System info:
IBM Thinkpad T41, 1G RAM; Windows 2000SP4; Sun Microsystems Java JDK 1.5.0_06
Stack trace:
Error in method invocation: Static method handleBrowserAction( org.gjt.sp.jedit.View, [Lorg.gjt.sp.jedit.io.VFSFile;, java.lang.String ) not found in class'javainsight.ByteCodeVFS' : at Line: 4 : in file: inline evaluation of: ``__internal_action_vfs_jode(ns) { this.callstack.set(0,ns); javainsight.ByteC . . . '' : javainsight .ByteCodeVFS .handleBrowserAction ( view , files , javainsight .JodeVFS .PROTOCOL )
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:76)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
at bsh.BSHBlock.eval(BSHBlock.java:80)
at bsh.BshMethod.invokeImpl(BshMethod.java:349)
at bsh.BshMethod.invoke(BshMethod.java:246)
at bsh.BshMethod.invoke(BshMethod.java:171)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:507)
at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
at org.gjt.sp.jedit.browser.VFSBrowser$BrowserActionContext.invokeAction(VFSBrowser.java:1677)
at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:216)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
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)
selection through gutter
Submitted by
Old Spider on
Thursday, 16 February, 2006 - 13:19
It would be very helpful to be able to click on a line number, including dragging, to select a field of text. Currently I'm unable to do that and it takes extra time to drag and select a single line of text.
How determine if a file is locked?
Submitted by
a992400 on
Saturday, 18 February, 2006 - 22:17
One of my macros saves open buffers, but it pops up an error message anytime it tries to save a file that is in use by another process, and I'd like to avoid that error message, by not trying to say that particular buffer. Is there a way to check a buffer and see if it is being used by another process?