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?
ESQL/C mode for JEdit (esql.xml v1.0 by Slawomir Rewaj)
Submitted by
slawekrewaj on
Tuesday, 14 December, 2010 - 06:24
This file is based on JEdit C Mode. It adds embedded SQL extenstions.
Extended Plugin manager
Hi,
That would be cool for the plugin manager to :
1. select only plugin available for the current version of jEdit
2. disable all plugin that can't work for the current version of jEdit
I remember the customisable fold handler that didn't work from 4.2 to 4.3...
Also, if we could have an update manager ala Firefox Bon Echo (2.0), that would be the best Eye-wink
(Anyway, I don't know if it's the first thing I would do if I were developping for jEdit)
Wholesale fashion
too many apps opening at startup
Submitted by
koszta5 on
Wednesday, 15 December, 2010 - 21:21
Hey,
I am running jEdit on Mac OS and it got kinda broken on the mac for me. I have like 60 files opening at startup (there was some error at first bu a ignored it and let it run and it caused a one more new empty file to load at startup. Now if I run it with -nosettings I am fine but otherwise it opens and crashes out of memory (obviously).. I couldnt find the file with jEdit preferences on MacOS... no xml saying what files to load on startup... Where is it located on Mac OS? (I know where it is on windows...)
thank you very much
Mojo::Template edit modes
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
Option to order buffer switcher list by time last edited
Submitted by
greghk on
Sunday, 19 December, 2010 - 20:38
I keep dozens of files open in jEdit. At any given time I'm usually
flipping between a small subset of them. The buffer switcher orders files alphabetically,
so I often have to switch repeatedly between files at the beginning and end of
the buffer switcher list which means scrolling the list if both files are not visible.
ctrl+` is okay for switching between 2 files but I'm usually in a slightly bigger loop.
alt+f alt+f brings up the recent files list. It's order eludes me but it is not ordered by time last edited. I can change the order by reloading files but this is extra key strokes and doesn't keep up
with changing patterns of file use.
Anyone have any other existing solutions? I suspect this could be done in a plugin. Any existing plugins? If not I'll submit a formal feature request.
Install Import of manager.php fails
I have installed Sun Java jre_6.u23-linux-i586-rpm on CENTOS 5.4 on a Dell Latitude E4310 laptop. I installed Jedit-4.2-2.el5.rf.noarch.rpm - Jedit is working but when I go to the plug-in manager and hit the install tab, a window opens up after a bit stating that " An error occurred while parsing http://plugins.jedit.org/export/gzip_plugin_manager.php, line 1578:reference to undeclared entity (found "uuml") "
line 1578 has in it an author declaration where an international character is being cited (I think). this is the only place in the file where uuml is cited. I see that someplace the uuml translation needs to occur but I don't see where that is. Can someone help by indicating where this should be defined and how I fix the problem.
thanks
bee
Beautif corrupts doctype
Submitted by
jelups on
Monday, 27 December, 2010 - 19:49
When beautyfing a html document, the brackets framing the doc type declaration are deleted.
Example:
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"
The document name has the suffix .php since it contains some php-code ("include" function). The editing mode in global and buffer settings is set to "html". The plugin options for php and html modes are set to "html.beauty".
How can I prevent this?
(Suse 11.1, jedit 4.3.2)
Kurt
dead keys
Submitted by
silvain on
Tuesday, 28 December, 2010 - 15:33
Dead keys of my national keyboard (Swiss French) do not work - neither under Windows nor under linux Ubuntu.
It seems that these keys are not captured at all by jEdit. They do not produce any character – neither by pressing them twice, nor by pressing space afterwards, nor by pressing any other character in order to produce some accentuated character.
Is there any way to solve this problem?
How to install JCompile?
Submitted by
Unspoken on
Tuesday, 28 December, 2010 - 21:41
Hi guys.
BACKGROUND:
I was using jEdit few times in previous few years since 2003 or 2004 I guess. I've used it on occasion to develop some short java programs. Alwayas I've been able to install JCompile plugin until this day. As usually, I've downloaded the jEdit from the Internet so I must have latest version (4.3.2) for Windows. However, JCompile is not visible under plugin manager and I have no clue how to install it in a different way.
Could somebody help me on this?
Thanks.