jEdit Community - Resources for users of the jEdit Text Editor
Sidekick parser
Submitted by zslevi on Monday, 29 June, 2015 - 14:01
How can I create a new Sidekick parser? Can I do it from Beanshell, or does it have to be Java?

This is all the docs I have found:

But most of the links don't work.
Sidekick plugin doesn't handle CSS @media sections?
Submitted by Phrawm48 on Thursday, 25 April, 2013 - 15:49
First, my apologies if I've put this in the wrong forum. I took a look a the various forums and concluded this would be the place to discuss an apparent issue with jEdit 5's Sidekick plugin.

I recently discovered that the jEdit 5.0.0's excellent Sidekick plugin evidently doesn't cope well with CSS @media statements / sections.

I have a CSS file that includes a "@media print" section. Sidekick lists all the styles in the default section of the CSS file, but does not list anything contained in the print section.

If I remove the @print section statements and its delimiters, then in Sidekick click Parse, Sidekick now lists all sections. For example, the default section of the CSS contains a "body" selector, as does the print section of the CSS. With the @media statement and delimiters removed, Sidekick lists both of the "body" selectors. If I put the @media section back in and Parse and Sidekick only sees the default section's "body" selector.

I'm only a jEdit user, not a developer, but wanted to raise this issue in the developer's forum because it's where I think I might get a useful response; and if we're all lucky, maybe even a fix at some point.

Cheers & thanks for your help,
Submitted by CatBurglerV8 on Friday, 22 March, 2013 - 19:03
I'm curious as java JMF2.1.1e DOES NOT INSTALL in jdk1.6.0 ad later has anyone else encountered this ?
Get away from SourceForge
Submitted by deamon on Saturday, 15 December, 2012 - 12:05
Recently I tried to submit a patch for Go language ( support, but I failed to register with SourceForge because of some curios input validation bugs in their form. Then I tried to login via OpenID and was asked to give my SF password (looks like they don't have understood OpenID), but I could login anyway. The I tried to submit a patch for Go language support but failed because SF had detected a "CSRF" attack! SF is such a terrible platform! I suggest to move to Google Code, GitHub or Bitbucket. Since I'm not able to submit my patch, I'll post it here. The "unindentThisLine" should look like this: ).*$" /> Christian
PopupMenu in StandaloneTextArea class jEdit
Submitted by Paula17 on Thursday, 16 August, 2012 - 17:15

I'm using textArea's jEdit into my own application with StandaloneTextArea class.
This class has its own pop-up-menu but I'd like to create my own pop-up-menu. How can I disable that pop-up-menu?

Thanks in advance!!

JEdit for JavaFX 2
Submitted by bjornjon on Wednesday, 20 June, 2012 - 23:09

I'm about to start work on a Java code editor control for a JavaFX 2 application. I need the basic stuff, syntax highlighting, text format, auto-complete.

Is anyone doing something in this direction with JEdit as the core? How much work is it, in general, to build a new GUI with these basic requirements using JEdit API as back-end?

Data Collection problem for concept location research on Jedit
Submitted by komail on Thursday, 17 May, 2012 - 07:47
Hi there,
I'm doing my research on concept location area and I want to chose Jedit as
my case study. I need the complete data of the source code repository with
the log commit messages, bug and features.
The problems are:
1. The source code repository is in three different type of source control
repository(CVS, SVN, Git)
2. I want to find/recommend the accurate location for the features and bugs
in the source code and regarding to the conversation in
I don't know what should I do with this code distribution problem.
3. There isn't any link in the bugs and features web page to download them.
4. I need the whole list of the Jedit developers. After a long search, I
found a list of developer in
"" but I don't
know is this correct and also there isn't any link to download the list.

thanks for your help, with the best regards
How to submit an edit mode
Submitted by Skeeve on Sunday, 29 April, 2012 - 16:26

I just finished my LQL edit mode (for mk-livestatus). How can I submit it?
French translation
Submitted by jojaba67 on Monday, 20 February, 2012 - 15:15

I know there are pro and contra for translation, but I'm more comfortable when the UI is in French when I work on a text editor or another application. So, since a couple of years, I try to translate my favourite text editor, jEdit. Now that 4.5.0 has been released, I submitted a new version of this translation : (sorry, the page is in french ;p ).

I would like to ask for some technical advises since I don't have real knowledge on how handling java files, especially *. properties files.
I would like to know if I had to remove some datas from the translated file to have it work properly for the upcomming versions. I wonder, for example, if I have to remove the following lines (and other lines that has not to be translated) :
# Plugin activation hooks

I also translated some plugins :
In this case, should I remove for example this code for the beauty plugin :
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Anson 1.6 CommonControlsPlugin 1.2

I put the translated files into the /properties/ folder in installation folder of jEdit

Thanks a lot for your help. Smiling
IDE using jEdit
Submitted by Paula17 on Tuesday, 29 November, 2011 - 16:18
I'm programming an IDE using Java language. This IDE needs a text Editor, in this case, jEdit. I would like to know how I could do this...How can I put jEdit into my IDE?

RegEx in UnrealScript EditMode
Submitted by MonsOlympus on Sunday, 22 May, 2011 - 15:46
Okay so Ive been at this for a good week trying to work things out, using regex buddy for testing against java but it seems the version that it uses is different than what the jedit modes use.

Now my issue is in matching braces, now I have seen that this can be tricky using regex and perhaps using some other method might be the go but Im not even sure where to start there. I am willing to try anything even if it includes having to write a plugin or extending jedits functionality as this might head in that direction at some point.

Ive tried various regex's to try and match the cpptext blocks, now to explain it, cpptext blocks are C++ written inside UnrealScript source and Im wanting to highlight them as C++ by importing parts of that mode in instead of adding the keywords in the UnrealScript list. The reason for this is UnrealScript while sharing similarities to C++ doesnt allow the use of keywords such as void, null or virtual for instance.

As an example:

class foo extends bar;

var newfoo newb;

virtual void BeginDestroy();
virtual UBOOL IsReadyForFinishDestroy();

UBOOL IsHiddenEdAtStartup() const
return bHiddenEd;

Which shouldnt be that hard to do since the braces are always matched and cpptext resides outside any nest. The tricky part is there is also structcpptext which resides in 1 nest always and can contain nested braces but each only contain a nest depth of one, being functions/constructors.

Any help would be greatly appreciated because at this point I feel like Im bangin my head against a wall. Thanks.
Mojo::Template edit modes
Submitted by Krassimir berov on Sunday, 19 December, 2010 - 17:25
Hi, all. Today I made edit modes for the Mojolicious Web Framework Perl.

I made two files. The first(mojo-template.xml) is just for embedded perl which can be used with any type of template and will highlit only the perl code. The second (mojo-html.xml) is for html and uses the MAIN rule from mojo-template.xml.

I looked at other implementations like asp.xml,rhtml.xml,php.xml and combined examples from there so the new mode files are pretty small.

However there are some issues which I can not resolve my self an will be glad to hear from you: Here is one: When in the edited file there is code like:
    <% if ($article->has_tags) { %>
        This entry was tagged <%= tags_links $article %>.
    <% }%>

the delimiters "<% and %>" between the first and the last delimiter in the showed example are not highlited properly. I could not find the chunck of XMl solving this in php.xml for example. Any hint will be highly appreciated. Thanks

jEdit & NetREXX
Submitted by bobhjedit on Thursday, 4 November, 2010 - 11:48
Anyone using jEdit w/ NetRexxDE???

seeing deleted text
Submitted by madmarcos25 on Monday, 2 August, 2010 - 19:38
Hi all,
I want to analyze the text that is deleted (e.g., pressing the backspace key or selecting a range of characters and pressing a key). Specifically, I want to look for a newline character.
Does jEdit allow this?
If so, can you please provide a link and/or example?
Load File to JEditBuffer
Submitted by MikeN on Friday, 30 July, 2010 - 14:51

I am using the independent TextArea for a small project and was wondering how to load a file to a JEditBuffer. Currently I am reading the file by myself, and setting the text using "TextArea.setText(String)". Is there any way to load the file directly to the TextAres's JEditBuffer?

Jsch et GSSAPI
Submitted by Jabberwock on Monday, 7 June, 2010 - 09:07

I create a class to connect with jsch to a server.
If i send the login/mdp it's ok.

But I want to use the GSSAPI authenfication. I look the jsch examples.
With this code i have the message "Auth failed".

Do you have an idea ? or examples ?

public void connect(String username, String password, String host, int port)
throws JSchException, IOException {
JSch shell = new JSch();
this.login = username;
this.serveur = host;
this.password = password;
Session session = shell.getSession(username, host, port);
MyUserInfo ui = new MyUserInfo();
//Session session = new Session(shell);
/*UserAuthGSSAPIWithMIC uagss = new UserAuthGSSAPIWithMIC();
session.setConfig("PreferredAuthentications", "gssapi-with-mic");

channel = session.openChannel("shell");
fromServer = new BufferedReader(new InputStreamReader(channel.getInputStream()));
toServer = channel.getOutputStream();
variable_env_lue = false;
//send("echo \"\"");
Disbaling some of the Menu Items
Submitted by qooraf on Tuesday, 26 January, 2010 - 17:02

I like to customize the jEdit in such a way that only required features are shown to users. For that i like to disable some of the features like
- Markers
- Folding
- Utilities
- Macros

Is it possible? if yes then which interface or API gives me this opportunity?

Secondly i want to pre-load some of developed plugins in such a way that user don't have to load those explicitly. I like to create an install package such that all the plugins are already part of jEdit and the user doesn't have to load those via plugin Manager. Is this possible? if yes how can i do that?

Will really appreciate if someone can help me.

jEdit in github
Submitted by sergi.mansilla on Sunday, 6 December, 2009 - 21:33

I believe that switching the jEdit VCS to git/github would attract developers to the project. Several projects have reported great benefits contribution-wise when they moved to github (Erlang, jQuery, HelmaNG and Clojure being some of them). The reason is that the pull/push/branching system is amazingly convenient and lets everybody focus on real code and not maintenance. The interface is easy to use as well.

Is there any possibility that this would happen in the near future? I think it would be amazing for the project, really.


Getting standalone textarea to work with syntax highlighting, code completion, etc.
Submitted by mikeklein on Sunday, 22 November, 2009 - 21:22
I have run build.xml to generate standalone-textarea and despite tweaks (BufferUndoListener?) needed in build got past this.

I can successfully show a textarea with my content inside however there is no java syntax highlighting, backspace/del/arrow keys don't work, etc. All text is black and white.

I am instantiating the textarea with supplied 'jedit.props' file and changed default mode from text to java in 'jedit.props'. I have confirmed that modes directory (with text.xml/java.xml) is a part of my textarea jar produced by build as is the modified jedit.props file.

Any ideas how I can actually use this standalone widget as intended? I need syntax highlighting and code completion. I was hoping to pass in classpath urls as needed for code completion part.

I am seeing nothing in APIs (at least from textarea) which would allow me to do any of the above.

Help w/be nice right about now...

thanks in advance,

How with jEdit edit String in java program?
Submitted by programania on Wednesday, 11 November, 2009 - 17:22
How with jEdit edit String in java program?

Something of a type:
String s =jEdit.???????????? (" for (i=0; i < 10;) \n {\n i ++; \n} ");
User login
Browse archives
« February 2018  
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
Yes, I'd like to have translations
No, that'd be bad (please comment)
Total votes: 1092
file   ver   dls
German Localization light   51052
Context Free Art (*.cfdg)   0.31   41260
JBuilder scheme   .001   17052
BBEdit scheme   1.0   16657
ColdFusion scheme   1.0   16635
R Edit Mode - extensive version   0.1   14918
Advanced HTML edit mode   1.0   14092
Matlab Edit Mode   1.0   14037
jEdit XP icons   1.0   13462
XP icons for jEdit   1.1   12486