jEdit Community - Resources for users of the jEdit Text Editor
Archives
TextAutocomplete
Submitted by CJreige on Saturday, 11 March, 2017 - 14:44
Has anybody had any luck installing the TextAutocomplete plug-in lately? I cannot get the Plug-in Manager to download it (it gives a download error). When I download it manually and try to install it, it doesn't really work within jEdit. I just wanted to see if anybody has had any luck with this plug-in.

Thank you,
CJ
TextAutocomplete
Submitted by CJreige on Saturday, 11 March, 2017 - 14:45
Has anybody had any luck installing the TextAutocomplete plug-in lately? I cannot get the Plug-in Manager to download it (it gives a download error). When I download it manually and try to install it, it doesn't really work within jEdit. I just wanted to see if anybody has had any luck with this plug-in.

Thank you,
CJ
jEdit 5.4.0 is out!
Submitted by Vampire on Saturday, 18 March, 2017 - 20:18
Hello everyone,

I proudly present jEdit 5.4.0, the first stable release of the 5.4 series of jEdit.

This is mostly a bugfixing and stabilizing release. Detailed changes can as always be found in the Change Log at http://jedit.org/CHANGES54.txt, but here are some of the major changes of this version:
  • Use of Java 1.8
  • Use of a new XML format for Plugin Manager, and proper following of redirects, resulting in a much improved plugin install experience
  • New Printing, updated for current versions of Java


Volunteers are always welcome to contribute to the future of jEdit:
http://www.jedit.org/index.php?page=devel


That being said, here is the download link:
http://www.jedit.org/index.php?page=download


Have fun with the new release.
Lucene Wildcard Searches
Submitted by weberjn on Tuesday, 21 March, 2017 - 12:16
Hi,

for me the killer feature of jEdit is LucenePlugin. Lucene searches some 15 years of project notes for me, each year a simple 1MB .txt file.
You could well advertise more for LucenePlugin...

Anyway, looks like you cannot search wildcards or regular expressions (Standard Analyzer).

Of the Term Modifiers from the Lucene docs, only some terms work for me, Wildcard, Regular Expressions and Fuzzy Searches do not get accepted, the plugin simply does nothing.
Actually, I use mostly Proximity Searches, which still help a lot.

What did I do wrong?

And could you list some working search expression examples in the Plugin Help, please?

http://lucene.apache.org/core/6_4_2/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#Term_Modifiers
jEdit Server under OSX
Submitted by RobertX on Friday, 31 March, 2017 - 15:00
At work, on Windows, I create a startup shortcut that starts the jEdit server in the background and keeps it running. Is there a similar process to get that to work on OS X?
Set encoding option in "Mode Settings"
Submitted by RobertX on Friday, 31 March, 2017 - 15:38
There should be another option under "Mode Settings" to set the default encoding for individual file types.
Hypersearch results analysis (hypersearch_results_parsing.zip v1.0 by Thiemo Kellner)
Submitted by Robert Schwenn on Thursday, 13 April, 2017 - 21:04
Two neat macros to analyse hypersearch results:

- hypersearch_results_distinct_hits.bsh: extracts the distinct lines in the results
- hypersearch_results_files.bsh: extracts all the files results were found in

! Note that these macros depend on:
- other macro "Misc/HyperSearch_Results_to_Buffer.bsh"
- TextTools Plugin

Also, see original post: https://sourceforge.net/p/jedit/patches/545/
jEdit Server on OSX
Submitted by RobertX on Friday, 21 April, 2017 - 00:26
When I run jEdit on Windows, I create a shortcut and put it in the Startup folder that runs the jEdit server in the background. I have zero idea on how to do this on MacOS. Any help?
jEdit hangs when using multiple screens
Submitted by rursus on Friday, 21 April, 2017 - 12:17
Hi! Jedit version tested: 5.4.0 (compiled from source) Java version: java-1.8.0-openjdk-amd64 (Debian) I have tried to find any relevant info by googling, but I couldn't find any: * Whenever I run jedit on a single screen, there are no problems, and life is happy and the sun shining. * Whenever I run jedit on a computer using multiple screens, jedit cannot be started, or if it is already started before, and the second screen is attached afterwards, jedit refuses to open any new windows. When refusing to open any window, jedit says: 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: Exception in thread "AWT-EventQueue-1" 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: java.lang.IllegalArgumentException: Width (0) and height (0) must be non-zero 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at java.awt.image.ReplicateScaleFilter.(ReplicateScaleFilter.java:102) ... 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at sun.awt.X11.XToolkit.createCustomCursor(XToolkit.java:1140) 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at org.gjt.sp.jedit.textarea.TextAreaPainter.addNotify(TextAreaPainter.java:181) 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at java.awt.Container.addNotify(Container.java:2773) ... 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at javax.swing.JComponent.addNotify(JComponent.java:4740) 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at org.gjt.sp.jedit.textarea.TextArea.addNotify(TextArea.java:4690) 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at java.awt.Container.addNotify(Container.java:2773) ... 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at java.awt.Window.pack(Window.java:807) 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at org.gjt.sp.jedit.jEdit.newView(jEdit.java:2617) 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at org.gjt.sp.jedit.PerspectiveManager$PerspectiveHandler.endElement(PerspectiveManager.java:363) Which obviously means that when jEdit makes a newView, it obviously triggers a TextArea.addNotify which triggers a TextAreaPainter.addNotify, which somehow delivers a window with a size of 0,0. I'm inclined to hack this in my personal copy of jEdit, if possible. Anyone have an idea why this occurs?
Write current date/time to a file as it is saved
Submitted by jhaefner on Sunday, 23 April, 2017 - 01:00
I am writing html and would like to write "Updated: ...the date of last modification.." on to the html file in a particular place. So, after testing that the file has been modified, I would like to write the current day and time to the file immediately after I tell Jedit to save the file, but before it is actually saved. Possibly, the solution would be to point my usual "save file" shortcut to a macro that writes the date/time info where I want it and then does the jedit save file command. Has anyone done this? If not, can any one point me in a direction to get me started? I have done simple ".bsh" macros, but nothing more complex. I am aware of Robert Schwenn's 2008 "insert_simple_date.bsh".

Thanks in advance. Jim
ReadOnlyBuffer (Macro) not working with jEdit 5.4
Submitted by Hans_Bauer on Friday, 19 May, 2017 - 11:30
Using the MacroManager i downloaded the "ReadOnly Buffer"-Macro and associated a Toolbar-Icon with it.

The Macro does not seem to do anything in jEdit 5.4.

Possibly there is a code change in jEdit, because my own-written macro "ToggleReadOnlyBuffer" also stopped working after the update from jEdit 5.3 to 5.4.

Any idea to update the macro "ReadOnly Buffer"?

Thanks Hans
(Windows) unable to release Ctrl+Alt+J hotkey for usage
Submitted by 1234ru on Wednesday, 24 May, 2017 - 19:21
Ctrl+Alt+J is bound to start jEdit when it is installed (which was pretty surprise by itself and was discovered accidentally). I need this combination for another program, so I went to "Start jEdit" shortcut's properties and reset the "Shortcut key" property to a blank value.
However, the hotkey still remains bound to starting jEdit (which happens when I press the keys), although the property of a shortcut is displayed as a blank value.

How can I get rid of it?
Windows 7 Install problem: The installer will now try to quit a running instance of jEdit, when there is no running instance..
Submitted by JimParinisi on Tuesday, 4 July, 2017 - 23:04
I have been running jEdit 5.3 for about a 1.5 years with no significant problem. On 2017-07-03 I used it and it worked fine. On 2017-07-04, It would not start. jedit and javaw exe's were created, but jEdit window would not display. I uninstalled version 5.3 and tried to install version 5.4 and got this error:
The installer will now try to quit a running instance of jEdit.
Please save your work and exit jEdit for the installation to continue.
The installer hangs up at this point.
I did not have a running instance, but the installer thought that I had one. I am guessing that something went wrong with jEdit when I shutdown on the 3rd. Does anyone know how to tell windows 7 to get rid of this phantom instance of jEdit. I am using a backup version of jEdit 4.5.2 for the time being. So, I can continue with my work. I am guessing that this phantom instance also caused the jEdit 5.3 startup problem that I had before the uninstall.
When will jEdit be cleared to use Java 9?
Submitted by jrs40 on Thursday, 18 January, 2018 - 15:06
I cannot use jEdit with Java 9. I am running a Windows 10 x64-x86 box. When I click on any shortcuts that start the jEdit.exe program I get a message stating that i need a Java 1.8.x JRE and then am sent to a java Website to download the appropriate JRE. How do I inform the jEdit.exe program tjat java 9 is a valid java installation? Failing that, when can I expect to see a version of jEdit compatible with Java 9? Remember, Java 8 is officially unsupported as of October 2018. I do not look forward to creating form my own use some sort of script to run on a Windows 10 box to emulate the jEdit.exe program.
Highlight Plugin: What does the "Highlight overview" setting do?
Submitted by rovf on Friday, 18 May, 2018 - 10:27
The option settings for the "Highlight Plugin" named "Highlight Overview". What exactly is controlled with these settings?
Jedit 5.4.0 - hi CPU usage when text is selected and windows put to back
Submitted by edinburger on Thursday, 24 May, 2018 - 12:10
I'm facing a strange behavior with Jedit 5.4.0

If I select some text in jedit, put another App in front of jedit then bring jedit back to the front by clicking on the jedit taskbar icon then Jedit (java process) starts consuming lots of CPU (up to 40% on a 2 core i5 system)
CPU utilization will only go down if I either click into the Jedit window or any of the Menu items.

disabling all Plugins did not help

I'm running Jedit under Win 10, java version "1.8.0_171"
jEdit < 5.4 broken by openjdk-7 update 7u181-2.6.14-0ubuntu0.2 (unbuntu 14.04)
Submitted by JohnS on Thursday, 16 August, 2018 - 22:41
Never posted here, but been using jEdit for probably 15+ years on linux systems.
Posted similar to this on the 'jedit-users' listserv - not clear whether these forums or the listservs are most appropriate so trying both.

This is on Ubuntu 14.04, which packages openjdk-7-jdk and jEdit 5.1.

On 2018-08-10 there was an upgrade of openjdk-7, specifically to 7u181-2.6.14-0ubuntu0.2, details here:
https://www.ubuntuupdates.org/package/core/trusty/main/updates/openjdk-7-jdk

This openjdk upgrade has broken jEdit - on my xubuntu 14.04 system at least. I was using jEdit as usual before the upgrade. After the upgrade, it fails to fully launch. The splash briefly appears, it runs through some of the launch steps, then vanishes. That's all. Output of running
$ jedit -log=1
...is pasted in below.

I've tried the following, with same results:
- uninstalled (complete purge) and reinstalled 5.1
- clean installs of each of 5.3, 5.2, 5.0, and 4.5.2

So whatever breaks in jEdit vs. the openjdk upgrade, is broken in all of those.
Nothing else I'm aware of in recent OS upgrades would affect jEdit.

I have another system with ubuntu 16.04 on it, which packages openjdk-8 and jEdit 5.3. That is fully updated package-wise and works fine.

Any other ideas for troubleshooting on this 14.04 system welcome.

I imagine upgrading this system to ubuntu 16.04 or higher would fix it but that is not something I can dive into just now...if there's no fix for my particular situation other than that I'll have to live without jEdit for a while.

I don't know if these older jEdit versions are being maintained vs. issues like this. If they are I'll submit a bug.

regards,
John S.


Log output follows...

------------------------------------

$ jedit -log=1
2:37:26 PM [main] [message] Log: When reporting bugs, please include the following information:
2:37:26 PM [main] [message] Log: java.version=1.7.0_181
2:37:26 PM [main] [message] Log: java.vm.version=24.181-b01
2:37:26 PM [main] [message] Log: java.vm.name=OpenJDK 64-Bit Server VM
2:37:26 PM [main] [message] Log: java.runtime.version=1.7.0_181-b01
2:37:26 PM [main] [message] Log: java.runtime.name=OpenJDK Runtime Environment
2:37:26 PM [main] [message] Log: java.vendor=Oracle Corporation
2:37:26 PM [main] [message] Log: java.compiler=null
2:37:26 PM [main] [message] Log: os.name=Linux
2:37:26 PM [main] [message] Log: os.version=3.13.0-155-generic
2:37:26 PM [main] [message] Log: os.arch=amd64
2:37:26 PM [main] [message] Log: user.home=/home/john
2:37:26 PM [main] [message] Log: java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre
2:37:26 PM [main] [message] Log: java.class.path=/usr/share/jedit/jedit.jar
2:37:26 PM [main] [message] jEdit: starting with command line arguments: -log=1
2:37:26 PM [main] [notice] jEdit: An error occurred while connecting to the jEdit server instance.
2:37:26 PM [main] [notice] jEdit: This probably means that jEdit crashed and/or exited abnormally
2:37:26 PM [main] [notice] jEdit: the last time it was run.
2:37:26 PM [main] [notice] jEdit: If you don't know what this means, don't worry.
2:37:26 PM [main] [notice] jEdit: java.lang.IllegalArgumentException: Wrong port file format
2:37:26 PM [main] [notice] jEdit: at org.gjt.sp.jedit.jEdit.main(jEdit.java:310)
2:37:26 PM [main] [debug] jEdit: before splash screen activation:107 ms
2:37:26 PM [main] [debug] jEdit: after splash screen activation:306 ms
2:37:26 PM [main] [debug] MiscUtilities: Saving backup of file "/home/john/.jedit/activity.log" to "/home/john/.jedit/settings-backup/activity.log~1~"
2:37:26 PM [main] [notice] jEdit: jEdit version 5.1.0
2:37:26 PM [main] [message] jEdit: Settings directory is /home/john/.jedit
2:37:26 PM [main] [message] jEdit: jEdit home directory is /usr/share/jedit
2:37:26 PM [main] [debug] SplashScreen: init:39/226ms
2:37:26 PM [main] [debug] SplashScreen: init system properties:58/284ms
2:37:26 PM [main] [message] BeanShell: Beanshell Init
2:37:26 PM [main] [debug] SplashScreen: init beanshell:35/319ms
2:37:26 PM [main] [debug] SplashScreen: loading site properties:6/325ms
2:37:26 PM [main] [debug] SplashScreen: loading user properties:7/332ms
2:37:26 PM [main] [debug] GUIUtilities: Icon theme set to: tango
2:37:26 PM [main] [debug] GUIUtilities: Loading icon theme from: jeditresource:/org/gjt/sp/jedit/icons/themes/tango/
2:37:26 PM [main] [debug] SplashScreen: init GUI:9/341ms
$
--------------------
Can not set Metal Colours anymore
Submitted by rovf on Tuesday, 22 January, 2019 - 09:58
I have the "Metal" plugin enabled, and no other plugin active, which might influence the user interface.

In the global settings, I have set "Swing look&feel" to "Metal".

Still, my settings in the Metal plugin (for example, Scrollbar color) don't have any effect.

This is jEdit 5.4.0 running on Windows 7.
RubyPlugin : No folds
Submitted by rovf on Monday, 11 February, 2019 - 13:16
No fold marks are displayed for Ruby files, even though the Ruby parser is active and the file parses correctly.

Is folding not supported for Ruby, or do I have to turn it on somewhere explicitly?
Use of none-printable of non-printables in modes
Submitted by Thiemo on Thursday, 14 February, 2019 - 09:45
Hi all I wanted to create a mode for dat files where the delimiter is a non-printable (Unit Separator/x1f). Unfortunately, XML does not accept non-printables as characters in it, at least not as default. I searched the net and experimented with defining entities on my own to no avail. Last try looked as follows. Has somebody a solution? ]> Kind regards Thiemo
User login
Browse archives
« February 2017 »
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
 
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   82339
Context Free Art (*.cfdg)   0.31   46046
JBuilder scheme   .001   18487
BBEdit scheme   1.0   18108
ColdFusion scheme   1.0   18016
R Edit Mode - extensive version   0.1   17465
Advanced HTML edit mode   1.0   16198
Matlab Edit Mode   1.0   16060
jEdit XP icons   1.0   15221
XP icons for jEdit   1.1   14285