jEdit Community - Resources for users of the jEdit Text Editor
RubyPlugin auto-complete missing some commands?
Submitted by baseliner on Tuesday, 18 October, 2011 - 19:54
Hi - I'm trying to use the RubyPlugin for doing some RoR work. I can't find any of the Rails specific ones such as has_many, belongs_to, etc. though the article at http://www.eadz.co.nz/blog/article/ruby-rails-jedit.html states that this should work.. I've checked to ensure that the ruby parser is specified in SideKick. I do see Ruby methods in the dropdown - e.g. hash... So I'm not sure if the plugin is only for Ruby auto-completion. Anyone have any insight? Thanks!
How to catch message about buffer change
Submitted by Riven on Wednesday, 7 September, 2011 - 20:38
Hi,

I'm trying to develop simple plugin which response to buffer changes. So far I build a JAR file called SimpleLock.jar, containing .props file actions.xml and apropriate java.class files.

My problem is, that after creating and saving some buffer no Dialog appear and no text file is written on C: drive (these are the actions, that should be done after buffer saved).

Here is sample source code:

public class SimpleLockPlugin extends EBPlugin
{
public void handleMessage(EBMessage msg)
{
//I guess some dialog should appear if any message is captured.
JOptionPane.showMessageDialog(null, "Some message.");

//My own class for writing content to file
FileEditor.writeContentToFile("Some message.", "C:\\simpleLock.txt");

if(msg instanceof BufferUpdate)
{
//I guess some dialog should appear if any message related to buffer update is captured.
JOptionPane.showMessageDialog(null, "Some message.");

if( ((BufferUpdate) msg).getWhat().equals(BufferUpdate.SAVED) )
{
String path = ((BufferUpdate) msg).getBuffer().getPath();

//I guess some dialog with path to saved file should appear if any message related to buffer saved is captured.
JOptionPane.showMessageDialog(null, path);
return;
}
}
}
}

I aslo get some errors at jEdit startup, right after opening plugin manager window:
org.xml.sax.SAXParseException: Content is not allowed in prolog.
Every time I open plugin manager wondow two SAXParseException appear.

Is it related to my probem with catching buffer changes?

I'm using jEdit 4.4.1

Any help would be appreciated.

Best regards,
Riven
XML , XML ---> Text" -->
XML Plugin - Convert Text ---> XML , XML ---> Text
Submitted by aleroot on Thursday, 14 July, 2011 - 10:25
I've started using Jedit recently, i usually use Notepadd++ .

Working with XML plugin i can't find some useful feature that XML Tools of Notepad++ have, like :
-Tag Auto Close
-Print XML with line breaks
-Convert Selection XML to Text and Text to XML


Are there this feature also in Jedit ?
which plugin have i to install ?

Thanks.
Autoformat django and html
Submitted by donaldhorton on Friday, 13 May, 2011 - 05:15
I have html files that contain both django and html tags. Does anyone know of a plugin for jedit that autoformats such files?
None of the beauty (http://plugins.jedit.org/plugins/?Beauty) plugins work well. The html:beauty formats (indents nested tags) the html, but mangles the django. Others beauty options don't format the html.

thx
Code complete issues in JavaSideKick or SideKick?
Submitted by daition on Sunday, 17 April, 2011 - 15:00
Hi all,
I'm a newbie to jEdit, I like it very much except the feature - code complete. Here is the problem I met.

I've installed both SideKick and JavaSideKick. When I type in a dot after the name of a class or an object, only class methods are shown. Eg.When I typed in "System.", all the methods of class "System" will be shown; however, when I typed in "JFrame a = new JFrame()" and "a.", nothing was shown.

Could anyone give any hint? Or is it a bug for jEdit plugins?
Added own doc for Ruby plugin
Submitted by loula427 on Friday, 15 April, 2011 - 16:52
Hi everyone,

I used jEdit since a while but for Perl, I now programming in Ruby and I had found the ruby plugins it's really helpful.
But I'm wondering to know if it's possible to add my own documentation for my project, in fact we work on a big application and we have our documentation.
So I just want to add a link to our doc on "ruby doc". I don't find the way to make that.

Thanks for your help.
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
Submitted by gattu marrudu on Friday, 9 July, 2010 - 21:14
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 Smiling

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?
User login
Browse archives
« May 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
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   83281
Context Free Art (*.cfdg)   0.31   46055
BBEdit scheme   1.0   18595
JBuilder scheme   .001   18495
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293