jEdit Community - Resources for users of the jEdit Text Editor
Archives
OpenSCAD (scad.xml vbeta1 by Kevin Tucker)
Submitted by tuckerkevin on Friday, 1 June, 2012 - 03:29
OpenSCAD (http://www.openscad.org/) catalog line:
Tabbed windows
Submitted by Bannakaffalatta on Saturday, 2 June, 2012 - 13:09
Hi. Is there a way to have multiple files open in the same window with tabs? The way it is now you have to click the bar at the top that has the name of the current file and you see a drop down list of the other files. I would like them displayed in tabs instead. Thanks in advance.

KP>
jEdit 5.0pre1 is out!
Submitted by Vampire on Sunday, 10 June, 2012 - 19:25
Hi all,

jEdit development team now presents jEdit 5.0pre1, the first preview
development release of the 5.0.x series of jEdit.

Detailed changes can as always be found in the Change Log at http://jedit.org/CHANGES50.txt

Here are some convenient links to see the live state of major problems:

- Bugs which are marked as "severe":
http://sourceforge.net/tracker/?group_id=588&atid=100588&status=1&artgroup=101607

- Bugs which are marked as "regressive":
http://sourceforge.net/tracker/?group_id=588&atid=100588&status=1&artgroup=619797

Volunteers are always welcome to fix bugs including the above:
http://www.jedit.org/index.php?page=devel


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


FYI, merge requests for the 5.0.x series (fix done, but waiting for a review):
http://sourceforge.net/tracker/?group_id=588&atid=1235750&status=1&artgroup=2546309


Have fun with the new release.
jEdit 4.5.2 is out!
Submitted by Vampire on Friday, 15 June, 2012 - 22:43
Hi all,

I proudly present jEdit 4.5.2, the latest stable release of the 4.5 series of jEdit.

Detailed changes can as always be found in the Change Log at http://jedit.org/CHANGES45.txt
This release is a bugfix release.


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


FYI, merge requests for the 4.5 series (fix done, but waiting for a review) can be found at:
http://sourceforge.net/tracker/?group_id=588&atid=1235750&status=1&artgroup=2274635

Have fun with the new release.
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
Copy (X)HTML code to clipboard as HTML (in Windows: CF_HTML format), rather than text?
Submitted by Graham Hannington on Friday, 22 June, 2012 - 03:44
I can already select content in a web browser, copy it to the clipboard, and then, in jEdit, select "Edit > More Clipboard > Paste Special > html" to paste the HTML source of the content into jEdit. I realize that I could also use various other methods to do this (such as viewing the HTML source in the web browser, and then copying that HTML source view into the clipboard, and then pasting into jEdit without "Paste Special"), but, in many cases, I like selecting the rendered objects in the web browser (although, admittedly, selecting in the HTML source view can offer greater accuracy in terms of exactly how much you are selecting).

Okay: copying (X)HTML source into jEdit is covered.

Suppose that I edit the HTML source, and now want to copy that edited content back into the browser?

I should clarify my use case: I'm copying content from a browser-based rich text editor (specifically, the Atlassian Confluence 4 rich text editor, which is based on TinyMCE), pasting it into jEdit as HTML source, editing the HTML, and then copying'n'pasting that edited content back into the rich text editor.

Currently, copying the edited content back into the browser is a multi-step procedure, to ensure that the HTML is in the appropriate internal clipboard format (in Windows, I think this means CF_HTML), so that the content is rendered appropriately by the rich text editor, rather than appearing as text (the HTML source code):

1. In jEdit, I save the edited HTML to a file (with a file extension such as .htm or .html)
2. I open the file in a web browser (say, Firefox)
3. I select the content, and copy it to the clipboard
4. I paste the content into the Confluence rich text editor

I would rather have a "Copy Special > html" option in jEdit, hence this forum topic.

Does jEdit, or one of its plugins, already have such a feature?

If not (in which case, I guess I'll add a feature request), can anyone suggest a quicker existing non-jEdit method than the "save to .htm, select and copy" method I'm currently using? (I'm using Windows 7. I have no jEdit plugin development experience, but I have some scripting experience, and it's occurred to me to write some script "glue" to copy into CF_HTML format.)
Open in Desktop
Submitted by Arionyx on Friday, 22 June, 2012 - 15:11
I was wondering if I could find out where I need to go to configure the 'Open in Desktop' command in the FSB pane. I'm currently working with a scripting language, and for some reason, include commands won't work correctly when I run the file within jEdit, yet they work fine when I run the file from Explorer.
LucenePlugin Broken?
Submitted by cnoevil on Wednesday, 4 July, 2012 - 19:07
Greetings,

I recently updated jEdit to version 5pre1. It looks like a nice upgrade. Kudos.

Unfortunately CtagsInterface is throwing any error telling me that it is unable to load the LucenePlugin...well maybe because I didn't have it. So I went to download it along with the Markers plugin that it uses, but neither of those two plugin will open. I'm on Windows 7 btw. Anyway. I downloaded bot the zip and the tgz archive of each hoping for a solution but I am unable to extract either one. I use 7-zip which has been very dependable in every regard until now... so; anybody have some useful advice?

Thanks,
Mark
jedit has 100 or so windows open
Submitted by jeditcdnguy on Sunday, 8 July, 2012 - 00:40
Hi - I'm running jedit 4.5.2 under Ubuntu 12.04 with the latest Java.

Some time back I opened a ton of files then closed them all and now the windows won't go away. If I open jedit to edit one file, the one file is there in the first window, the file shows up alone in the drop down menu but when alt tab goes to jedit, the 100 or so windows are there.

I have tried global closing, everything. Can anyone make a suggestion, please?
jDiff: any way to invoke by cli (passing args)
Submitted by jdlx on Sunday, 8 July, 2012 - 12:15
Hi,

i'd like to use jDiff@jEdit as a external Diff tool for my GIT client app.. the question i have:
Can i invoke/start jEdit by passing the two filepathes and some arg that makes jedit diff those right away?
Something along the line:

$ /Applications/jEdit.app/Contents/MacOS/jedit -diff "$1" "$2"

thx,
Jan
electric parens, etc
Submitted by kwerle on Wednesday, 11 July, 2012 - 18:05
As a rails coder, I end up doing a bunch of
<% code %>
and also
<div ...>

There does not seem to be a way to make <>'s electric - or even <% %>. Nor can I seem to do that using superabbrev - <TAB fails to autocomplete the abbrev I made. My guess is that it's ignoring the non-alpha character left of the cursor when I hit TAB.

I'm hoping someone else has solved this. Seems like someone must have! If not, I guess I could throw some code at it...

TIA,
Kurt
Syntax highlighting alias
Submitted by John Gallant on Monday, 16 July, 2012 - 17:08
I would like to assign new filename extensions to extensions already supported. Is there a way to do this?
Specifically, I am editing Objective C files with .mm extensions which does not seem to be supported. I would like to assign this extension to .m which is supported.
Another use I find handy is to name files with a .cx extension and alias that extension to .c. This allows me to view highlighted files I do not want searched.
jediut.exe over jedit java
Submitted by DocDJ on Wednesday, 18 July, 2012 - 13:32
I installed the java version of jedit some time ago and had a lot of files in the history list. I recently installed java.exe (Windows) and now, neither of these programs can find my history list. How can I recover it (and I think I would prefer to be able to use it in the java.exe version, to become independent of changes to the java installation.
How to disable the localization in jEdit 5.0?
Submitted by sinarf on Thursday, 19 July, 2012 - 08:50
Hello,

Just installed the last version of jEdit (5.0pre1) and everything is in French, probably because my professional computer is under a French version of Windows. I can see that it can be seen as a good idea, but it is not.

I won't be a problem if I find a way to disable it forever, but I couldn't find anything on the subject in help.
How can I go back to the real jEdit? Please.

In my humble opinion, translating a developer tool doesn't make any sense.

Thanks in advance.
Trouble adding Markdown syntax highlighting mode for the jEdit 5.0
Submitted by avamk on Saturday, 21 July, 2012 - 01:25
Hello, I am just starting to explore jEdit 5.0 on Mac OS X 10.6.8, and so far I find it all to be very exciting! Thanks for creating such a great piece of software. I downloaded the markdown.xml Markdown syntax highlighting mode from here: https://github.com/peterlynch/jEdit-modes And I tried to add it to jEdit by placing markdown.xml in the same folder as ~/Library/jEdit/modes/catalog Then I added the following to the catalog and saved it: However, even after restarting jEdit, the markdown mode still does not appear when I try to change modes in the Buffer Options dialog. How should I troubleshoot this, did I skip any steps? Thanks!
Plugin Column Ruler bugs?
Submitted by linuxerwang on Sunday, 22 July, 2012 - 16:27
Hi, all

I am using Column Ruler and love its functionality but it seems has a few issues (latest version of Column Ruler and jedit 4.5 pre1):

1. Add Marker/Guide through the "Plugins Options" dialog doesn't work most of time. After input the marker the list doesn't have that marker. Sometimes works though.

2. The guide line created through column ruler doesn't show up when jEdit starts. I have to always click on the ruler at the column number and the guide line is shown. It's tedious to do it every time.

Thanks.
Sentence recognition is text mode?
Submitted by avamk on Tuesday, 24 July, 2012 - 15:52
Hello,

I realise that jEdit has shortcut keys for moving to the beginning and end of lines. Is there a similar way to move the caret to the beginning and end of a *sentence* in text mode? Is jEdit, or perhaps a plugin, capable of recognising sentences?

Thanks!
Can't use Alt key in jEdit 5 under Mac OS X
Submitted by avamk on Sunday, 29 July, 2012 - 23:35
Hello,

I am trying to get my Alt key to work in Mac OS X. Whenever I try to use it as part of a shortcut, it instead writes a symbol (which symbol depends on what character I hit on the keyboard) into my buffer.

I searched for previous posts, and one suggested modifying my startup.bsh. I tried but still couldn't get my Alt key to function. Can someone tell me what I am doing wrong? Below is the section in my startup.bsh:

/*{{{ Remapping modifier keys part I */

/* The below is the default, swap the items around to
* change meaning of C+, A+, M+, S+.
*/
//KeyEventTranslator.setModifierMapping(InputEvent.CTRL_MASK,
// InputEvent.ALT_MASK, InputEvent.META_MASK,
// InputEvent.SHIFT_MASK);

/* ... and this the MacOS default: */
KeyEventTranslator.setModifierMapping(InputEvent.META_MASK, /* == C+ */
InputEvent.CTRL_MASK, /* == A+ */
InputEvent.ALT_MASK, /* == M+ */
InputEvent.SHIFT_MASK /* == S+ */);

/*}}}*/

/*{{{ Remapping modifier keys part II */

/* Note if you chose to make use of the M+ (option key) prefix on MacOS, you
* will need to disable a little piece of code: */
Debug.ALT_KEY_PRESSED_DISABLED = false;
/* Otherwise M+ will be ignored for the purposes of keyboard shortcuts. */

/* But if you enable this, you might find that Option+8 for example invokes your
* macro but also inserts a bulletpoint, as per standard Macintosh keyboard
* behavior. To disable the Option key for inserting special high ASCII
* characters, uncomment this. Note that it has wider implications, notably
* DROVAK keyboard shortcuts will be mapped as if the keyboard was QWERTY. */
Debug.ALTERNATIVE_DISPATCHER = false;

/*}}}*/
java.lang.OutOfMemoryError: unable to create new native thread
Submitted by imgod2u on Friday, 3 August, 2012 - 20:42
Something has happened with our company linux cluster recently. I think they've limited the number of user threads or at the very least, have significantly reduced it. In either case, resizing the jedit window will consistently cause:

1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: Exception in thread "AWT-EventQueue-0"
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: java.lang.OutOfMemoryError: unable to create new native thread
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.lang.Thread.start0(Native Method)
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.lang.Thread.start(Unknown Source)
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue.initDispatchThread(Unknown Source)
1:32:20 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.run(Unknown Source)

Unfortunately, I do not have admin access nor do I think IT will change their policy just so I can use jedit. So my question would be, is there a way to find out what the maximum thread/nproc limit is for my user account and is there a way to limit how many threads jedit spawns?
Java Noob
Submitted by Arionyx on Monday, 6 August, 2012 - 18:26
I'm almost a complete noob when it comes to Java. The bulk of my expereience has come from working with beanshell to write macros for jEdit. On that note, I've decided to try to dive a little deeper, and write a plugin. I've got most of my programming sources ready to go, all I have left is to set up the dev environment. I'm currently using NetBeans IDE so I was wondering if anyone could help me set it up for writing plugins. I've managed to compile jEdit but when I try to work on, even the 'QuickNotepad' plugin from the tutorial, it says packages from jEdit are missing.
User login
Browse archives
« June 2012 »
MoTuWeThFrSaSu
 
3
4
5
6
7
8
9
11
12
13
14
16
17
18
19
21
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   82338
Context Free Art (*.cfdg)   0.31   46042
JBuilder scheme   .001   18486
BBEdit scheme   1.0   18107
ColdFusion scheme   1.0   18015
R Edit Mode - extensive version   0.1   17461
Advanced HTML edit mode   1.0   16194
Matlab Edit Mode   1.0   16056
jEdit XP icons   1.0   15220
XP icons for jEdit   1.1   14281