jEdit Community - Resources for users of the jEdit Text Editor
Archives
Sidekick not working
Submitted by powery on Tuesday, 29 December, 2009 - 12:59
Parsing using Sidekick or CtagsSideKick plugin is not possible with new version of jEdit:
jEdit 4.3 final
java 1.6.0_13
SideKick 0.8
CtagsSideKick 1.4

jEdit 4.3pre18 was ok

Same problem?
Multiple instances/views
Submitted by painted on Thursday, 31 December, 2009 - 17:51
Hello,

I need to be able to use multiple instances of jedit to work on completely separate projects. I was getting by well enough doing View menu/New View and then closing all the open files in the buffer of the new view and setting up the File Browser as I need it. However since the last update if I open a new view, and open or close files into that view's buffer, the files also open/close in the previous buffer, so basically both views are identical which doesn't help for working on two separate projects.

Is there any way to open completely separate instances, or at least get the old view behavior back?

Thanks!
Beginner's problems in setting up localhost preview
Submitted by d_l on Sunday, 3 January, 2010 - 17:43
Beginner's problems:-

I have installed JEdit to experiment as a cross-platform editor for both *.php and *.lzx (XML format with *.dtd validation).

My OS is Windows Vista.

I guess that I need to setup several projects to test code on different localhost servers:

apache httpd on port 8080
apache tomcat on port 8090
caucho resin on port 8100

Installed plugins ..

PHP Parser
Project Viewer
SQL
XML


But I cannot get started with even the basics of setting JEdit to launch phpinfo.php in localhost mode. http://localhost:8080/test/phpinfo.php (this URL runs o.k. when manually pasted into any browser. I can also preview this same simple test file in editors other than Jedit.


The phpinfo.php test file is located in:

C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test\phpinfo.php



I created a simple test project "phpinfo" and in Project options I have

Project name: phpinfo

Root Directory: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs (note: excluded the \test\ folder)

Web root URL: http://localhost:8080/



But I cannot preview this phpinfo.php from Jedit to browser !

When I right click phpinfo.php in project phpinfo in Project Viewer and select "Preview in browser" I get a popup error message:-

Cannot run program "mozilla": CreateProcess error=2, The system cannot find the file specified. Please fix your external app configuration.

I have no external application associated with extension *.php.

Options: Plugins: Info Viewer: Choose Browser

external browser radio button selected.

but the command below reads ..

netscape -remote openURL($u) -raise


How do I set up an association with preview browser firefox.exe?

and how do I setup to switch preview between several different browsers?


firefox
Internet Explorer
Opera
etc.


Options: Plugins: Project Viewer: External Applications

what application(s) should I associate here with *.php (and other extensions)?

php.exe or php-win.exe or php-cgi.exe or firefox.exe .. or others?

If I associate *.php with another text editor that launches from Project Viewer.



Finally .. unrelated glitch. If I force shut down of JEdit using the [X] close top right toolbar button (which I should not use, I know) I see a very long (not wrapped) indecipherable error message in Jedit popup window ..

with separate Windows popup error message reading ..

"The color scheme has been changed to Windows Vista basic. A running program isn't compatible with certain visual elements of Windows".

This apparent incompatibility with Vista does not occur if I use the correct shutdown JEdit procedure of File > Exit. Not serious .. just annoying.
MarkerSets - using SAX to write XML (MarkerSets.jar v1.0 by Shlomy Reinstein)
Submitted by shlomy on Tuesday, 5 January, 2010 - 18:00
This version of MarkerSets simply uses SAX to write the XML file instead of DOM with DocumentBuilder, which happens to fail if XQuery is installed and saxon7 is loaded.
jythonInterpreter problems
Submitted by pyrokinesis on Wednesday, 6 January, 2010 - 20:56
Hello, I love Jedit and want to start developing some macros in Python, but Im getting some errors.
When I try to open the jython interpreter, It just says loading... and never opens.
I'm guessing this is also related to the error messages I get when attemting to run any Python Macros

Jython Error:
an AWT error occured running Jython
Traceback (innermost last):
(no code object) at line 0
TypeError: readonly class or attribute: view

And my environment:
Jedit 4.3
Windows xp sp3
Python 2.6.1
jdk1.6.0_17
jre6
javafx-sdk1.2
Jython2.5.1

Thanks in advance
ProjectViewer - built against latest jEdit (ProjectViewer.jar v0.1 by Shlomy Reinstein)
Submitted by shlomy on Saturday, 9 January, 2010 - 04:33

Updated on 01/09/2010 - 04:33
Downloads: 875

List built-in commands
Submitted by d_l on Saturday, 9 January, 2010 - 17:26
The welcome message in Console.System Plugin reads ..

"Press TAB with an empty command line to list built-in commands.
Run built-in with --help argument to get a brief usage message.
Run %help to view Console plugin online help".

But running jEdit in Vista .. I see nothing when I press TAB.

%help does launch help.

How else can I list built-in commands?
How do I tidy my PHP code
Submitted by Zanzor on Sunday, 10 January, 2010 - 09:48
Hi, I am from South Africa and started using jEdit in the last week. Can anybody out in the community tell me how do I tidy any 3rd party pasted PHP source code in the editor window. Normally in most other editors you just highlight all the source code, right click, and select 'Tidy Source Code' but I can't find the equivalent command in jEdit. Thanks in advance.
jedit update from 4.2 to 4.3
Submitted by SchusterHannes on Sunday, 10 January, 2010 - 20:27
Hello,

I have just installed jedit and am thrilled with the software and appreciate this very much. Now I have installed 4.2 on Suse yet, because the management was included in the package.

How can I jedit update from 4.2 to 4.3??

Or do I install 4.3 from scratch??
How can I install the software from the Sorce code in Suse??

Gruß Ralf
File System Browser can`t not work with windows 7
Submitted by zcjsg on Monday, 11 January, 2010 - 01:48
when using the File System Browser , I found it could not list the any file or directories;
I tried many times,but it still cant`t use it.
I dont`t know why ,please help!
my system is "windows 7",using "jedit 4.3 stable version"
Thank you!
startup.js has problems!
Submitted by zcjsg on Monday, 11 January, 2010 - 01:56
when using the javascript shell plugin,I refrenced the jedit help,
found there is an file "startup.js" .
I putted it into the "startup"directory of jedit setup dirs,
restart jedit,but see error screens.
then i found these codes(seems something wrong) in "startup.js".

function include(path) {//{{{

var paths, i;

if (!path) {
paths = openFileDialog();
for (i = 0; i /}}}

//{{{ echo function

anyone help?
Why did it take 5 years?
Submitted by 6tr6tr on Monday, 11 January, 2010 - 16:36
I love jEdit and recommend it to everyone but over the last 5 years a LOT of people left jEdit and have been wary of using it because there was so much time between releases. They felt like it wouldn't be supported and they'd have to switch late in the game to another platform/ide. So just wondering...why did it take 5 years to get to 4.3?
Error message: Cannot run 'global'. ...
Submitted by groofke on Tuesday, 12 January, 2010 - 13:46
Hi,

I'm new at jEdit and i even just installed this program today. I took all the plugins, but i'm getting this error message: "Cannot run 'global'. Please set the path to 'global' in the plugin options."
I've looked at the plugin options at the menu globalplugin. There i see on the top line: "'global' path and a text box, with global in it. I guess that's what the error-message means, but what am i doing wrong? Or is it somewhere else i have to look?

Greets,

Groofke
placing scrollbar or tabs in commando custom UI ..
Submitted by d_l on Tuesday, 12 January, 2010 - 17:24
I have a number of options/arguments to to be selected in a commando UI window.
The selected arguments are concatenated into a long command line (as in java.xml commando example).
However the number of arguments to be selected creates a UI with too many lines and too large a height.

Can I add a scroll bar and/or additional tabs to a custom commando UI?

.. to be placed in %USERPROFILE%\.jedit\console\commando\ ?

There are already two default tabs which show in the commando UI window -
"Settings" and "Commands" -
so it must be possible to insert extra tabs.
e.g. Settings 1, Settings 2, Settings 3, Commands

But I don't see any syntax for "scrollbar" or "tabs" in Commando help.
And what sets the width/height dimensions of the commando UI?

Thanks for any tips on extending the UI.
in Mac Snow Leopard, file not loaded into jEdit
Submitted by dushanm on Wednesday, 13 January, 2010 - 02:52
I've been using jEdit 4.3pre14 under Tiger, and it has worked fine. Very recently
I moved to Snow Leopard X.6.2, which uses Java 1.6.0_17, and installed jEdit 4.3.
It works fine except for one thing: when I 2-click on a text file (to which I've
associated jEdit.app) from any file manager - Finder, Path Finder or muCommander -
jEdit comes up, but with no file loaded. I then have to Open the desired file
separately.

Is there some setting in Preferences, or maybe in Java, that I need to configure?

Thanks for any suggestions.

- Dushan
Problem with ProjectViewer 2.9.1 with old project file path
Submitted by Jabberwock on Wednesday, 13 January, 2010 - 06:18
HI,

I have a problem with the new version of ProjectViewer and jEdit 4.3.

All my project have been moved to a new location, that is OK.

But when a launch jEdit all my project files path are weird like ftp://\\totot//toto/toto, and i can ope properly the files.
I look the xml project files with the old version of project viewer and i see that the path is like ftp://toto/toto... and with the new id ftp:\\toto\toto

There is a solution to convert old format XML to new ?

Thanks a lot.
The LONG_ENTRY element .. how to type new line in text field?
Submitted by d_l on Thursday, 14 January, 2010 - 20:48
From Commando Help ..
The LONG_ENTRY element
A LONG_ENTRY element adds a multiple line text area to the commando panel. It must be placed inside the UI element.

I can paste long word wrapped text from notepad .. such as the above text ..
But if I type text into the text field, using [enter key] as end of line, the UI window closes prematurely.
How do I type new lines into long format text field?
Portable version of jEdit for Windows
Submitted by wpp-dev on Friday, 15 January, 2010 - 22:34
Hello,

I'm a winPenPack.com developer.
winPenPack ( http://www.winpenpack.com and http://sourceforge.net/projects/winpenpack ) is a collection of open source portable programs for Windows, optimized for use with a USB pen drive or any portable device and also directly from Hard Disk.

I'd like to signal you that we have developed a portable version of jEdit for Windows, called X-jEdit, in winPenPack.com Format: http://www.winpenpack.com/main/download.php?view.840 . You have just to download the .zip archive, uncompress it and double-click on X-jEdit.exe

Obviously, any suggestion or feedback will be welcome! Smiling


______________________________________

TECHNICAL DETAILS:


1 - at X-jEdit first run, the Java Runtime Environment (JRE) is automatically downloaded and extracted in X-jEdit\Lib\Java\ folder (but only if JRE is not present in this directory). In this way anyone can use jEdit even if Java is not installed in the host pc;

2 - the "-Duser.home" parameter has been set: all settings are stored in \User\jEdit directory instead of %USERPROFILE%\.jEdit folder;

3 - all paths of recent files (if the files are saved in \Bin\, \User\, \Lib, \Documents, \Downloads or \Backups directories) are normalized when the drive letter or the software position changes;

4 - all paths included in "history", "properties", "recent.xml" and "perspective.xml" are normalized when the drive letter or the software position changes;

5 - the "backup.directory" has been set.
CodeBrowser plugin, Exuberant ctags and macosx???
Submitted by timou on Saturday, 16 January, 2010 - 08:39
Hi...

I just switch to macosx...

`Whre can I find the exuberant ctags for macos, to use with codebrowser????
I dont see the ctags to point to!!

thanks
Status bar time display problem
Submitted by rdindir on Sunday, 17 January, 2010 - 12:38
Hi,

I am new to the java environment and was trying out jedit. I have a question regarding the time in the status
bar. It displays the time in a different time zone (Pakistan time zone I believe). The Insert_Date macro
displays the date in PKT time zone and shows the same time on the status bar. It may be related to my JRE, but
am not sure.

How can I change this?

Regards,
Riza Dindir
User login
Browse archives
« December 2009 »
MoTuWeThFrSaSu
 
1
4
5
6
7
10
12
15
16
18
20
21
22
24
25
26
27
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