jEdit Community - Resources for users of the jEdit Text Editor
Archives
Lilypond plugin
Submitted by john smit on Saturday, 4 December, 2004 - 00:29
Hope someone can help me with the following problem.
I installed the lilypond plugin.
Plugins > LilyTool.
When I say > Run Lilypond: I get the message:
Error running external command.
Please ensure that bash path is set up correctly in Plugins>PluginOptions>LilyTool.

question: where is my path?
jEdit is in: C:/Program Files/jEdit.
LilyPond 2.2.5. is in: C:/cygwin/usr/src/lilypond-2.2.5

I am puzzled.
thanks

John
plug-ins for SVN ?
Submitted by cyu021 on Saturday, 4 December, 2004 - 14:03
Hi folks,

Is there any plan for developing a plug-ins for SVN ?


Cheers,
perl system variable
Submitted by Anonymous on Sunday, 5 December, 2004 - 01:44
Ok, i have jedit and activeperl installed, but i can't seem to be able to run my .pl file's in MS DOS's. I do Run>cmd then go to wherre the pl file is located, but when i type it in and it runs it runs in a notepad and just show's the code. How do i change it so i will show the output of my code in dos i know you can do it in HTML. Anyhow, i know u have to go in system variables and change something, but i can't remember what i have to type dose anyone else?
few questions
Submitted by fdejaigher on Sunday, 5 December, 2004 - 23:09
HTML
How to replace accents by html special character code ?
For exemple: é => é

Is there an auto replace function ?
How to install jEdit on Fedora Core 3
Submitted by Anonymous on Monday, 6 December, 2004 - 07:46
If anyone is trying to install jEdit on Fedora Core 3, here's how you can hopefully avoid problems:

Go to jpackage.org and follow the instructions for setting up yum or apt (or even synaptic) to look for the jpacakge repositories (i.e. one of the mirrors). Be sure to include both the General and Fedora Core 3 repository entries, or you'll be missing way too many packages.

Install Java if you haven't already; I recommend the J2SE Software Development Kit (SDK) at:
http://java.sun.com/j2se/1.4.2/download.html

(Presumably another brand of Java, besides Sun, would work; this is the only one I've tried.)

This next step is important: using yum or apt(/synaptic) with the jpackage repository, download the package "java-1.4.2-sun-compat". If you don't do this, jEdit (or other packages downloaded through jpackage) may not work. (Apparently it's necessary to get the Sun installation of Java to talk to jpackage packages, such as jEdit.)

Then, download jEdit with yum or apt ("yum install jedit" or "apt-get install jedit").

Anyway, that worked for me. It took me forever to figure out the java-1.4.2-sun-compat thing, without which I could install jEdit but not launch it. Credit for that tip goes to:

http://www.spindazzle.org/green/index.php?p=24

Hope this helps! Feel free to add any additional tips or corrections.
problem with plugins.jedit.org
Submitted by Anonymous on Monday, 6 December, 2004 - 11:12
I can't connect to plugins.jedit.org to install new plugins.
Maybe it's only with my PC, but I have the problem with linux and with windows.
And I have installed jEdit 4.2 several times.
problem with plugins.jedit.org
Submitted by Anonymous on Monday, 6 December, 2004 - 12:06
I can't connect to plugins.jedit.org to install new plugins.
Maybe it's only with my PC, but I have the problem with linux and with windows.
And I have installed jEdit 4.2 several times.
JEdit working very slow
Submitted by sivanr on Monday, 6 December, 2004 - 14:50
Hello,
I'm using jEdit for several months now, and I'm very pleased with it.
One problem is bugging me from the start: altough I have several strong linux machines, I always get very slow responses from jEdit. It just works slow in all the editing issues one normally perform.

My configuration is:
I work on a desktop PC running win2k, I connect to a remote (but on-site, on my LAN) linux machine using "Exceed" software, and open a KDE desktop. Within this desktop I run jEdit.

Can someone help me with it, or point me to the appropreiate thread in this forum? I looked and couldn't find an answer.

Thanks in advance,
Sivan.
LISP programming with jEdit
Submitted by Anonymous on Tuesday, 7 December, 2004 - 04:30
I'm just starting to learn Common Lisp and I was wondering if anyone here is using jEdit to edit Lisp code, and if there is anyway to get access to a REPL from within jEdit like in Emacs. Any other hints/suggestions would be appreciated.

thanks,

Matt
Can't run DIR etc in Console Plugin
Submitted by Anonymous on Tuesday, 7 December, 2004 - 06:24
I've seen a couple of other posts with the same problem (i.e., running DIR or LS etc. in the Console Plugin doesn't do anything) but none of them end up with a solution. When I run commands other than CD from the Console Plugin, nothing happens (except that an icon spins) and the following errors are printed on my Windows Command Prompt:
> java -jar jedit.jar
[error] AWT-EventQueue-0: Exception in thread "AWT-EventQueue-0"
[error] AWT-EventQueue-0: java.lang.LinkageError: loader constraints violated wh
en linking gnu/regexp/RESyntax class
[error] AWT-EventQueue-0:  at console.StreamThread.(StreamThread.java:19
3)
[error] AWT-EventQueue-0:  at console.ConsoleProcess.(ConsoleProcess.java:
65)
[error] AWT-EventQueue-0:  at console.SystemShell.execute(SystemShell.java:198)
[error] AWT-EventQueue-0:  at console.Console.run(Console.java:412)
[error] AWT-EventQueue-0:  at console.Console.access$1300(Console.java:44)
[error] AWT-EventQueue-0:  at console.Console$RunActionHandler.actionPerformed(C
onsole.java:758)
[error] AWT-EventQueue-0:  at console.ConsolePane.fireActionEvent(ConsolePane.ja
va:134)
[error] AWT-EventQueue-0:  at console.ConsolePane$EnterAction.actionPerformed(Co
nsolePane.java:347)
[error] AWT-EventQueue-0:  at javax.swing.SwingUtilities.notifyAction(Unknown So
urce)
[error] AWT-EventQueue-0:  at javax.swing.JComponent.processKeyBinding(Unknown S
ource)
[error] AWT-EventQueue-0:  at javax.swing.JComponent.processKeyBindings(Unknown
Source)
[error] AWT-EventQueue-0:  at javax.swing.JComponent.processKeyEvent(Unknown Sou
rce)
[error] AWT-EventQueue-0:  at java.awt.Component.processEvent(Unknown Source)
[error] AWT-EventQueue-0:  at java.awt.Container.processEvent(Unknown Source)
[error] AWT-EventQueue-0:  at java.awt.Component.dispatchEventImpl(Unknown Sourc
e)
[error] AWT-EventQueue-0:  at java.awt.Container.dispatchEventImpl(Unknown Sourc
e)
[error] AWT-EventQueue-0:  at java.awt.Component.dispatchEvent(Unknown Source)
[error] AWT-EventQueue-0:  at java.awt.KeyboardFocusManager.redispatchEvent(Unkn
own Source)
[error] AWT-EventQueue-0:  at java.awt.DefaultKeyboardFocusManager.dispatchKeyEv
ent(Unknown Source)
[error] AWT-EventQueue-0:  at java.awt.DefaultKeyboardFocusManager.preDispatchKe
yEvent(Unknown Source)
[error] AWT-EventQueue-0:  at java.awt.DefaultKeyboardFocusManager.typeAheadAsse
rtions(Unknown Source)
[error] AWT-EventQueue-0:  at java.awt.DefaultKeyboardFocusManager.dispatchEvent
(Unknown Source)
[error] AWT-EventQueue-0:  at java.awt.Component.dispatchEventImpl(Unknown Sourc
e)
[error] AWT-EventQueue-0:  at java.awt.Container.dispatchEventImpl(Unknown Sourc
e)
[error] AWT-EventQueue-0:  at java.awt.Window.dispatchEventImpl(Unknown Source)
[error] AWT-EventQueue-0:  at java.awt.Component.dispatchEvent(Unknown Source)
[error] AWT-EventQueue-0:  at java.awt.EventQueue.dispatchEvent(Unknown Source)
[error] AWT-EventQueue-0:  at java.awt.EventDispatchThread.pumpOneEventForHierar
chy(Unknown Source)
[error] AWT-EventQueue-0:  at java.awt.EventDispatchThread.pumpEventsForHierarch
y(Unknown Source)
[error] AWT-EventQueue-0:  at java.awt.EventDispatchThread.pumpEvents(Unknown So
urce)
[error] AWT-EventQueue-0:  at java.awt.EventDispatchThread.pumpEvents(Unknown So
urce)
[error] AWT-EventQueue-0:  at java.awt.EventDispatchThread.run(Unknown Source)
Changing directories with CD works however. Look at the forums I see that other users have had or are having the same problem, so it would be nice to get a solution posted here for future reference. Any ideas?
V4.2: Syntax highlighting for nested quotes
Submitted by cpotting on Tuesday, 7 December, 2004 - 12:37
Hello everyone, I am a new user to jEdit and love it. However, I am having a problem trying set up the SPAN/SPAN_REGEXP to handle nested quotes. The language I am trying to handle is an implementation of Lua (CELX scripting for the open source program Celestia), and allows the double and single quotes to be included in strings using a backslash (e.g. text = "the \" character is a quotation mark" more = "hello" The default rules for Lua highlight would cause - "the \" - to be higlighted as quoted, - character is a quotation mark - to be treated as code and - " more = " to be highlighted as quotes. Essentially, I need to jEdit to recognise that " and ' are only quotes if they are not preceeded by a \. I tried using SPAN_REGEXP. This worked for recognising the opening quotes, but since the tag is not evaluated as a regular expression, I could find no way to get it to skip occurences of \" and \'. Does anyone know of a way to do this? Thank you.
Forcing syntax highlighting
Submitted by pdfneuro on Tuesday, 7 December, 2004 - 16:45
Hi,

I would like to know how to force JEdit to use a specific syntax highlighting mode(xml, php...), no matter what is the file extension and its content.

Thanks for helping.
V4.2: Syntax highlighting for nested quotes (re-entered with line breaks)
Submitted by cpotting on Wednesday, 8 December, 2004 - 02:38
Hello everyone, I am a new user to jEdit and love it. However, I am
having a problem trying set up the SPAN/SPAN_REGEXP to handle nested
quotes.

The language I am trying to handle is an implementation of Lua (CELX
scripting for the open source program Celestia), and allows the
double and single quotes to be included in strings using a backslash.

for example:
text = "the \" character is a quotation mark"
more = "hello"

The default rules for Lua highlights would cause - "the \" - to be
higlighted as quoted, - character is a quotation mark - to be treated
as code and - " more = " - to be highlighted as quotes.

Essentially, I need to jEdit to recognise that " and ' are only
quotes if they are not preceeded by a \. I tried using SPAN_REGEXP.
This worked for recognising the opening quotes, but since the tag is
not evaluated as a regular expression, I could find no way to get it
to skip occurences of \" and \'.

Does anyone know of a way to do this? Thank you.

Clive Pottinger
Feature Request to load/view the head/tail/other end of a file
Submitted by paulflory on Wednesday, 8 December, 2004 - 22:44
I wish I could use jEdit to view specific parts of a file (e.g., the "tail" or "head"), especially HUGE files, like the 100MB+ log files I typically need to comb through.

jEdit has trouble with large files, eats a good deal of memory, and becomes sluggish with such beasts.

Wouldn't it be cool if we could load the tail end of a file, like the Unix tail command does? Or the head of a file. Or, if possible, but not as important, be able to specify the line numbers (range) we want to open.

I tried using the Log Viewer plugin, but it also eats up memory and croaks with large files.

Thanks,
Paul
Adding a Mode via the Plugin
Submitted by billstei on Thursday, 9 December, 2004 - 03:36
Would it make sense, or is it already possible, to have a plugin add a mode to the catalog at runtime only, (i.e. it would not cause the catalog file to be modified)? In other words the API would have provision to create a new syntax highlight mode. The mode XML file could either exist as it does now and be loaded as part of the registering call, or the API would allow the XML definition to be passed in.
Auto-indentation in a new edit mode
Submitted by Anonymous on Thursday, 9 December, 2004 - 09:53
Hi, I've been writing an edit mode for the ABB RAPID industrial robot programming language. Just one thing outstanding - Auto Indentation

In UltraEdit, the following lines work. I need to do the equivalent in jEdit.
/Indent Strings = "ELSE" "ELSEIF" "THEN" "DO"
/Unindent Strings = "ENDIF" "ELSE" "ENDFOR" "ENDPROC" "ENDMODULE" "ENDWHILE" "ENDFOR" "ENDTEST"

Here are a few examples of how the RAPID code looks. Note there are no brackets used in structuring these statements in this language. Can jEdit handle this or not?

IF nCurrentTable=1 THEN
  pBegin1.trans.z:=nMaxDistT1;
  pEnd1.trans.z:=nMinDistT1;
ELSEIF nCurrentTable=2 THEN
  pBegin1.trans.z:=nMaxDistT2;
  pEnd1.trans.z:=nMinDistT2;
ENDIF

WHILE NOT ConditionsOK DO
  IF (diCtrl_Vacuum1=0 AND boEnable_Ch1=TRUE) RETURN TRUE;
  ConditionsOK:=TRUE;
ENDWHILE

FOR i FROM 1 TO 10 DO
  routine1;
ENDFOR

But the following "compact" (one-line) IF statement should not have the next line indented:
IF di3_LayerOrd=1 Layer;


Thanks for any help!

Andrew
Column mode bug?
Submitted by pdfneuro on Thursday, 9 December, 2004 - 09:57
Hi,

When I am in column mode, I can insert any character which are printed on each row of my column.. excpet tab. Hitting tab in colum mode add a tab on each row of the column, but then directly quit column mode.. why?
Is it a bug?

Bye
How to show the keyboard language selected
Submitted by Anonymous on Friday, 10 December, 2004 - 22:50
hi,
just want to know how to show the kind of keyboard I choosed when I do Ctrl-Shift. is it possible to place an icon or something else for to show that ?
thanks in advance.
help with windows, jedit.bat, and default text editor.
Submitted by Anonymous on Friday, 10 December, 2004 - 23:49
Was trying to do some tutorials on C++ maybe learn something. Started reading to look for a good freeware text editor (have used textpad in the past for php/htm editing, but don't have a liscense for it here). Stumbled across jedit on a google, so far I like it. Wanted to make it my default editor.

I can associate most anything I want with the jedit.bat file and it works fine. My only real question is, on the first instance of jedit I open up using this method, the DOS window does not go away. Any subsequent openings after the initial jedit launch, the DOS window goes away. And if I close the initial Jedit window, then the DOS window goes away with it. I can close the DOS window at anytime with no ill affects. Its only a minor inconvenience, but I am trying to learn something new and any ideas on how to make that go away would be appreciated Smiling

Thanks!

Mike
Help subsystem
Submitted by NovaX on Saturday, 11 December, 2004 - 02:12
I'm developing a web application using JSP/Servlets and I really like jEdit's help interface. I'd like to seperate it from jEdit and convert it into a servlet. I downloaded the source code, but all I can find are the XML/HTML help files, not the Java source. Could someone point me in the right direction?

Thanks,
Ben
User login
Browse archives
« December 2004 »
MoTuWeThFrSaSu
 
15
24
25
28
 
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   108249
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