jEdit Community - Resources for users of the jEdit Text Editor
jEdit for Macbook - how to make Application
Submitted by SiteNook on Tuesday, 18 February, 2020 - 06:01
I have managed to build jEdit on macOS Catalina using OpenJDK 13.

I can run it using java -jar Jedit.jar from the build directory, but I don't know how to make it into an Application that I can install on the Mac.

I have researched PackageManager, Puppet, Iceberg, etc. and they are daunting. I just want to drop it in place and have it show up in Launchpad.

Anyone know how to manually install it?
Binary colorization
Submitted by SpiceWare on Wednesday, 18 December, 2019 - 20:54
I use jEdit to develop for the Atari 2600. I've created a mode file for it, and one of the things I came up with was a colorization rule for binary values. What this does is allow you to easily see graphic data that's stored as binary numbers.

You can see how that looks in the second screenshot from this blog post:
https://atariage.com/forums/blogs/entry/16412-jedit-index/

The mode files are available from here:
https://atariage.com/forums/blogs/entry/16411-minor-revision-to-jedit-mode-files/

If you'd like to implement in your own mode files just copy the SPAN_REGEXP rule that uses DELEGATE="COLORIZE_BINARY" towards the top of the mode file, as well as the RULES SET="COLORIZE_BINARY" at the end.
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
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:

http://plugins.jedit.org/plugindoc/SideKick/#implement-sidekick-parser

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,
Riley
SFO
JMF
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 (http://golang.org/) 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
Hi,

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!!

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

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?

Cheers,
Bjorn
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
"http://jedit.9.n6.nabble.com/jEdit-users-jedit-source-code-repository-td4501575.html",
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
"http://sourceforge.net/project/memberlist.php?group_id=588" 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
Hi!

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
Hello,

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 : http://jojaba.free.fr/?/Traductions-diverses/Traduction-jEdit2 (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
defer=false
startup=true
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

I also translated some plugins : http://jojaba.free.fr/?/Traductions-diverses/Traduction-jEdit3
In this case, should I remove for example this code for the beauty plugin :
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
plugin.beauty.BeautyPlugin.activate=defer
plugin.beauty.BeautyPlugin.name=Beauty
plugin.beauty.BeautyPlugin.author=Dale Anson
plugin.beauty.BeautyPlugin.version=0.7.0
plugin.beauty.BeautyPlugin.docs=docs/index.html
plugin.beauty.BeautyPlugin.depend.0=jdk 1.6
plugin.beauty.BeautyPlugin.depend.1=jedit 04.03.99.00
plugin.beauty.BeautyPlugin.depend.2=plugin CommonControlsPlugin 1.2
plugin.beauty.BeautyPlugin.usePluginHome=true
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

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?

Thanks!!
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;

cpptext
{
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. https://github.com/kberov/scratches/tree/master/tools/jedit/modes

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???

Bobhjedit
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?
thanks!
Load File to JEditBuffer
Submitted by MikeN on Friday, 30 July, 2010 - 14:51
Hi!

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?

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

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();
shell.setKnownHosts("chemin_vers_known_host");
this.login = username;
this.serveur = host;
this.password = password;
Session session = shell.getSession(username, host, port);
MyUserInfo ui = new MyUserInfo();
ui.setPassword(password);
//Session session = new Session(shell);
session.setUserInfo(ui);
session.setUserName(username);
/*UserAuthGSSAPIWithMIC uagss = new UserAuthGSSAPIWithMIC();
Log.log(Log.DEBUG,this,"ICI-1");*/
session.setConfig("PreferredAuthentications", "gssapi-with-mic");
session.connect();

channel = session.openChannel("shell");
fromServer = new BufferedReader(new InputStreamReader(channel.getInputStream()));
toServer = channel.getOutputStream();
channel.connect();
/*Log.log(Log.DEBUG,this,"ICI-2");
uagss.start(session);
Log.log(Log.DEBUG,this,"ICI-3");*/
variable_env_lue = false;
if(isConnected()){
//send("echo \"\"");
}
}
Disbaling some of the Menu Items
Submitted by qooraf on Tuesday, 26 January, 2010 - 17:02
Hi,

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.

Cheers
Qooraf
User login
Browse archives
« September 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
 
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   99587
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17480
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300