jEdit Community - Resources for users of the jEdit Text Editor
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
jEdit in github
Submitted by sergi.mansilla on Sunday, 6 December, 2009 - 21:33
Hello,

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.

Cheers,

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

mike
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} ");
Trouble building jEdit in Eclipse
Submitted by kenmcfa on Saturday, 10 October, 2009 - 23:32
Hi, I'm trying to built the latest trunk of jEdit in Eclipse. I checked it out from the sourceforge SVN, and then imported it as a new project from the ant buildfile. However doing so gives me loads of problems. A lot of them are complaining that various imports cannot be resolved. I *can* fix these by importing the appropriate .jar files on the build path. This fixes those errors, but I also get package related errors such as "The declared package "macosx" does not match the expected package "jars.MacOSX.macosx"" I could fix these by replacing the package declarations, but surely this isn't necessary? Is it possible that I've set something up wrong?

Any help would be much appreciated.
Documentation for syntax highlighting
Submitted by robw on Friday, 9 October, 2009 - 23:03
Newbie here!

I've looked in all the docs can find but can't find anything about how to create a syntaxt highlighting file. Anyone knkw where I can get instructions?

Thanks.

Rob Wheeler (UK)
Need Help
Submitted by Nirvana_One on Tuesday, 22 September, 2009 - 08:31
Hello,
I found it fast while jedit openning a txt file and displaying it even the file is large, why?
I use text to append the StringBuffer, also use MappedByteBuffer, but it's not as fast as jedit.
Would someone tell me some...?
Also My email: ts.nirvana@gmail.com
Thanks very much.
New Java profiler to improve jEdit
Submitted by SoftwarePearls on Friday, 18 September, 2009 - 15:32
As a 'thank you' to the jEdit team, we're giving away free (full) licenses to our new CollectionSpy profiler to all serious jEdit contributors. CollectionSpy is the only Java profiler to focus exclusively on Collections Framework usage issues.

See http://www.collectionspy.com for tool features, contact details (please use the Support page), etc
jEdit Search history
Submitted by joe131 on Friday, 9 January, 2009 - 18:38
Hi All, I've used jEdit for years and think it's excellent! But one thing has bugged me since Day one. Besides the lol Smiling If you add the Search Toolbar, and type in a word to search for, it doesn't get added to "Previously entered strings". The only way strings seem to get added is if you use the Search->Find Dialog. So I'm looking at the code now to try to find a way to get it to save strings entered into the Search Bar. I think this would be HUGE. If there is already a way to "enable" this, let me know, otherwise I'm hoping to track down the code involved and modify it. Keep up the good work! Smiling Joe Siebenmann
Regex in SPAN_REGEXP/END
Submitted by Blitzcoder on Monday, 29 December, 2008 - 23:14
Hey guys, I'm writing a small IDE (http://blitz-coder.de/data/find1.png) for a basic-like language (BlitzMax) using the latest jedit textarea (pre16 I think). Multiline-comments are set using "Rem" and "EndRem" (case-insensetive). Now the end of a multiline comment can be "EndRem" or "End Rem". I'm using a SPAN_REGEXP-Tag in the mode file, but since I can just use regex in and not in . So I don't know how to highlight these comments. At the moment my definition looks like this: ^\W*Rem\W*$ EndRem Perfect would be a definition like this: ^\W*Rem\W*$ ^\W*End\s*Rem\W*$ Do you have any ideas how to highlight these comments? Do you have any reason for disallow regex in ? If not, I could write a patch to make this possible. Thanks for your answers.. Johannes Wotzka
Pro*C syntax
Submitted by gabebear on Monday, 24 November, 2008 - 20:21
I'm trying to make a ruleset for Pro*C syntax. Pro*C is C run through Oracle's precompiler which allows you to embed SQL directly into C. Here are the simple rules I have that come close to working. EXEC SQL CREATE END-EXEC; EXEC SQL EXECUTE BEGIN END-EXEC; EXEC SQL EXECUTE DECLARE END-EXEC; EXEC SQL ; The problem with these rules is that "EXEC", "SQL", "CREATE", "EXECUTE", "BEGIN", and "DECLARE" can all appear on separate lines. I tried creating separate rule sets, but I don't see a way to include a default case that changes the ending delimiter for the block. I also messed with regular-expressions via SPAN_REGEXP, but these only work on a single line at a time (which makes sense for speed) and can't just match the first character. Any ideas? Here's snippit that I've been using for testing. EXEC SQL CREATE select * from should_be_highlighted; END-EXEC; select * from should_NOT_be_highlighted; EXEC SQL EXECUTE select * from should_be_highlighted; select * from should_NOT_be_highlighted; EXEC SQL EXECUTE select * from should_be_highlighted; select * from should_NOT_be_highlighted; EXEC SQL select * from should_be_highlighted; select * from should_NOT_be_highlighted; EXEC SQL BEGIN DECLARE SECTION; select * from should_NOT_be_highlighted; EXEC SQL END DECLARE SECTION; select * from should_NOT_be_highlighted; EXEC SQL EXECUTE BEGIN select * from should_be_highlighted; select * from should_be_highlighted; END-EXEC; select * from should_NOT_be_highlighted; EXEC SQL select * from should_be_highlighted ; select * from should_NOT_be_highlighted; EXEC SQL EXECUTE BEGIN select * from should_be_highlighted;select * from should_be_highlighted;select * from should_be_highlighted;END-EXEC; select * from should_NOT_be_highlighted; EXEC SQL EXECUTE BEGIN select * from should_be_highlighted;select * from should_be_highlighted;select * from should_be_highlighted;END-EXEC; select * from should_NOT_be_highlighted;
Accessibility & JEdit - A field of improvement!
Submitted by FMarrenbach on Tuesday, 4 November, 2008 - 09:41
Hello,

Screen Reader´s like VoiceOver on a Mac does not interact with JEdit! Users can not listen to their text while typing. (May be it is possible to bridge the gap with a macor or apple script?)

the toolbox icon will be found by VoiceOver (Screen Reaser of Mac OS X) There are tool tip tests too, but VoiceOver can not read it.

the web site of cmmunity has also problems with accessibility!

Yours
Frank Marrenbach
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   83283
Context Free Art (*.cfdg)   0.31   46056
BBEdit scheme   1.0   18596
JBuilder scheme   .001   18496
ColdFusion scheme   1.0   18025
R Edit Mode - extensive version   0.1   17474
Advanced HTML edit mode   1.0   16207
Matlab Edit Mode   1.0   16069
jEdit XP icons   1.0   15230
XP icons for jEdit   1.1   14294