jEdit Community - Resources for users of the jEdit Text Editor
Archives
Edit Server
Submitted by Anonymous on Friday, 3 December, 2004 - 02:24
I was hoping someone could clarify exactly what the Edit Server in jEdit does? I really don't fancy reading through all of the source code to find out (and the documentation doesn't say what its functionality is actually for).

I am toying with the idea of making it possible to have the same files open for editing on multiple computers simultaneously so that multiple people can edit e.g. a java project at the same time (and with further plugins/ third party software can actually easily communicate and actually work together on file(s) without the bottle neck of only one keyboard and cursor!). I'm just wondering if the Edit Server may have much (or atleast some) of the work already done for me.

Any insight would be appreciated...
How to get jEdit v4.2 open files in same instance?
Submitted by a992400 on Friday, 3 December, 2004 - 03:58
In jEdit v4.1, every time I opened a subsequent file using right-click on the file, it would open in the existing instance of jEdit. jEdit v4.2 starts a new instance for each one, forcing me to Alt+Tab back and forth. How do I get jEdit v4.2 to open multiple files in the same instance?
How to enabled "Buffer Tab" ?
Submitted by cyu021 on Friday, 3 December, 2004 - 04:16
Hi folks,

I've been looking all over the configurations available in jEdit, but I couldn't find one to enable "Buffer Tab".
I really like to have my jEdit looks like this (just the buffer tab part):
http://www.jedit.org/index.php?page=screenshot&image=14

Any help would be greatly appreciated.
James
jedit + usb HOWTO updated
Submitted by Anonymous on Friday, 3 December, 2004 - 11:01
I have updated my information page on setting up usb devices to work with jEdit under Windows.

http://blue_technx.tripod.com

Thanks to a friend at school for pointing out how to properly set the 'cnfg' variable found on in the tutorial.

David G.
What are these ._ files?
Submitted by joelwyland on Friday, 3 December, 2004 - 19:17
I tried searching the forum but searching for ._ isn't that successful.

Sometimes when I'm editing files, some sort of tmp file is left behind. For example, Foo.java and ._Foo.java

The ._ file isn't a copy of the original, it's always 82 bytes of non-visible text. I know this isn't my autobackup because it's not a copy of the file and I have my auto-backup set to go to a specific directory on my hard drive.

Any suggestions are welcome because those extra files keep messing with my source code repository operations.

Thanks!
Kenny
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.
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