code2html commandline in 4.2
Submitted by Anonymous on Wednesday, 23 February, 2005 - 07:35
The version of code2html in cvs has a command-line option I'd like to use, but I can't compile it against the current version of jedit. It does compile against jedit 4.0.
Are there any barriers to refactoring it to work with jedit 4.2? Does anyone know of a better multiple-language HTML syntax highlighter that can run from command line (or ideally, Ant)
Thanks, cosmo
Updating Jazzy spell-checker user dictionary
Submitted by Anonymous on Wednesday, 23 February, 2005 - 16:41
I'm using the Jazzy spell checker. I find the instructions confusing (and out of date). My user dictionary is in a "words" directory, which is used correctly. However, clicking "Add to Dictionary" doesn't update any dictionary, altho it accepts this request without comment.
Any suggestions on how to get it to update a dictionary would be greatly appreciated. Thanks in advance.
-- Fred (fred.swartz@gmail.com)
Adding JEdit style syntax highlighting to standalone
Submitted by Anonymous on Wednesday, 23 February, 2005 - 21:31
I was trying add syntax highlighting to an existing standalone application. I think that JEdit has the best way of doing this. I don't mind including all the Jedit resources
including, startup scripts, etc, but I would like to just add the highlighting.
Is this in the wiki somewhere.
Here is my email(I may not monitor the forum)
berlin.brown { at } gmail.com
Dead keys - can't type non-US characters
Submitted by Anonymous on Wednesday, 23 February, 2005 - 23:50
Hi dear jEdit users,
I pretty much love jEdit and so first thing what I did when I switched from WinXP to Fedora Core 3 Linux last week was installation of Sun JDK 1.5.something and lastest jEdit 4.3pre1. But what a suprise! I can't type certain characters on my Czech keyboard layout (numbers from 2 to 6 at aplhabetic keyboard). Because I have notebook and can't just use numpad and this makes work nearly impossible. I must copy&paste when I need these numbers!
After my web research I observed that is probably very very old bug in Sun's Swing implementations (see bugs http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4799499, and bugs 4935357, 4707542, 4765333, 4797332, 4799500, ...). Symptoms are still same - can't type non-US nation characters. Somebody reports german "sharp B", <, > and may other various characters. My case are numbers.
jEdit's keyb tester knows about these keys but don't pass it to screen (they are filtered). I can send excact dump.
I simply can't believe that all users at Linux do copy&paste to insert dead characters. Is there *any* workaround?
Thanks in advance for all replies!
Have a nice day to all
Libor (Czech Rep, Europe)
Bugs?
Submitted by Anonymous on Thursday, 24 February, 2005 - 07:46
1. jEdit has problem in HTML mode. When the end of HTML comment is //--> in script tag jEdit does not see that end.
2. In parametrized abbrev. there is a problem if parameter has '\n' sign.
jedit multiple sessions
Submitted by Anonymous on Thursday, 24 February, 2005 - 08:22
Hi to all members,
I'm a new user of Jedit, and I didn't manage to open multiple sessions : in fact I installed Jedit 4.2 on SunOS 5.8 server, and it works fine when I execute it from server. but, from another station, even with the environment variable DISPLAY well set, if I launch Jedit, the window is opened on the server console, and not on the client console !
Have you an idea about this problem ?
Thanks.
Javascript
Submitted by Anonymous on Thursday, 24 February, 2005 - 10:25
Able to support beautify buffer when we use JAVASCRIPT
Spam in forum comment
Submitted by Anonymous on Thursday, 24 February, 2005 - 11:30
I just want to tell the admins of this great site that somebody tries to abuse it: see http://community.jedit.org/?q=node/view/1995
Creating account
Submitted by Anonymous on Thursday, 24 February, 2005 - 17:04
Hello to administrators of jEdit Community pages.
There is one problem I have last days.
I tried to create account within this community www pages but no email with password has come into my mailbox till now.
Could you advice what's wrong?!
Thanks a lot.
Tomas
Where's my find dialog?
Submitted by
mlongmire on
Friday, 25 February, 2005 - 17:31
I recently changed machines, from a laptop with screen resolution of 1920x1200 to desktop with resolution of 1280x1024. I copied over my settings folder from the old machine and now my find dialog is off screen when I open it.
What file in the jEdit settings folder has the positions for the find dialog?
Please cc any answers to me @ mailto:mark.longmire@infor.com
Thanks
Mark
Click on a file with extension java and the file opens in jEdit in windows 2000.
Submitted by Anonymous on Saturday, 26 February, 2005 - 04:56
Thought I would share this. I created a batch file called jeditstart.bat. The file contained the following line:
"C:\Program Files\jEdit 4.2pre15\jedit.jar" %1
The quotes were neccessary.
Then in My Computer - Folder Options - File Types - click on New button for new file extension and type java, then click ok. Now click the Change button and then click on other button and browse to your jeditstart.bat file and click on it to highlight it and click the Open button. Then click the Ok button.
Now you can double click a file with an extension of java and it open in jEdit.
Building jEdit from source
Submitted by
clim1219 on
Saturday, 26 February, 2005 - 08:58
I checked out jEdit from CVS and try to build it but it complains of a missing ant target "dist-13".
I guess I miss something here. Could someone kindly point me to the right direction.
Here is the console log:
D:\projects\opensource\jedit>ant -Dant.full.path=C:/Java/apache-ant-1.6.2/bin/ant build
Buildfile: build.xml
prepare:
jEdit:
BUILD FAILED
D:\projects\opensource\jedit\build.xml:31: The following error occurred while executing this line:
Target `dist-13' does not exist in this project.
Total time: 1 second
Thanks,
Chris
Highlight HTML Not working
Submitted by Anonymous on Sunday, 27 February, 2005 - 16:28
Hi,
I am having problems getting HTML to be highlighted. The HTML I am editing are withing .PHP extensions.
What do I need to do to get it to work?
Thanks.
error messages
Submitted by Anonymous on Monday, 28 February, 2005 - 11:38
I am new to jedit and am trying to use the XSLT plugin to combine .xml and .xsl files into .fo files for reporting. With a pair of input files which are both well-formed I am getting an error message "2: cvc-elt.1: Cannot find the declaration of element 'fo:root'", although as far as I can see fo:root is present and correct. With another pair of very simple files I get the message "2: Content is not allowed in prolog". Where can I find further explanation of these messages?
Only open one window at startup: how?
Submitted by Anonymous on Monday, 28 February, 2005 - 19:02
I am using 4.2final on Linux and everytime I start jedit it opens as many windows as were open the last time. Since I have checked the apropriate setting for not to load the files used in the last session, all these windows show empty buffers. I would like jedit to only open a single window though -- this must be easy but somehow I cannot seem to find out how.
Proper perl function argument list indentation?
Submitted by
jope on
Monday, 28 February, 2005 - 20:32
When I edit perl and there is a function with very long argument lists and arguments, like so:
$thisIsSomeObject->andThisTheFunctionToCall("Here comes a long argument, number 1","And here another one, which is even longer than the first argument is","And yet another very very very very long arument, yes this is really quite long");
I would like to place the arguments indented the normal indentation space like this (in my case, two characters from the current indentation):
$thisIsSomeObject->andThisTheFunctionToCall("Here comes a long argument, number 1",
"And here another one, which is even longer than the first argument is",
"And yet another very very very very long arument, yes this is really quite long");
#next statement should not be indented, of course
However, jedit does it either like this:
$thisIsSomeObject->andThisTheFunctionToCall("Here comes a long argument, number 1",
"And here another one, which is even longer than the first argument is",
"And yet another very very very very long arument, yes this is really quite long");
#next statement should not be indented, of course
(no indentation at all)
or like this, if the "deep indent" option is used:
$thisIsSomeObject->andThisTheFunctionToCall("Here comes a long argument, number 1",
"And here another one, which is even longer than the first argument is",
"And yet another very very very very long arument, yes this is really quite long");
#next statment should not be indented, of course
Both ways jedit does this have obvious disadvantages if you are already at a deeper indentation level and/or if the arguments are really long or deeply nested themselves.
Is there *SOME* way to make Jedit indent the arguments just two spaces and not the same number of spaces as the function name is long? Is it possible to configure this? Is it possible to edit some mode file to achieve this?
Running JUnit plugin from within Ant (Farm) task?
Submitted by Anonymous on Monday, 28 February, 2005 - 22:21
I want to run JUnit as an Ant task and have installed AntFarm and JUnit.
My class path lets me _compile_ JUnit tests OK via AntFarm.
However, when I try to make JUnit _run_ as an Ant task, I get an error in AntFarm:
Invalid build file: Unexpected element "junit"
Any advice? Thanks in anticipation.
Build file is at http://www.tomoakley.net/java/build.xml
how to open multiple jedit browsers
Submitted by Anonymous on Wednesday, 2 March, 2005 - 00:51
can anyone help me. I've tried the settings but they don't seem to work. I just want to have multiple browsers rahter than one.
Any help
question about using Console Plugin
Submitted by Anonymous on Wednesday, 2 March, 2005 - 09:45
I am sorry for my not good English.
Console Plugin allows users to set compiler and interpreter for each buffer format.
I need to set the following program to be the interpreter for Haskell buffers.
C:\Program Files\Hugs98\winhugs.exe (a Windows program path)
To do that, I opened Console Plugin option, and the option dialogbox displayed the following options for interpreters:
none
ant
diff
hugs
java
... etc..
There was "hugs" in the list, but no "winhugs". In this case, what should I do?
What will make the winhugs.exe to appear in the list?
Thanks in advance.
Macros.confirm example doesnt run
Submitted by Anonymous on Thursday, 3 March, 2005 - 23:14
Hi folks,
Please forgive my newbiness... I'm sure there's a pretty simple solution to this.
I've simply cut and paste the following statement from http://jedit.org/users-guide/helpful-methods.html to display a confirmation box:
int result = Macros.confirm("Do you really want to learn"
+ " about BeanShell?",JOptionPane.YES_NO_OPTION);
I get the following error:
Typed variable declaration : Error in method invocation: Static method confirm( java.lang.String, int ) not found in class'org.gjt.sp.jedit.Macros' : at Line: 1 :
So, if I understand this correctly, the macro doesnt know what an int is? I take it then I have to include a class somehow...
Any suggestions?
Cheers all,
Tim