jEdit Community - Resources for users of the jEdit Text Editor
Archives
Synchronized Scrolling
Submitted by ericmeyers on Sunday, 23 September, 2007 - 01:21
Love JEdit. Would love to see synchronized scrolling.
redirect feature requests to tracker
Submitted by Redoute on Sunday, 23 September, 2007 - 08:39
In the feature requests forum it was said that feature requests are better posted to the tracker on sf.net.

So I think the forum should close and be replaced with a link to the tracker. Respectively the advice "Please do not submit bug reports to the forums ..." should be expanded for feature requests.
BASIC highlighting
Submitted by berliita on Sunday, 23 September, 2007 - 21:44
Hello.
Can JEdit highlight FreeBASIC, QBasic or any other BASIC dialect code?
Xinsert, can't find it...
Submitted by Moofar on Tuesday, 25 September, 2007 - 02:25
I've installed the Xinsert plugin, and I can modify its options, all the dependencies are installed, everything seems to be right, but its functionality seems to be totally missing. When selecting it on the plugins menu bar, its just 1 entry and it does nothing. Any help would be appreciated.
DokuWiki editor mode. (dokuwiki.xml v1.0 by Ted Schleich)
Submitted by tschleich on Wednesday, 26 September, 2007 - 17:29
This editor mode adds syntax highlighting for DokuWiki page editing. The file extensions ".doku", ".dokuwiki", and ".wiki" are used for this mode. HTML mode is imported into this mode to support HTML embedded in the target document.
Mac OS X theme for jEdit (OSXTurdheadIconPack.jar v1.0 by VeryVito)
Submitted by VeryVito on Friday, 28 September, 2007 - 00:40
Just put this together, as my site is running a series of articles on customizing jEdit for use as the preferred editor on OS X. To install: Close jEdit (otherwise, the icons won't change until the next time you launch it), and, if you're using OS X, chances are you will need to "Authenticate" when you place this jar file into your Java home directory (i.e., /Library/Java/Home/lib/ext on plain-vanilla OS X). This means you must type your administrative account's password before OS X will let you place the file in the system folder. Hope you enjoy it! And please, stop by the site and let me know if you do!
New OS X package added to files section
Submitted by VeryVito on Friday, 28 September, 2007 - 18:09
In case you're not happy with the standard icon set, I've uploaded a new icon pack to the Icons and Images section which should give you a more natural looking OS X app. The pack (and instructions for making jEdit look and feel as much like a native OS X app as possible) are also available at my Web site. (Just want to get as many Mac switchers as possible using this great editor!)
Return xpath of selected xml element or attribute
Submitted by paulflory on Saturday, 29 September, 2007 - 01:05
Hi all, Is it possible to write a macro that can return the xpath of the element or attribute the cursor is located at? For example, given the following xml document, and assuming the cursor is located on the Target element, the macro would return the string: /Links/Link/Target /htdocs/images/coffee_cup.jpg I can not find this functionality in the XML plugin or elsewhere. Possible? Thanks, Paul
S+; How to replicate..
Submitted by joe131 on Saturday, 29 September, 2007 - 01:08
Hi All,

I thought I'd give you some simple instructions so anybody should be able to
replicate the problem. I'm using Windows XP Pro SP2.

The problem is that if try to type something like:

[TAB]if ()
[TAB][TAB]System.out.println("blah: "+blah);

As soon as you try to type the ':' the whole line will shift over to the
left. Sad

First it has to be saved as a .java file, if it isn't saved as anything
it'll happily work correctly. So create a simple, valid, .java file
and try to add the above lines to it. I have my jEdit set to not use spaces for tabs.
And you have to use tab(s) at the start of the lines.

As soon as you type the ':' The whole line will indent to the left.

Now delete the System.out.println() line, and this time type it
again, but skip typing the ':' and finish the rest of the line, then
go back and add the ':', it will work fine and won't indent the line.

How crazy is that?

I'm looking at the code, and trying some things, but it's still hard to
track down.. It doesn't seem to be a key translation issue, although
it does say:

9:04:13 PM [error] KeyEventTranslator: Invalid key stroke: C+e C+`

Thanks,

Joe Siebenmann
Opacity "Window" Plugin
Submitted by AlexCory on Monday, 1 October, 2007 - 15:59
One feature that I thought would be useful is to have an Opacity controlled "window" plugin.

The plugin would only be useful when docked into one of the defaut positions. However once docked it would have options to control a level of transparency; allowing you to see your desktop of whatever operating system your using. In my case, I like to run PuTTY at the same time as jEdit for running PHP scripts. What I would like to do with this transparency window is to be able to control the PuTTY shell/window through the "window" plugin without minimizing jEdit.

Basically like punching a hole through the jEdit program. Because desktop control would stay as is depending on the operating system and jEdit wouldn't have to be minimized or render any desktop applications specifically. The only thing jEdit would do is provide a hole to see through to your desktop then you could run and use desktop applications normally(the applications would be external to jEdit so if you minimized jEdit you would still be able to use the applications as you would normally).

I don't think this is possible yet, but it would be a nice feature in my opinion.

Although, last I remember Java was still working on a way to control desktop applications using Java, I'm not sure if this has progressed or not...



Anyway, its just a random idea I had. Comments are welcome.
Retire this forum and link the SourceForge equivalent...
Submitted by Denyer on Wednesday, 3 October, 2007 - 12:29
...there's an active jEdit community, but this forum gives the impression discussion is slow/dead. It's also somewhat unfriendly to newcomers as a fair number of threads never get a response.
Jedit doesnt work after installation
Submitted by el.mago on Tuesday, 9 October, 2007 - 12:41
Hi I'm using Debian sidux and Java 1.5 which is installed under /usr/bin/java. I've changed the JAVA_HOME and PATH variable as required. Nevertheless I'm getting the following error message when trying to start Jedit from a console with typing jedit &: GC Warning: Out of Memory! Returning NIL! GC Warning: Out of Memory! Returning NIL! Exception in thread "main" java.lang.OutOfMemoryError <> I've 2.5Gb Mem installed. What am I doing wrong? JJ
Enhanced Tags plugin (Tags.jar v2.0.3 (enh by Shlomy Reinstein)
Submitted by shlomy on Sunday, 14 October, 2007 - 12:10
This version of the Tags plugin has a few enhancements and fixes:
  1. In case of tag collisions, the tags found can be displayed in a dockable window instead of a popup. The 'Tag List' dockable can be opened from the plugin menu and docked in one of the 4 docking positions (or float) like any other jEdit dockable. When the dockable is open, tag collisions will be displayed in the dockable instead of the popup.
  2. The Tag List dockable allows quick filtering by tag attributes (when present in the tag files). This allows you to quick reach the tag you're interested in when there are many tags with the same name, which is common in object oriented languages. The "Filter" menu at the top left of the dockable lets you filter by attribute values.
  3. A new option pane - Actions - was added, allowing you to create custom "follow tag" actions which resolve tag collisions by apply a list of filters, each keeping only those tags having a specific attribute value. This way, you can create an action like "Follow function definition" (which would follow tags whose "kind" attribute is "function" or "method") and another action like "Follow function declaration" (which would follow tags whose "kind" attribute is "prototype", or "function" if there are no tags with a "prototype" kind).
  4. A new option is available in the General option pane, to use line numbers for following tags (when specified in the tag files). This is useful for object oriented languages, where the same tag can be defined multiple times in the same file, each time under a different class, with the exact same signature. It is also useful for differentiating between function declarations and definitions.
  5. Fixed the display of function signatures (when specified in the tag files) in the tag collision list.
XML plugin fails with 4.2 final
Submitted by jeffj on Wednesday, 17 October, 2007 - 20:15
I can't get the XML parser to work with jEdit 4.2 final on a new Windows installation. Otherwise, jEdit runs fine.

When I try to use the plugin with an HTML file, I'm told that xml.parser.HTMLParserImpl didn't load because the class xml/parser/XmlParser wasn't found. Seems like those slashes should've been dots. The stack trace is at the end of the message.

I also get an error message, at the same time, that org.apache.xerces.jaxp.SAXParserFactoryImpl wasn't found.

After this, I have to use the Plugin manager to unload the XML plugin before I can type greater-than characters into any buffer that the XML plugin normally works with. Also, none of the functionality of the plugin is available.

Any ideas on how to fix it?


The stack:

java.lang.NoClassDefFoundError: A class required by class: xml.parser.HTMLParserImpl could not be loaded:
java.lang.NoClassDefFoundError: xml/parser/XmlParser
at bsh.BshClassManager.noClassDefFound(BshClassManager.java:552)
at bsh.BshClassManager.plainClassForName(BshClassManager.java:241)
at bsh.BshClassManager.classForName(BshClassManager.java:170)
at bsh.NameSpace.classForName(NameSpace.java:1265)
at bsh.NameSpace.getClassImpl(NameSpace.java:1165)
at bsh.NameSpace.getClass(NameSpace.java:1106)
at bsh.Name.consumeNextObjectField(Name.java:301)
at bsh.Name.toObject(Name.java:202)
at bsh.BSHAmbiguousName.toObject(BSHAmbiguousName.java:59)
at bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:86)
at bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
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 org.gjt.sp.jedit.ServiceManager$Descriptor.getInstance(ServiceManager.java:321)
at org.gjt.sp.jedit.ServiceManager.getService(ServiceManager.java:264)
at sidekick.SideKickPlugin.getParser(SideKickPlugin.java:142)
at sidekick.SideKickPlugin.getParserForBuffer(SideKickPlugin.java:167)
at sidekick.SideKick.setParser(SideKick.java:131)
at sidekick.SideKick.handleMessage(SideKick.java:155)
at org.gjt.sp.jedit.EditBus.send(EditBus.java:148)
at org.gjt.sp.jedit.jEdit.addPluginJAR(jEdit.java:1034)
at org.gjt.sp.jedit.pluginmgr.ManagePanel$PluginTableModel.loadPluginJAR(ManagePanel.java:376)
at org.gjt.sp.jedit.pluginmgr.ManagePanel$PluginTableModel.setValueAt(ManagePanel.java:298)
at javax.swing.JTable.setValueAt(JTable.java:2662)
at javax.swing.JTable.editingStopped(JTable.java:4661)
at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:125)
at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:330)
at javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:215)
at javax.swing.DefaultCellEditor$EditorDelegate.actionPerformed(DefaultCellEditor.java:347)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at javax.swing.plaf.basic.BasicTableUI$Handler.repostEvent(BasicTableUI.java:924)
at javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(BasicTableUI.java:1138)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Mode C onversion and Newbie Console Help
Submitted by woodslanding on Thursday, 18 October, 2007 - 09:14
I am using a program called MUP, which compiles music graphics from text files I have been editing in JEdit. There are currently MUP syntax highlighting files for VIM, EMACS and KATE. I'm wondering if there is any way to convert any of these files into a mode file that JEdit can use. Or if there is a good tutorial out there on the way in which these type of syntax files are set up. It's obviously a problem that has been addressed by a number of programs in a variety of ways, but it's pretty much greek to me.

Also, if there is an intro to console tutorial somewhere, I'd like to check it out. The MUP compiler runs from the command line, so I'm thinking it should be possible to get it to compile from the console in JEDIT, but I'm not at all command-line savvy.... Ideally, I'd like to just compile from a key-command.

Any help welcome!
-eric
jEdit hijacked ctrl+alt+j
Submitted by wtijsma on Thursday, 18 October, 2007 - 10:59
Hi,

For some reason JEdit hijacked my ctrl+alt+j combination to start up, where can I change this (to Windows + J for example?)? It's quite an important shortcut for me in other programs, and I couldn't find it quick enough in the global settings, and didn't disable the shortcut on stopping JEdit Server Sad so I had to uninstall unfortunately.

Thank you in advance...

Wiebe Tijsma
One-stage save breaks hard links
Submitted by Dan Hetherington on Friday, 19 October, 2007 - 02:35
I know that the docs claim that if you turn off the "two-stage save" mode, jEdit should preserve hard links and file ownership and so on, but this doesn't work for me. If I save a file that is hard-linked from elsewhere, the link is always broken as if I had two-stage save turned on. Can anybody else repeat this?

I'm using 4.2Final with Kubuntu 7.04 and Java version 1.4.2-02.
newbie
Submitted by am33n on Sunday, 21 October, 2007 - 10:17
Hello guys

I downloaded jedit to use for my java programming studies! I use mac but i have no clue how to run the program!! I dont know how to compile, where to write the java code, its a bit confusing, it doesnt look like this picture http://jedit.org/index.php?page=screenshot&image=22

P.S. im just starting my "hello world" program.

thanks
JCompiler problem
Submitted by Freddie The Fish on Sunday, 21 October, 2007 - 16:35
I have just downloaded JEdit and the JCompiler plugin. When I try to use JCompiler I get a BeanShell error followed by the message - Java Core Plugin. The "Default" service is not available. Possibly the plugin providing it has been unloaded or removed. Switching to default.
I would guess that I'm missing something that is basic but I am obviously quite thick and any help would be most appreciated.
Syntax highlight
Submitted by gregus on Tuesday, 23 October, 2007 - 06:52
How do I get to the class or method that control the Highlight. when you save as "example.java" the extension will know that it is a java program other extensions are Java,xml,php, perl.etc. example of what I am saying is below.

public SyntaxStyle getStyle()
{
if(!okClicked)
return null;
Color foreground = (fgColorCheckBox.isSelected()
? fgColor.getSelectedColor()
: null);


When I save a new file as "example.java" Those color on public, getsysle etc. should not appear again.

I have tried all the GlobalOptions, SyntaxHillit, and others I cannot find it. I am a babe learning.
User login
Browse archives
« September 2007 »
MoTuWeThFrSaSu
 
1
2
5
6
8
13
24
27
30
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   108250
Context Free Art (*.cfdg)   0.31   46071
BBEdit scheme   1.0   18607
JBuilder scheme   .001   18508
ColdFusion scheme   1.0   18041
R Edit Mode - extensive version   0.1   17488
Advanced HTML edit mode   1.0   16222
Matlab Edit Mode   1.0   16086
jEdit XP icons   1.0   15245
XP icons for jEdit   1.1   14309