BufferList and multiple selection
Submitted by
dnagy on
Wednesday, 13 April, 2011 - 00:03
In the BufferList pane I used to be able to select multiple files, as you would in windows explorer, using the shift and control key. Recently this behaviour stopped.
A first click on a file "bolds" it and a second selects it (adds a background colour). Once a file was selected I could then add more files using control or shift. This doesn't happen anymore.
Is there another way to do multiple selections?
How to get "last viewed buffer"?
Submitted by
chambery on
Monday, 29 November, 2010 - 01:45
Hi all,
I'd like to modify the SwitchBufferPlugin to behave like the editor switching from Eclipse, ie the sorting of buffers is in "last viewed order".
So- is there a way to get a buffer's last viewed timestamp?
Thanks,
Todd
code-completion using yacc parser
Submitted by
captainhunt on
Wednesday, 10 November, 2010 - 07:57
Hi there,
I am trying to add syntax highlighting and code-completion for a quite idiosyncratic command file syntax to jedit.
While I managed pretty well to use jedit's xml edit-mode description for syntax highlighting, I cannot find a good starting point to add code-completion.
I currently see two possibilities:
a) use the xml edit-mode description to get the KEYWORDS somehow into a suggestion list
b) somehow connect the lex/yacc parser with jedit.
b) would be my prefered way as, it would perfectly sync up with any code development of the program and its parser.
Any hints, tips outlines which way to go, any getting started or simple example for code completion would be highly appreciated.
Thanks in advance,
Gergoe
How to paint something in TextArea?
Submitted by
tpj on
Saturday, 30 October, 2010 - 16:54
I'm working on a jEdit plugin for Lisp dialects. I'd like to implement a form "highlighting" feature, just as it's implemented in DrRacket. It can properly highlight a form, when the form is a valid one (screenshot 1). When we have an invalid form (due to some unclosed parenthesis, for example), only the first form paren is highlighted (screenshot 2). I'd rather highlight all the text up to the next form, instead, in some different colour.
Screenshot 1: http://www.tprimke.net/public/images/LispMode_1.png
Screenshot 2: http://www.tprimke.net/public/images/LispMode_2.png
Right now, I don't know how such a feature can be implemented in a jEdit plugin. I've found out the TextAreaExtension, but I'm not sure if it's the proper solution to use in my case. How can I order jEdit (from a plugin) to draw something on the screen? Something, that might consist of many lines and columns, between two known caret positions?
I've found the methods paintValidLine and paintScreenLineRange, but I'm not sure, when they're actually used - so I can't make any use of them. I need some advice on this topic.
QuickNotepad-Plugin written in Scala - java.lang.NoClassDefFoundError: QuickNotepadActions
Submitted by
gadei on
Wednesday, 6 October, 2010 - 06:34
Hallo!
I've tried to rewrite the simple QuickNotepad plugin in scala. I'm using Netbeans 6.8 for this.
Inside the IDE everthing works really fine, but if I copy my 'QuickNotepad.jar'-file in the .jedit/jar directory and then run jEdit, I get following Error-Message:
(Note: This error occurs when I try to open my plugin => Plugins/QuickNotepad->QuickNotepad)
> java.lang.NoClassDefFoundError: QuickNotepadActions
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
> at org.gjt.sp.jedit.JARClassLoader._loadClass(JARClassLoader.java:456)
> at org.gjt.sp.jedit.JARClassLoader.loadClass(JARClassLoader.java:109)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> at org.gjt.sp.jedit.bsh.classpath.ClassManagerImpl.classForName(ClassManagerImpl.java:203)
> at org.gjt.sp.jedit.bsh.NameSpace.classForName(NameSpace.java:1318)
> at org.gjt.sp.jedit.bsh.NameSpace.getClassImpl(NameSpace.java:1218)
> at org.gjt.sp.jedit.bsh.NameSpace.getClass(NameSpace.java:1159)
> at org.gjt.sp.jedit.bsh.Name.consumeNextObjectField(Name.java:298)
> at org.gjt.sp.jedit.bsh.Name.toObject(Name.java:199)
> at org.gjt.sp.jedit.bsh.BSHAmbiguousName.toObject(BSHAmbiguousName.java:59)
> at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:86)
> at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62)
> at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
> at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727)
> at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148)
> at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113)
> at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:369)
> at org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(DockableWindowFactory.java:467)
> at org.gjt.sp.jedit.gui.DockableWindowManagerImpl.showDockableWindow(DockableWindowManagerImpl.java:349)
> at org.gjt.sp.jedit.gui.DockableWindowFactory$Window$OpenAction.invoke(DockableWindowFactory.java:491)
> at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:352)
> at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3255)
> at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3237)
> at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:221)
QuickNotepadActions is just a "triat" (=Scala) [Interfac (=Java)] -> so this error message don't really make sens to me
Do you have an idea what could be wrong here?
Marco
Ps
I'm using:
jdk1.6
scala 2.8.0 final
netbeans6.8
jEdit 4.3.1
FindFile plugin to use selected text as search filter
Submitted by
mindjoy on
Thursday, 2 September, 2010 - 13:01
Hi there,
First I want to thank developers for the great plugin FindFile. I'd like to use selected text to show up in the filter box. Could you please give me some pointers of how to do that? Thank you.
Regards,
Ivica Mikic
XML Indenter
Submitted by
tonka on
Monday, 12 July, 2010 - 17:22
Is there another plugin that rolls the XML Indenter into it? With Jedit version 4.3 this plugin is not available. When searching it comes up as obsolete.
http://plugins.jedit.org/plugins/?XmlIndenter
Thanks in advance..
Project viewer stopped working
Hi there,
I have a problem with Project Viewer plugin.
I am using JEdit 4.3.2 server mode with sun JDK 1.6.0_20, on a Linux64 machine.
Every time I hit the menu item Plugins->Project viewer, I get the following error message:
java.lang.RuntimeException: org.xml.sax.SAXParseException: Premature end of file.
at projectviewer.ProjectManager.loadConfig(ProjectManager.java:190)
at projectviewer.ProjectManager.(ProjectManager.java:129)
at projectviewer.ProjectManager.getInstance(ProjectManager.java:100)
at projectviewer.PVMenuProvider.(PVMenuProvider.java:57)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.gjt.sp.jedit.bsh.Reflect.constructObject(Reflect.java:620)
at org.gjt.sp.jedit.bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java:123)
at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:114)
at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62)
at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727)
at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148)
at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113)
at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:369)
at org.gjt.sp.jedit.menu.EnhancedMenu.init(EnhancedMenu.java:114)
at org.gjt.sp.jedit.menu.EnhancedMenu.menuSelected(EnhancedMenu.java:99)
at javax.swing.JMenu.fireMenuSelected(JMenu.java:1028)
at javax.swing.JMenu$MenuChangeListener.stateChanged(JMenu.java:1107)
at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:333)
at javax.swing.DefaultButtonModel.setSelected(DefaultButtonModel.java:215)
at javax.swing.JMenu.setSelected(JMenu.java:294)
at javax.swing.JMenu.menuSelectionChanged(JMenu.java:1175)
at javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:100)
at javax.swing.plaf.basic.BasicMenuUI$Handler.mouseEntered(BasicMenuUI.java:491)
at java.awt.Component.processMouseEvent(Component.java:6272)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4363)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at projectviewer.ProjectManager.loadConfig(ProjectManager.java:185)
... 50 more
Can anybody help?
Thanks
gm
Plugin FTP, SFTP
Submitted by
Jabberwock on
Wednesday, 7 July, 2010 - 13:12
HI,
I use the FTP plugin to open sftp files. It's works
But, i see in the log file that jedit release the connection. Ok it's not a problem, but on the server the connection still there.
How i can really close the connections ?
Updated CandyFold plugin
Submitted by
maulik13 on
Wednesday, 19 May, 2010 - 09:11
hi,
I have updated the candy fold plugin. I have tried contacting the author on SourceForge, but I have not heard anything back.
I was wondering how to I share this update?
-Maulik
Issues with TaskList
Submitted by
hath on
Wednesday, 12 May, 2010 - 18:21
Hi,
I'm trying to use the TaskList plugin. Its working for the most part but it only seems to be able to parse and display thing in the current buffer. It has a tab for all Open files which would be really useful but it doesn't work. Right now I'm using a Sessions plugin and I'm wondering it could be the cause?
The only other plugins I have at the moment are quicknotepad, and TextAutoComplete.
How to show a plugin title directly as menu item
Submitted by
qooraf on
Friday, 23 April, 2010 - 14:37
Hi,
I am relatively new to jEdit, and have couple of questions about plugin development.
1 - I like to show Plugin options as a separate menu item same as View or Search. How can i edit the props file to get this.
2 - Is it possible for one of my plugin to read the action string? If yes then any pointer on this would be really helpful.
Thanking you all in anticipation.
Cheers
Qooraf
Can't use System.getProperty
Submitted by
kamcknig on
Thursday, 22 April, 2010 - 20:26
Hey everyone... I'm very very new to plugin development in jEdit, and java in general. I'm trying to use System.getProperty("os.name") so that I can determine the operating system a user is using. But I keep getting a stackoverflow error, with something about the JARClassLoader or something. I can't using anything in System actually. Every line I put that uses it, returns that same error.
Kyle
First Mate
Submitted by
ezuk on
Sunday, 18 April, 2010 - 20:31
Hi guys,
Does anybody know why
First Mate still isn't in the official plugin repo? How can we get it there?
FTP - New feature request FTPS/FTPES support
Submitted by
Ed34222 on
Thursday, 8 April, 2010 - 12:08
It is cool that it does FTP and SFTP (FTP over SSH); but it would be even more handy if it did FTPS(FTP over SSL Passive connection) and FTPES (FTP over SSL Active connection).
SSH is first and foremost a telnet protocol. As such it carries risks.
In order to use it for FTP users must also, often, have telnet access - not exactly ideal from an administrative point of view.
Many servers now use FTPS and FTPES instead of SFTP.
Being able to access those servers directly from jEdit would be quite the time saver.
I currently use the open source FileZilla client to access these kinds of servers.
Is there a way to create a local mirror for one plugin?
I am developing a plugin that I dont necessarily believe is best served for public consumption. Is there a way for me to create a local "mirror" with only my plugin on it, without having to actually mirror everything?
Basically, I'd like my users to pull from the public mirrors, but have access to our Intranet to download an additional plugin.
Thanks.
Fast Open plugin -- is it Open Source?
Submitted by
Lee Elms on
Saturday, 27 February, 2010 - 17:26
I think the title says it (nearly) all ... if the source is available, can someone point me to it.
Highlight Plugin: "Highlight word at caret" & subsequences
Submitted by
autocart on
Saturday, 27 February, 2010 - 16:41
Hi!
I wonder if this is a bug.
In the Plugin Options of the Highlight-Plugin I can check "Highlight word at caret" and as another seperate option I can check "Highlight subsequences".
Well, even if I check the option "Highlight word at caret" but do not check the subsequences option it still highlights subsequences. I.e. I have the caret at the word "c:TE". (In my case the ":" is part of the word.) In the next line I have "c:TE2" and "c:TE2c:TE2" in both cases the subsequences "c:TE" are highlighted but not the "2", altough the option is not checked. Do I misunderstand the concept of this option or is it a bug?
Thanks, Stephan
Jdiffplugin - Merge same text
Submitted by
Jabberwock on
Wednesday, 24 February, 2010 - 20:49
Hi,
With jDiffPlugin, it's possible to merge the part of text who are the same ?
I search on the plugin options and on the web with no success.
Antother question, i have a macro who do the diff of two buffer. With an old version of the plugin it's ok, but with the new one, some function are disepear. For exemple DualDiff.toggleFor.
Do you know how i can re*write my macro ?
Thanks in adavance.
properties dialog of ftp plugin not working
Submitted by
notknow on
Thursday, 4 February, 2010 - 01:31
Hi erveryone,
i'm working with jQuery for years now and i love it.
had to use the ftp.Plugin, it works as far as up- and downloads are concerned, but i can not
use The properties-dialog. I just get an java-whatever exception.
I am using jQuery 4.3.1 with on Mac OS X 10.4.11.
I need this dialog urgently, so i wasted time with trying 3 other editors - TextWrangler, the ftp connection seems to work, but the app itself is not too user friendly (no side by side windows for multiple files etc), Komodo-Edit-5.2.4 which reproducably crashes when trying to connet to a remote server with its ftp functions", Textmate (i would even have bought it - but out of the box it does not even offer the slightest support for ftp).
I'm a bit under stress and this is time killing.
Does anyone know how to get the properties dialog to work?
Or anyone who has a tip on another app than jQuery which is capable of doing what it says it does - basic ftp?
Thanks a lot.
Yes, i might use a "normal" ftp client, i might use one where i can define a standard app to open downloaded files with etc. But i cannot believe the only ftp plugin for jQuery i found is not working. And it is not hat i wanted in the first place. Do i have to pay for Zend Studio in the very end -
Had to test some applications and frameworks (php) over the last days, i'm really pissed with all of that stuff not working, sorry, i'm really...
And i'm not into Java at all, so...