jEdit Community - Resources for users of the jEdit Text Editor
Archives
Does Jedit garble any HTML files?
Submitted by Hannes on Wednesday, 3 November, 2010 - 08:23
Hi,
I have Jedit with the Plugin Includes Parser for HTML pages and as a german citizen, I do use a lot of Umlaute (special characters) in the Include. The Head of the HTML file does show the entry that the endoding is utf dash eight (I can not include the sample code, because I already did write my question with the code mentioned and this board deleted it due to suspicious characters).
After inserting the Include Code into the main HTML page by the Includes Pager, all the Umlaute are shown totally garbled.

Is it correct that the Includes Parser does change the encoding into whatever else, but does not insert the special characters in the correct encoding? In utilities, Global Options, encodings the default character encoding is set to utf dash eight.

Is there any work-around? Normally, I do not bother to find a solution for faulty software, but I seem not to be able to find any other editor with includes capabilities working under Linux.

I tried to find a mode whereby Jedit would change the special characters into HTML entities on-the-fly during entering, as is possible for example with dreamweaver, but until now I did not find anything.

If there is a work-around or any solution I would be grateful for any hint!
jEdit & NetREXX
Submitted by bobhjedit on Thursday, 4 November, 2010 - 11:48
Anyone using jEdit w/ NetRexxDE???

Bobhjedit
code-completion using yacc parser
Submitted by captainhunt on Wednesday, 10 November, 2010 - 07:57
Hi there,

I am trying to add syntax highlighting and code-completion for a quite idiosyncratic command file syntax to jedit.

While I managed pretty well to use jedit's xml edit-mode description for syntax highlighting, I cannot find a good starting point to add code-completion.

I currently see two possibilities:
a) use the xml edit-mode description to get the KEYWORDS somehow into a suggestion list
b) somehow connect the lex/yacc parser with jedit.

b) would be my prefered way as, it would perfectly sync up with any code development of the program and its parser.

Any hints, tips outlines which way to go, any getting started or simple example for code completion would be highly appreciated.

Thanks in advance,
Gergoe
Duplicate Buffers after jumping to search result
Submitted by imgod2u on Sunday, 14 November, 2010 - 00:22
I've noticed this happen a few times now both on Solaris and on Windows. When searching a relatively large file (3000 lines or so), if I jump to a result (especially through Hypersearch), there would be duplicated buffers in BufferTabs. Now, I originally thought this was just a bug in the plugin but I noticed that when I edit one, the other buffer would not update. It would also pop up the notification that the file had been changed on disk.

This leads me to believe jEdit opened duplicate buffers of the same file after jumping to the search result line. I'm running 4.3 final using java 1.4.2 but on Windows, I've noticed it happen with the latest JRE and 4.3 final.

Has anyone else run into this problem? Any possible solutions?
OS X 10.6.5 updates causes jEdit to load in 'Java-ish' look rather than native OS X look
Submitted by altonator on Monday, 15 November, 2010 - 10:40
I've just updated OS X to 10.6.5 and now jEdit doesn't look OSX-ified. In other words, the File, Edit, etc menus are within the jEdit window rather than in the OS X mneu bar.

Other than that it seems to work OK.

Anyone got an ideas as to what's caused this? (I'm guessing it's a Java update that was packaged with the OS X update). And more importantly, can anyone manage to fix it?

Cheers
Altonator
Parse error when trying to replace blanks
Submitted by gold-mary on Tuesday, 16 November, 2010 - 08:30
Hi,

I apologize in case this is a duplicate. I searched the forum, but did not find anything which seems to be similar to this issue.

I use jEdit 4.3.2 (Java 1.6.0_22).
Since a few days it is not possible any more to replace blanks. When I select "Text" within the Find dialog, nothing happens. In case I select "Return value of a BeanShell snippet" I get an error:

Parse error at line 3, column 9. Encountered...

Is there anything broken? Or is it just a setting I have to change.


Thanks a lot for your help,

gold-mary
SVNPlugin: Authentication failed
Submitted by Zelos on Tuesday, 16 November, 2010 - 10:10
Hello,

I just installed SVNPlugin version 1.6.0 with dependencies as mentioned in the plugin page. My jedit version is 4.3.2 using java 1.6.0_20.

When I try to access my repository via svn+ssh the SVN console shows "error while listing entries: svn: Authentication required".
However, I tried to provide the username as part of the URL as well as input into the username field. Password is not required since I use a public key file.

It seems that ssh is not called correctly from jedit, restricting authentication to password only (which is not provided) instead of using ssh's default mechanisms.

How can I get this working?

Thanks!
David
UpdateIndex (UpdateIndex.bsh vV1.0 by Peter Theobald)
Submitted by turtlecove on Wednesday, 17 November, 2010 - 02:30
Macro for keeping an "index" or "table of contents" at the top or bottom of an outline file. It assumes all non-indented lined are headers with indented content following each header. Also assumes there is a header titled "Index".

UpdateIndex scans the current buffer, makes a list of all the headers, and replaces the section titled "Index" with this list.

For example:

Index
    old items
    no longer present

shopping list
    peaches
    apples

calls to make
    call Larry
    call Moe
    call Curly

After running UpdateIndex macro the file will be:

Index
    shopping list
    calls to make

shopping list
    peaches
    apples

calls to make
    call Larry
    call Moe
    call Curly
It works really well in conjunction with my WikiWord.bsh macro which can turn each header into an active link.
Menu Editor with Separators
Submitted by patchworker on Thursday, 18 November, 2010 - 22:45
Hello,

I really like the Menu Editor plugin and added some new menus, e.g. XML

I put some actions into the new XML menu and now I would like to put in some separators. I didn't find something about separators in the help-menu and now I don't see why the "Separator" Button doesn't work for me (jEdit 4.3.1 on Ubuntu 8.04)

(in the SourceForge/ bugs & patches list I also didn't find anything about this problem)

Can somebody give me hint how I can add separators using the plugin or manually in a props file?

Greets!
Daniel Brüßler
Clean up the old projects?
Submitted by patchworker on Friday, 19 November, 2010 - 08:38
Hi,

I just deleted spam in the projects-list, the project-name was "Aaaaaa".

All the others are from 2003 ... 2004, so they're already done (like Sidekick) or not done.
http://community.jedit.org/?q=project&tid=83

Is it OK, when I clean up this list?

Greets!
Daniel
creating a user language dictionary in jEdit
Submitted by pat4kin on Tuesday, 23 November, 2010 - 10:43
Hallo!
I have been in search of a text editor for work on a desktop running MS-Win-XP and a notebook running Linux Ubuntu.
Having installed jEdit on the XP system I am impressed with the functionality.
I am building a translation model to translate my English texts into German and need the ability to run my dictionary on the jEdit platform. The dictionary is based on a csv file structure.
Can anyone recommend me a way to get a dictionary running with jEdit?
I would like to make use of the create text tags function on jEdit.
I would then use the same tags with the dictionary entries.
Would BeanShell be a way?
What would, for a non-programmer, be the best way to create a simple dictionary look-up script?
For any good ideas I would be very grateful.
Thanks and regards, pat4kin.
MenuEditor 0.5 (MenuEditor.jar v0.5 by Shlomy Reinstein)
Submitted by shlomy on Saturday, 27 November, 2010 - 00:29
Replaced the separator button with an item in the action set list on the right.
Run shell command; return to text area
Submitted by grantciv on Monday, 29 November, 2010 - 00:28
I'm having trouble writing a macro that runs a shell command and returns to the text area. The ultimate goal is to have a macro that saves all the buffers (without confirmation), runs the current buffer in an appropriate interpreter (python, e.g.), and returns to the text area. Really, if focus could simply remain in the text area, that would be great.

The trouble I'm having is that the view.prevTextArea() call is either being executed too early or it's simply not working the way I understood. The focus ends up in the System shell area. My code is below. I think the only important lines are the three last ones, but I'm including it all, just in case.

// This is a recorded macro. First, check over the
// commands to make sure this is what you intended. Then,
// save this buffer, and the macro should appear in the
// Macros menu.
filetypeToCompilers = new java.util.HashMap();
filetypeToCompilers.put(".py", "python -tt");
filetypeToCompilers.put(".java", "javac");

fileExtensionPattern = java.util.regex.Pattern.compile("(\\.[^.]*)$");
matcher = fileExtensionPattern.matcher(buffer.getName());
if (matcher.find())
{
	extension = matcher.group(1);
}
else
{
	Macros.error(view, "Unable to determine file type (missing extension?).");
	return;
}

compiler = filetypeToCompilers.get(extension);
if (compiler == null)
{
	Macros.message(view, "No compiler/interpreter defined for extension '" + 
	extension + "'");
	return;
}

runCommandInConsole(view,"System",compiler + ' ' + buffer.getPath());
waitForConsole(view);
view.prevTextArea();

Any thoughts?
How to get "last viewed buffer"?
Submitted by chambery on Monday, 29 November, 2010 - 01:45
Hi all,

I'd like to modify the SwitchBufferPlugin to behave like the editor switching from Eclipse, ie the sorting of buffers is in "last viewed order".

So- is there a way to get a buffer's last viewed timestamp?

Thanks,
Todd
Matlab Edit Mode(with support for auto indentation) (matlab.xml v1.0 by Excee)
Submitted by tooyoungdy on Monday, 29 November, 2010 - 06:02
this is largely based on the version written by Chris Rose, with the addition of working auto indentation. Also, it fixed a bug with the ' operator.
Indent folding mode error - blank lines
Submitted by patrickb on Wednesday, 1 December, 2010 - 14:14
The behaviour of a line at indent folding should only depend on the number of initial tabs in the line, not on the content of the line.

However, when using indent mode, blank lines are not folded correctly. E.g.
A.
___B.
.
C.

(dots denote end of lines, third line is a blank line, ___ represents a tab) after folding looks like:
A.
C.

However, the blank line is on the same "tab hierarchy" as A and C. Therefore

A.
.
C.

would be correct. Why is this a problem? I use jEdit to edit plain text. Blank lines should serve to separate topics A and C, but after folding, the blank line is folded as well and readability is impaired a lot!

Only a line with tabs should disappear by folding:
A.
___B.
___.
C.

should fold to:
A.
C.

By the way, as a workaround I tried to introduce a space into the blank line to get the folding correct, but this doesn't work. Only lines with real text fold correctly.

Thanks

Patrick
jEdit has a weird look
Submitted by MrPedantic on Sunday, 5 December, 2010 - 18:59
I don't know why, but when I open jEdit now the interface becomes all screwed up on mouse-over, or when I type at the caret. The interface I configured normally has 4 panes: left for console, right for preview of output (I use jEdit with LilypondTool), in the middle for input, and below that I have a pane for midi playback. Except when I mouse over the right pane, or type in the middle pane, I get something that looks like this:

http://img207.imageshack.us/img207/6325/jediterror1.jpg
http://img696.imageshack.us/img696/967/jediterror2.jpg

Sometimes closing and restarting jEdit works; sometimes it doesn't. Last time I had to completely uninstall and reinstall jEdit for the problem to go away, but after I closed jEdit yesterday, opening it up again seems to just bring the problem back.
Where is the output of jlint??
Submitted by wandro on Monday, 6 December, 2010 - 09:42
I have successfully installed jlint/antic and defined the paths to these programs. But when I run lint on C/C++ sources, nothing happens. Where can I find the output of lint?
jEdit + RVM + console
Submitted by Clyssandre on Tuesday, 7 December, 2010 - 22:10
Hi there,

In my long journey trying to find a comfortable IDE for Ruby on Rails on
Ubuntu, I found this tutorial to set up jedit :
http://www.wikihow.com/Install-Jedit-for-Rails

It looks fine for the moment but I have one slight problem with the
console plugin : it can't find RVM. Consequently it can't find any rails
version and I can't run any ruby scripts or rake commands. RVM works
properly in a usual terminal of course.

rvm -v doesn't work (unknown) but anything else like firefox -v does. So
I guess the console plugin simply doesn't load RVM when it starts.

I posted on two rails forums and couldn't find any answer at the moment. Could anyone help me fix this ?

Thanks, Lily
Version 4.4 ?
Submitted by JohnQSmith on Monday, 13 December, 2010 - 17:13
Top of the jedit.org page shows "Last Site Update: 09 Dec 2010 | Stable Version: 4.4". Going to the download page, it appears that all the links have been updated to version 4.4. However, trying to download gives an error, e.g. "The "/jedit/4.4/jedit4.4install.jar" file could not be found or is not available. Please select another file." Going to the file list at SourceForge shows 4.3.2 as being the most recent version. Page has been updated, but file downloads haven't?
User login
Browse archives
« November 2010 »
MoTuWeThFrSaSu
1
2
5
6
7
8
9
11
12
13
20
21
22
23
24
25
26
28
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   108250
Context Free Art (*.cfdg)   0.31   46071
BBEdit scheme   1.0   18607
JBuilder scheme   .001   18508
ColdFusion scheme   1.0   18041
R Edit Mode - extensive version   0.1   17488
Advanced HTML edit mode   1.0   16222
Matlab Edit Mode   1.0   16086
jEdit XP icons   1.0   15245
XP icons for jEdit   1.1   14309