build.xml: many errors
Submitted by
backspaces on
Saturday, 28 August, 2004 - 00:35
I'm sure I'm doing a dumb thing, but ... I've got the xml plugin which works great for xhtml editing. I've just loaded a downloaded ant build.xml file, however, and there are lots of errors noted.
The error list shows <project>, <target>, ... and the other ant xml keywords as being not recognized. But the xml insert side panel shows these as being just fine. I believe this means the ant dtd/catalog is known by the plugin.
Here's a picture: http://backspaces.net/files/jEdit001.jpg
So what dumb thing am I doing wrong?!
Thanks...
Owen
Allow only one instance of JEdit?
Submitted by
Hans_Bauer on
Saturday, 28 August, 2004 - 06:25
To compensate the removal of jEditLauncher on windows i extended the windows context menu for files using Windows-PowerPro (Freeware). So i can right click on a file and choose my new menu item 'JEdit' to open this file.
The first time this opens JEdit with the selected file loaded. The second time the selected file will be additionally opened in the already running instance of JEdit, but also a new instance of JEdit is started with the same files loaded.
So it would be a very good feature to restict JEdit only to open one instance of itself. Is this possible?
Cant find server
Submitted by Anonymous on Saturday, 28 August, 2004 - 12:26
I am trying to connect to mysql. I have downloaded the plugin for sql and have provided the mysql Jconnector path but I cannot add the server. I am using jedit version 4.1
How to invoke GDB in an independent console window ?
Submitted by Anonymous on Saturday, 28 August, 2004 - 14:40
Is it possible to invoke GDB (or any other command line application)
in its own independent console window using the console plugin ?
If I invoke GDB directly in console it returns immediately...
Thanks.
Fill paragraph in justified mode
Submitted by
Vordeph on
Sunday, 29 August, 2004 - 01:15
Greetings,
jEdit is the most perfect code source editor that I have used in my life,
I use many documents in .txt format to document my programs in Object Pascal/Delphi
and a feature that I miss, is to Fill a block o text em justified mode, like the
feature "Fill Paragraph" from UltraEdit32.
I like to suggest this feature. I have tried to create this feature creating
my own plug-in for jEdit, but I´m not know Java very wall yet.
Sorry by my poor english, but Im brazilian, and not have finished my english
course.
jEdit 4.2 now available
Submitted by
slava on
Sunday, 29 August, 2004 - 03:35
How to reduce a function body
Submitted by Anonymous on Sunday, 29 August, 2004 - 11:44
How to reduce the body of a function in the text area, in order to have something like that:
"+ void my_function(void truc) {" <== all the body of the function is hidden here and when you click on the "+" the body expands.
PS: excuse me for this horrible english, i'm french...
jEdit 4.2final on Mac OS X behaves strange
Submitted by
kimjim on
Sunday, 29 August, 2004 - 12:14
The 4.2 installation does not contain a starter application "jEdit.app" as it used to be on jEdit installations on Mac OS. If I double-click the jEdit.jar, the splash screen says it is vers 4.2 final, but I get an error message saying the MacOS.jar Plugin didn't work and I should update it.
When I copy the old "jEdit.app" from an 4.2pre15 installation into my jEdit 4.2 folder and double click, the splash screens says it were jEdit vers 4.2pre 15, also I have deleted my 4.2pre15 installation! But the MacOS.jar plugin now works.
What version does this jEdit.app really start now? I mean, I deleted 4.2pre15! And the infostring in the info.plist of jEdit.app says its 4.2final, also I took it from the 4.2pre15 package! This really confuses me. Is there another way to find out which version is runnig despite looking at the splash screen or see the "About jEdit" menu entry?
Thanks for any help, kimjim
jEdit as external editor for file manager
Submitted by Anonymous on Monday, 30 August, 2004 - 09:24
Hello!
What is error during to make an attempt to open file in jEdit from file manager on Windows 2000: "Could not find the main class. Program will exit." ???
FTP plugin problem
Submitted by
sss4r on
Monday, 30 August, 2004 - 18:31
Hello,
I've been attempting to get support on this problem for months, so I am respectfully requesting that anyone who knows anything about this issue to please respond.
I have been unable to get the FTP plugin to work properly (I've tried on 3 different machines) since 4.2pre9. As the plugin is critical to my workflow, I have stayed with 4.1final; however, now that 4.2final is out, I would really like to start using it (in fact, I need to because there are newer plugins I need to start using that require it).
Having said all that, here's my dilemma:
I start with a fresh installation of 4.2final. I install the FTP plugin, version 0.7.2. When I attempt to open from a secure server, I click "yes" or "always" to the remote host authentication dialogue. Immediately I get the following I/O error:
Cannot list directory: com.sshtools.j2ssh.transport.MessageStoreEOFException: The message store has reached EOF
I have tried reinstalling dozens of times. Like I said, I've tried on three different machines. I've also tried with two different servers. Never had a problem until 4.2 hit pre9 or so. Opening a non-secure connection works fine.
Is anyone else having this problem? Does the author know about it? Can you duplicate it? Is there a fix in the pipeline? I'm desperate to get an answer (and a fix!) as I would really like to continue using jEdit.
Thank you very much in advance for taking the time to read this and for your help.
Thanks,
Shannon
Execute menu item from macro?
Submitted by
kwerle on
Tuesday, 31 August, 2004 - 08:18
I have just written a very useful console command. It works just the way I want. Unfortunately, console doesn't seem to let you create shortcuts for commands you wrote (another issue). Is it possible for me to write a macro that will call a specific menu item?
I just want it to do something very simple:
executeMenuItem("Plugins.Console.MyCommand");
Is there such a thing, and I'm just not seeing it?
TIA
XInsert (XInsert-1.91.zip v1.91 by Markus Birth)
Submitted by
mbirth on
Tuesday, 31 August, 2004 - 09:52
Added new feature to XInsert: Show hints (tooltips) for tags, works fine with 4.2final. Example wikipedia.insert.xml included. Changed files from 1.9 source are: xinsert.dtd, XInsertHandler.java, XTree.java, XTreeItem.java.
LazyImporter ()
Submitted by
mbirth on
Tuesday, 31 August, 2004 - 10:39
Fixed a bug with double-slashes in strings causing LazyImporter to hang at "Creating JavaClass..." because it thought it was a comment from there and didn't recognize the closing quot.mark of the string. Changed files are JavaCommentStripper.java and JavaUtilities.java.
A Colourful HTML (html.zip v1.1 by Venimus)
Submitted by
venimus on
Tuesday, 31 August, 2004 - 11:55
Update:
- The mode is now compatible with 4.3pre5+.
- DOCTYPE highlighted
- highlighted
- Highlighting of multiline tags improved (but not perfect).
- Highlighting of numbers improved.
- Some other bugs fixed.
This is the most featured HTML color mode arround. It has almost all of the functionality you need when developing web content. Recognizes CSS,PHP,Javascript (delegates to the existing modes).
features (what highlights):
- extended tag/attributes recognition
- some error recognition
- inline CSS (requires mode - CSS v2.2 by John Paul Taylor II [updated])
- inline Javascript
- PHP
limitations (to do):
- no asp and vbs support
known bugs (hard to fix):
- The first atribute must be preceded by space/tab, new line is not enough, the rest work ok.
- there is small chance, but it is possible an invalid attribute to highlight as "event", it is caused of the impossibility of matching line-starts (or EOLs) in regex (due to limitations)
- There is a bug in jedit if background for color syntax is set. That background incorrectly applies to other tokens which doesn't have a background color set. By default the "invalid" type have a background and the other types doesn't. So the mode may look like it doesnt work. To fix that, set a background to all types or remove the background of the "invalid" type.
installation:
follow the usual steps for installing a mode definition:
- overwrite the original html.xml in jedit installation directory, or save it to .jedit/modes directory, and modify .jedit/modes/catalog to include
<MODE NAME="html" FILE="html.xml" FILE_NAME_GLOB="*.{html,htm}" />
- Install the fixed PHP mode (original) included in the package by overwriting or adding definition into the "catalog":
<MODE NAME="php" FILE="php.xml" FILE_NAME_GLOB="*.{php}" />
- You may try to use this HTML mode for php files aswell by tricking jEdit to use html.xml to highlight php. This way the html code outside <?php?> will be highlighted. To do it, instead the above definitions (1. & 2.), add the following lines in "catalog" :
<MODE NAME="php" FILE="php.xml" FILE_NAME_GLOB="*.{~}" />
<MODE NAME="html" FILE="html.xml" FILE_NAME_GLOB="*.{html,htm,php}" />
(note the "*.{~}" - it must be an invalid extesnsion, because html.xml will be used for the *.php files aswell, but if we replace directly the original php.xml will not be available for delegation)
I recommed you install the included fixed mode, but the original one should work just fine.
WARNING:This trick may cause some misbehaviour (on theory), because aftar that step "php" files will become "html" for jedit and plugins that depend on it may cease to work. However I didnt notice any problems.
- Install the CSS mode included by overwriting or adding into "catalog":
<MODE NAME="css" FILE="css.xml" FILE_NAME_GLOB="*.{css}" />
- fix your syntax colours from "general options": set a background color to all types or remove the background of the "invalid" type.
used colors:
markup - unknown tag
keyword1 - tag
keyword2 - attribute name, <tr>, </tr>
keyword4 - tag that MUST be included in other tag
keyword3 - deprecated tag
function - unknown attribute
literal1 - attribute value
literal2 - inline css
literal3 - inline javascript
comment1 - comment
comment2 - m$ conditional definition (IE)
LazyImporter (LazyImporter-1.07.zip v1.07 by Markus Birth)
Submitted by
mbirth on
Tuesday, 31 August, 2004 - 12:15
Fixed a bug with double-slashes in strings causing LazyImporter to hang at "Creating JavaClass..." because it thought it was a comment from there and didn't recognize the closing quot.mark of the string. Changed files are JavaCommentStripper.java and JavaUtilities.java.
'Unsync' split screen mode?
Submitted by Anonymous on Tuesday, 31 August, 2004 - 12:52
This is hopefully simple. I use jEdit with a split screen, usually with a different file in each split. When I open a new file now, it's opening and becomgin active in both splits. I don't recall that happening before -- the new file would open in only the active split but get listed as open in both splits.
As it's working now, I have to click into the other split and re-select the file that I was working on prior to opening the new file, which is quite a pain...
Is there some setting I missed somewhere to "unsync" the splits, so that newly opened files become active in only the selected split? Or am I remembering the past incorrectly, and this is just how it works? I've looked at (I think) every menu option, and the user manual, but I can't find anything about this...
thx;
-rob.
Opening and Saving Files From Windows Network
Submitted by
AForgue on
Tuesday, 31 August, 2004 - 13:53
I just starting trying jEdit and was halted immediately when I went to open a file from a computer on my network. It was not initially apparent to me how I could go about opening a network file from the file broswer without first mapping a drive. Am I doing something wrong? Is mapping a drive the only way to open files from a network computer?
Thanks!
Aaron
Request for an enhancement to projects...
Submitted by Anonymous on Tuesday, 31 August, 2004 - 17:25
As I was working with jEdit, I realized that the only purpose for another java editor I use was to batch-compile and run my programs.
So, I was wondering if anyone could make a plugin that would provide basic javac, javadoc, and java capabilities to projects... (sort of like JIndex, except actually compiling/running/javadocing the code)
Run Java Programs using Native OS (WinXP) Command Prompt
Submitted by
frankiechayc on
Wednesday, 1 September, 2004 - 03:49
I have many Java programs that read keyboard input from the command line. The Jedit Console plugin currently does not support reading input from keyboard. So I can't run such programs in Console.
I am trying to write a macro which will run the Java program from the buffer using the native OS shell so that the program can accept keyboard input from users. Help or advice appreciated. Thanks
License of Mode Files ?
Submitted by
llothar on
Wednesday, 1 September, 2004 - 06:25
Hello, under what license are the mode files ?
I want to use them in another editor. Is this okay ?
What's about only using the "wisdom" in this files ?