jEdit Community - Resources for users of the jEdit Text Editor
Archives
Problem instaling jedit on UBUNTU 6.0.6
Submitted by ziby on Sunday, 3 September, 2006 - 17:11
I have a problem to install jedit:
After running sudo apt-get upgrade I am getting the following error:

ubuntu@ahome:/$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
E: The package jedit needs to be reinstalled, but I can't find an archive for it.

---------------------------------------------------------------------------------------

When trying to install new application I am getting the following errors:

sudo apt-get install gkrellm
Reading package lists... Done
Building dependency tree... Done
E: The package jedit needs to be reinstalled, but I can't find an archive for it.





wget -c http://optusnet.dl.sourceforge.net/sourceforge/jedit/jedit_4.3pre6_all.deb
--13:24:47-- http://optusnet.dl.sourceforge.net/sourceforge/jedit/jedit_4.3pre6_all.deb
=> `jedit_4.3pre6_all.deb'
Resolving optusnet.dl.sourceforge.net... 211.29.132.142
Connecting to optusnet.dl.sourceforge.net|211.29.132.142|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

----------------------------------------------------------------------------------------------

sudo dpkg -i jedit_4.3pre6_all.deb
(Reading database ...

dpkg: serious warning: files list file for package `jedit' missing, as suming package has no files currently installed.
76809 files and directories currently installed.)
Preparing to replace jedit 4:04.03.06.00 (using jedit_4.3pre6_all.deb) ...
Unpacking replacement jedit ...
dpkg: error processing jedit_4.3pre6_all.deb (--install):
unable to create `./usr/lib/menu/jedit': No such file or directory
dpkg (subprocess): unable to execute new post-removal script: No such file or directory
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 2
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
jedit_4.3pre6_all.deb


I tried everything what I found on the net but no success

Help would be appreciated

Ziby
plugin manager fails
Submitted by thorby on Friday, 8 September, 2006 - 19:21
I'm new to jEdit. Downloaded the Mac OSX version to a MacPro (intel) with the latest operating system & java.

The editor comes up and opens a file just fine. But when I ask the Plug-In Manager to install the XML plug-in, it **instantly** displays three identical error messages (one per plug-in, I suppose). The message says "An I/O Error Occurred (Connection Refused)"

I am connected to the internet (I just completed the jEdit download) so -- what's its problem??
I can't see anything when I start jEdit
Submitted by dohidied on Tuesday, 12 September, 2006 - 19:36
I'm trying to use jEdit on OS X and after I installed I opened it and I couldn't see any text on the splash screen. I don't know if I can post a picture, but here's a link:

http://student.santarosa.edu/~plinkous/jedit.jpg

My software is all up to date, so I should have to proper Java software.

Thanks for any help.
Simple PHP4 class template (php_class.vm v0.2 by Jarek Wasilewski)
Submitted by orajo on Tuesday, 12 September, 2006 - 20:56
This is a simple template/creator of PHP 4 class with optional extended class. If extended class is defined then call of parent constructor is also added. But there is problem with indentation of constructor method :(
jedit always starts 2 instances
Submitted by audrey on Wednesday, 13 September, 2006 - 04:26
jEdit 4.2, Fedora 4, j2sdk1.4.2_08

Just in the past couple of days, every tim i launch jEdit, i get 2 instances starting. FWIW, normally, i'll launch jEdit from the panel, but i think this began when i invoked jEdit on a file from the CLI (which i'm sure i've done many times before, in any case). I'm stumped and have no idea where to even begin looking for the cause of this (well, here, i suppose). I haven't installed anything recently, and i've been using jEit for months now with no problems.

Both instances show the same files open.

Also, the "Untitled-1" file that normally shows up when jEdit is launched doesn't disappear once some other file is opened. I guess that's because the other instance has a copy open, as well.

Any ideas?

ps: the "Forum" select widget for the topic post form is b0rked in Firefox1.5/linux. It's about one charcter wide.
Caret Guide Colour should be selectable
Submitted by rovf on Thursday, 14 September, 2006 - 08:43
I like the idea of the caret guide (it helps see alignment in block structured code), but I would like to make its colour customizable, so that I can make the colour nearly the same as the background. As it is right now, the colour of the caret guide is very different from my choosen text area background, and it is very distracting to always see that big vertical line moving over the text area while one is typing. If I could choose the colour by myself, I would use one which is less obnoxious.
Plugin Manager Error: Two copies installed. Please remove one of the two copies.
Submitted by jpbroome on Friday, 15 September, 2006 - 15:32
I'm having trouble with the XML plugin. When I try to install it - manually or via the Plugin Manager, I get the same error:
C:\Documents and Settings\jpbroome\.jedit\jars\XML.jar:
Two copies installed. Please remove one of the two copies.

But there's not 2 copies installed. I searched my hard drive - there's only the one instance of XML.jar found. It's not listed in the "Plugins" menu in jEdit, and it's not listed in "Plugin Options..." in jEdit. So I quit jEdit, deleted XML.jar, and tried installing it fresh from the Plugin Manager again, and get the same error every time, no matter what I've tried.

Is it possible some other plugin I have installed is conflicting with XML.jar, or is there some bug or situation where this error message could be displayed?

Any help is much appreciated.
How do you manipulate the Selected Text?
Submitted by LDiracDelta on Friday, 15 September, 2006 - 16:17
I want to write a macro that grabs out the selected text, manipulates it ( using something other than a search and replace) and then re-inserts the text back into the buffer. What are the magic classes and things I need to do to make this happen?
How do you manipulate the Selected Text?
Submitted by LDiracDelta on Friday, 15 September, 2006 - 16:17
I want to write a macro that grabs out the selected text, manipulates it ( using something other than a search and replace) and then re-inserts the text back into the buffer. What are the magic classes and things I need to do to make this happen?
Problem opening Windows ANSI encoded file
Submitted by thebugslayer on Saturday, 16 September, 2006 - 01:55
Hi, in jedit I see this: {{{ 㰿硭氠癥牳楯渽∱⸰∠敮捯摩湧㴢畴昭ㄶ∿㸼佲摥牌楳琠却潲敁捣潵湴乡浥㴢扬慨∾㱏牤敲⁣畲牥湣礽≕卄∠楤㴢㑥摦㌵㑢㠲㐱㐳㘶慥敡㑣摤摤㕦扥攷∾㱔業放㈰〶ⴰ㤭ㄴ吱㠺㈵㨲㈮㠶㌰〰〭〵㨰〼⽔業放㱁摤牥獳䥮景⁴祰攽≢楬氢㸼乡浥㸼䙩牳琾呩湡㰯䙩牳琾㱌慳琾卩敲牡㰯䱡獴㸼䙵汬㹔楮愠卩敲牡㰯䙵汬㸼⽏牤敲䱩獴� }}} But in Windows, notepad I see this: {{{ TinaSierraTina Sierra }}} Can someone help? Can't I upload sample attachment?
Catalog and relative system identifier
Submitted by BobKagy on Saturday, 16 September, 2006 - 02:12
I have some XML files with DTD declarations like:
<!DOCTYPE foo SYSTEM "foo_1.dtd">

The DTD isn't in the same directory.

I thought I'd be able to add a catalog and point out the correct location of foo_1.dtd. However, jEdit still complains that it can't find the DTD in the same directory as the XML file.

My catalog:
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "oasis-catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<group prefer="public" xml:base="file:///C:/Documents and Settings/user/.jedit/xml_catalog">
<system systemId="foo_1.dtd" uri="BlkArch/foo_1.dtd"/>
</group>
</catalog>

According to this page:
http://www.sagehill.net/docbookxsl/WriteCatalog.html
under "Relative SYSTEM identifiers may not work"
there is a general failure among Java based XML parsers that prevent them from using catalogs with relative system identifiers.

Is this page correct, or is there a way around this?
Installing jEdit4.3pre6 doesn't seem to work
Submitted by Dustypaws on Sunday, 17 September, 2006 - 11:17
Well....I've tried everything, even updating to jre1.5 but each time I try to run an installation I get this:
dusty@Dusty:~/Downloads$ java -jar jEdit4.3pre6install.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: installer/Install (Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
dusty@Dusty:~/Downloads$                                              
Any suggestions are welcome! Dusty Smiling
C/C++ tags
Submitted by shlomy on Sunday, 17 September, 2006 - 13:20
Hi,
There are several features I would like to have in jEdit, related to C/C++ tags. Please let me know if there is any work being done on these features (or any plans to implement them). I consider implementing these features myself, either by contributing to existing plugins or by writing new ones. Here are the features:
1. GUI for the creation of tag files (e.g. a dialog interface for 'ctags'). I'd like to see that as part of the Tags plugin.
2. Automatic update of tag files as buffers are being modified. The CodeBrowser plugin provides a similar functionality, but it only works on the current buffer. I'd like to see this functionality in the Tags plugin.
3. Provide different options to 'ctags' when parsing H files and when parsing C/C++ files. From what I saw, 'ctags' by default collects only function/method definitions, but if you run it with "--c-types=p" it will collect function/method prototypes instead. Usually, I'd like the tag files to contain both the prototypes and the definitions, so 'ctags' should be invoked with different options on these types of files. This request applies both to the CodeBrowser (which, in my project, shows only a small subset of the prototypes in my H files) and to the Tags plugin if requests 1&2 above will be implemented. BTW - there is also an option in 'ctags' to collect local variables.
4. 'ctags' provides only prototypes/definitions. When writing s/w, one usually also needs to see all the references to some identifier. The GNU 'global' tool uses 'gtags' and collects both definitions and references. I'd like to have support for the 'global' tool as well, either as part of 'Tags' or another plugin.

My email is: sreinst1@walla.co.il.

Thanks,
Shlomy
SearchAndreplace.find()
Submitted by Irtytsch on Monday, 18 September, 2006 - 06:19
(Sorry for my bad English. I hope you understand my question)

I have to search a String in a known part of a text. So, I'm looking for a method find(View view, Buffer buffer, int start, int end) in the class SearchAndReplace. But i can't find.

How can I do that?

Thank you
jEdit and Ruby on Rails: More Syntax Highlighting
Submitted by loki_mdog on Monday, 18 September, 2006 - 23:33
OK...so I have the base syntax highlighting working for the RubyPlugin so that words like "class" and "def" get highlighted but since I'm new to Ruby programming a nice confirmation of when I actually type (or mistyped) a method name would be for more complete syntax hightlighting so that words like: find_all, belongs_to, has_many, scaffold, etc would be recognized.

Now, I know the highlighting is determined by the ruby.xml file and that I could just add keywords to the XML file to get the highlighting to work but I'd then need to constantly be updating the XML file as I added new gems.

So I have two questions:

1. Does anyone know how to get syntax highlighting for the methods (and all the other methods that my ruby install would support) in a dynamic fashion...looking at what is installed and looping through those functions? I'm also new to jEdit and trying to configure it to my liking.

2. If I do need to brute force the XML file and hardcode all the available methods, can someone point me in the direction of a page that would have all the available ruby on rail methods? And all the RHTML methods? I am having a hard time finding someplace where I could copy all the the method names out and format them for the ruby.xml file. I just want a list basically.

Many thanks,
loki_mdog
File Associations
Submitted by SenlacHill on Tuesday, 19 September, 2006 - 03:43
Ok, I'm brand new to jEdit as of about an hour ago. I'd like to set my file associations, but cannot find the option to do that. Now, it may be staring me in the face, or maybe somewhere, perhaps obvious on this site, BUT, I can't find it... My eyeballs are getting shorter in my old age. Can someone please help me out here ??? (With the file associations that is.. lol)
jEdit freezes when trying to open a file
Submitted by rhubarb67 on Tuesday, 19 September, 2006 - 19:38
I'm using jEdit 4.2final on Windows XP Pro. I have been using it for awhile now and yesterday, 09/18/2006, I encountered this situation. I clicked on File/Open and the main window loses focus but I don't see the Open Dialog on either of my two monitors. When I bring up Task Manager all I see is the main jEdit app running. If I hit Escape the main window receives focus and I can click on all other menu items with no problem. If I open the Processes tab, all I see is the jEdit process running, nothing else related. If I try to stop jEdit I see this message:

"The system cannot end this program because it is waiting for a response from you"

It looks to me like the jEdit app thinks the Open Dialog window is loaded. I'm thinking the dialog has been opened behind the main app but I can't figure out how to make it appear.

I have no ideas on what the solution is for this problem. I've tried just about everything to resolve this all to no avail. I have even uninstalled jEdit 4.2 and reinstalled it and the same thing happens.

I would really appreciate it if anyone has encountered this and has a resolution would pass it on?

Thank you;
Rhubarb
Changing background color
Submitted by mvermand on Friday, 22 September, 2006 - 14:46
Hi,

I wich to change the background color of a TextArea when the buffer is readonly.
I can't figure out how to do this...
Setting
pView.getTextArea().setBackground(pColor) results in nothing.
pView.getTextArea().getPainter().setBackground(pcolor) paints every open textArea.

How do I change the background of a single TextArea?

Thanks!
change buffer order
Submitted by nowad3 on Sunday, 24 September, 2006 - 13:18
Hi! I have installed the plugin BufferTabs. Is there generally a posibility, when there are several files open, to change the order of this buffer tabs?

greets nowad
User login
Browse archives
« September 2006 »
MoTuWeThFrSaSu
 
1
4
5
6
7
9
10
11
20
21
23
27
29
 
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