jEdit Community - Resources for users of the jEdit Text Editor
Archives
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
[SuperAbbrevs] Delete groups
Submitted by kochka on Sunday, 24 September, 2006 - 13:59
Hi Smiling

First, thanks a lot for this great plugin !

The only thing i've not found into the plugin is the ability to remove unwanted groups.

Example :

belongs_to :${1:object}, :class_name => "${2:ClassName}", :foreign_key => "${3:foreign_key}_id"$end

In this template, most of time I need only the first var group. I know I can bind all templates I need but It make a lot of shortcuts to memorize.
It would be great to have the ability to tab on a var and remove the group with a binded key :
belongs_to :${1:object}$[, :class_name => "${2:ClassName}"]$[, :foreign_key => "${3:foreign_key}_id"]$end
When I tab to go on $2, I can remove all the group ', :class_name => "${2:ClassName}"' with a binded key.

It can be usefull also for things like "if then else end", cause I need to make different shorcuts with one for the "else" case, and only one could be done with such a system.

I hope you have understood what I mean Smiling

Thanks a lot !
Changing color for one language in mixed-mode ASP page?
Submitted by irkregent on Monday, 25 September, 2006 - 14:21
I'm new to jEdit and just love how its code-folding works in ASP pages (both the VBScript and the HTML can be folded). But there's one thing I'd like to have that would make the two languages easier to differentiate:
How would I specify a different background color for VBScript in an ASP page?
Should we close this foum to new posts?
Submitted by AlanEzust on Tuesday, 26 September, 2006 - 04:48
I'm sure there are valuable discussions in this forum, so I think it should stay here for historical purposes, but all new feature requests should be posted to the sourceforge.net feature requests tracker, and further, any important ones that are posted here should also be moved there and given a unique ID, which can be closed when the feature is actually implemented. Don't you agree, vampire?
Expanding Syntax Highlighter
Submitted by spodhajecki on Tuesday, 26 September, 2006 - 14:29
I am having some trouble expanding the syntax highlighter within jedit. I have changed xmode .dtd , token.java to reflect adding 4 new tokens. However I believe that I am missing something somewhere as the syntax highlighter pane under global options is empty when I execute the new jar. Any help would be appreciated.

Stephen Podhajecki.
previous date
Submitted by char_skd1 on Wednesday, 27 September, 2006 - 03:29
I was wondering if anyone can help me figure out how to modify the insert date macro to give me the date + or - the current day.

example: text here (date here) more copy here.

Thanks for any help.
Can't resize jEdit window anymore
Submitted by stupor mundi on Thursday, 28 September, 2006 - 16:26
Hi All

I have a really dumb problem, I can already see the solution must be a simple switch somewhere, but can't find it.

After installing jEdit 4.2final on Windows (corporate environment, old Java version 1.3), I was initially able to change the window size in the usual way. Must have inadvertedly flicked some interface switch, now it always stays maximized, no matter how many times I toggle the "maximize/restore down" button in the window corner.

Anyone know how to switch it back?
CodeBrowser: Different tree presentations
Submitted by shlomy on Thursday, 28 September, 2006 - 21:47
Hi,

I'd like to add the following features to the CodeBrowser plugin:

1. An option to show tags with their namespace (i.e. classes, structs, ...) instead of the plain tag names - useful mostly for OO languages (C++, Java, ...). For example, if a file "a.cpp" contains functions "void A:f()" and "void B:f()", you will see "A:f()" and "B:f()" in the tree instead of two undistinguishable "f()" nodes. What do you think?
One of the questions regarding this feature is what to do with the right-click menu operations: Insert, Hypersearch, Copy, ... when the namespace option is used. Should these work on the namespace-qualified tag or continue to work on the plain tag name?

2. An option to have the tags grouped under their namespace, instead of under their tag type ("Function", "Variable", "Class", .. ), and an icon for each tag that specifies its type. Such a presentation of the tree would make it look more or less like the "Outline" view in eclipse. I think such a presentation may be more useful than the current.

At a later stage, the CodeBrowser tree can become completely customizable using an XML configuration file that will map "ctags" information into tree node strings and icons.

Please tell me what you think.

Thanks,
Shlomy
Want to turn of quote/bracket autocompletion.
Submitted by zenlinux on Saturday, 30 September, 2006 - 22:34
I can't seem to find the configuration options to disable the auto-completion of quotes and parenthesis/brackets. I find it often creates the closing character at the wrong times when I'm editing. Can anyone point me to where I can change that option?

Thanks,

Scott
JEdit as external editor in WinSCP
Submitted by JonathanNil on Monday, 2 October, 2006 - 15:26
I use JEdit on Windows. For software that let's you set an external editor 'helper', I like to use JEdit, but frequently have trouble figuring out how.

In particular, I'd really like to use it with WinSCP. Can anyone give me instructions on how to do it for WinSCP? Or any general tips or instructions for doing this generally on windows with jedit?

[The fact that it's a java app instead of a normal .exe is what is at the root of the problem, I guess.]
Probleme with AntFarm
Submitted by Manil on Tuesday, 3 October, 2006 - 16:07
Hi,

I am using AntFarm to compile CodeBrowser and i get the following error, it seems that ant is trying to compile with jdk 1.4 and i have 1.5 installed on my computer, I checked in my path and classpath and i have nothing that mention jdk 1.4, i never get it installed on my computer...Anyone have any idea??

C:\Program Files\jEdit 4.3pre6\CodeBrowser\trunk\com\bitart\codebrowser\CBLeaf.java:47: cannot access javax.swing.tree.TreeNode
bad class file: c:\program files\java\jre1.5.0_08\lib\rt.jar(javax/swing/tree/TreeNode.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import javax.swing.tree.TreeNode;
can't reference schema using XML catalogs
Submitted by kefl on Tuesday, 3 October, 2006 - 18:51

I'm having trouble getting the XML plugin to use an XML catalog to locate the schema referenced by my document. Can anybody help? Assuming all three documents (document to be edited, referenced schema and XML catalog) are in the same folder, I would expect the following to work:

root element of edited document:
<Ace
xmlns="http://www.birdstep.com/xml/schemas/acedb"
xsi:schemaLocation="http://www.birdstep.com/xml/schemas/acedb http://www.birdstep.com/xml/schemas/acedb.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>

catalog element in catalog document:
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public">
<public publicId="http://www.birdstep.com/xml/schemas/acedb" uri="acedb.xsd"/>
</catalog>

If http://www.birdstep.com/xml/schemas/acedb.xsd is not available, I would expect the editor to look up http://www.birdstep.com/xml/schemas/acedb in the catalog and so find acedb.xsd in the current folder.

What actually happens is that the editor returns HTTP 403. I've tried endless variations on the above setup, all with no luck...

PS. I have added my catalog to the list of catalogs in the XML plug-in's options.

jEdit is unbearably slow
Submitted by GCZFFL on Tuesday, 3 October, 2006 - 19:41
Newbie to jEdit here. Love what I see so far, but can't help but notice that it runs unbearably slow compared to other text editors. I'm talking about something in the realm of a two-second pause after the down arrow is pressed before the cursor moves down a line.

Using Windows XP Professional. Yes, I tried rebooting. Smiling

Ideas? Thanks in advance!

Joe
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