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?
emacs-like keyboard
Submitted by
steph on
Monday, 20 February, 2006 - 21:33
Hi, I'd like to change globally all the shortcuts so that an emacs user would be instantly at home
I've seen that it is possible to change any shortcut...but it is too tedious to do it this way for every escape sequence
maybe the best way would be to permit a few styles: jedit, emacs, whatever
is it possible to generate a file with all the actual keyboard shortcuts (in a form that can be reread by jedit

...from there it should be easy to generate another "style"
any thoughts?
thanks
XML Plugin: Updated Ant Completion
Submitted by
Stillglade on
Tuesday, 21 February, 2006 - 16:20
The Ant code completion when editing a build.xml file is currently outdated (based on Ant 1.5). This functionality is driven by the ant-complete.xml file found in the XML Plugin (a sort of DTD for Ant). I created an Ant task that when run will generate an updated ant-complete.xml based on the version of Ant used when running the task (it uses the Introspection Helper to see all available task/types and their attributes/sub-elements). I created a patch for the build.xml of the XML Plugin so that when built, it will also update the ant-complete.xml file as part of the build. This will keep this file from getting out of date in future releases of the XML Plugin (assuming that new versions of Ant are used when building for a release). Also, this is useful for those who wish to build the plugin themselves as it will allow them to use Ant code copletion with their specific types and tasks which may be added to their local Ant installations.
I recently created a bug report which has these changes attached - http://sourceforge.net/tracker/index.php?func=detail&aid=1432414&group_id=588&atid=565475
Manipulating jEdit from external process.
I was wondering if anyone knows if it's possible to access a running version of jEdit (and it's plugins) from an external application?
I have very,very little understanding of Java, but instincts tell me that maybe this could be achieved via a JVM instance in control of an application.
Could someone confirm whether this is possible?
The reason I would like to perform such a task is to invoke calls to the ErrorList pligin, via it's addError() call, as is outline here....
http://community.jedit.org/cgi-bin/TWiki/view/Plugins/PluginDebuggingTechniques
I would like to write a WIN32 application that performs such a tesk, and this would ideally be written in either VB or C.
Has anyone got any ideas how I would get started on this?
Many Thanks
Windows Native Launcher?
Submitted by
tony72 on
Thursday, 23 February, 2006 - 12:58
Hi, I recently installed jEdit 4.2, and it seems to be a great editor. But I can't seem to associate it with any file types. From googling, it sounds like there used to be a native launcher for this purpose, but it doesn't seem to have been installed with 4.2, and I don't see a standalone download anywhere. Is there a way to do this?