jEdit Community - Resources for users of the jEdit Text Editor
Archives
expanded right- click menu
Submitted by vupt on Tuesday, 27 September, 2005 - 00:09
I really like how easily you can customize the right-click menu and add your own shortcuts. But a feature I think would be really nice would be to have submenu items within the right-click menu. And so you can group shortcuts within a submenu.
For example, when you right click the mouse you would see something like this:
Menu1>
Menu2>

Anything with a ">" indicates a submenu. And then when you click on Menu1, you would see its submenu.

Menu1 >
shortcut1
shortcut2
Menu2 >


regards,
Phong
Location of JDK
Submitted by naugiedoggie on Tuesday, 27 September, 2005 - 01:32
When I try to run JCompiler, it gives me an error saying that my 'java.home' appears to be "C:\Program Files\Java\jre1.5.0_04". Where is it getting that from? It's not from my environmental settings:

powem@PDXPOWEM01 [ ~ ]
--> echo $JAVA_HOME
C:\Program Files\Java\jdk1.5.0_04

c:\src>set
CLASSPATH=C:\Program Files\MySQL\mysql-connector-java-3.1.10;
JAVA_HOME=C:\Program Files\Java\jdk1.5.0_04

I've looked in various properties files and can't find any place to set this value. Any help would be appreciated.

Thanks.

mp
what is initail value to jEdit.java ! where it is? ! how its pass !
Submitted by balase on Tuesday, 27 September, 2005 - 06:18
hi,

any one can explain how initial value pass to the jEdit.java (command line arguments) program and where you get that initial value? what is that file name?

thanks
Balamurugan SE
How convert string to number.
Submitted by Driezas on Tuesday, 27 September, 2005 - 07:24
Hi all, Currently i'm trying to write macro to convert degrees to decimal form and back and have some problems. Input is string and I need convert that string after splitting into parts to numbers, but macro ends with error complaining that unable to casto sting to integer. parseInt also not working. What's wrong ? Thanks for answers Here is code:
 void convert_coordinates() {
   private int Laipsniai;
   if (textArea.getSelectedText().contains(" ") == true ) {
     format = 1;
     Macros.message(view,"Degrees");
   } else {
     format = 0;
     Macros.message(view,"Decimal degrees");
   };
   
   switch (format) {
     case 1:
       Elements = textArea.getSelectedText().split(" ");
       Laipsniai = Elements[0];
       Macros.message(view,"Laipsniai: "+Laipsniai);
       textArea.setSelectedText(Laipsniai);
     break;
     
     case 0:
       Elements = textArea.getSelectedText().split("[.,]");
       textArea.setSelectedText("1:"+Elements[0]+" 2:"+Elements[1]);
     break;
   };
 }

 if (textArea.getSelectedText() == null) {
   Macros.error(view,"No coordinates selected !!!");
 } else {
   convert_coordinates();
 };
RubyPlugin - No Interpreter Defined
Submitted by guivho on Tuesday, 27 September, 2005 - 07:56
Using jEdit to edit Ruby source code, using the RubyPlugin 0.6.9, I try to run the current buffer, e.g. by launching run from the action Action Bar. This causes following popup: 'No Interpreter Defined - There is no interpreter associated with this buffer. You can specify interpreters on a mode-specific basis in the Utilities->Global Options dialog box.'
For one, I would expect that the RubyPlugin would define ruby as the interpreter for ruby mode buffers.
For two, I have looked in vain through the Global Options dialog and I can not find an option to define compilers/interpreters on a mode-specific basis. I feel so stupid, as I have seen that panel while I was initially playing around with jEdit. But I can't find it anymore!?
Can anybody give me a pointer?
TIA, Guido
Geo coordinates converter macro (Coordinates_convert.bsh v1.0 by Rolandas A.)
Submitted by Driezas on Wednesday, 28 September, 2005 - 12:53
This macro converts geografical coordinates between degree.decimal and degree minutes seconds.decimal formats and vice versa. Created primary for X-plane flightsim related development. Maybe will be usefull for anyone. If you have any comments or suggestions contact me by email rolandas dot ananijevas at gmail dot com.
Cannot find CatalogManager.properties
Submitted by HolyBastard on Wednesday, 28 September, 2005 - 13:22
I'm using jEdit under linux redhat enterprise 3 I have XML plug-in 0.13 and sidekick 0.3.4 and I consistanly get thoses messages:
[error] AWT-EventQueue-0: Cannot find CatalogManager.properties
[error] AWT-EventQueue-0: Cannot find CatalogManager.properties
[error] AWT-EventQueue-0: Cannot find CatalogManager.properties
[error] SideKick #1: Cannot find CatalogManager.properties
[error] SideKick #1: Cannot find CatalogManager.properties

It doesn't seems to do anything but its really annoying and i was wondering how I could fix this.
Thanks in advance for your help.

HolyBastard
Compared to phpeclipse and PHP Designer 2005
Submitted by Peter Mount on Thursday, 29 September, 2005 - 07:34
Hello

I've been using phpEclipse but I've been looking at PHP Designer 2005. How does jEdit compare to these for php development?

I've found Eclipse can be a unstable in that I have to periodically re-install it in Windows. Plus I currently only have a Pentium 2 at home.

I've also got Netbeans 4.1 loaded for JSP2/Servlets

Thanks

Peter Mount
Timeouts in downloading plugins
Submitted by Peter Mount on Friday, 30 September, 2005 - 00:52
Hi

I tried using the plugin manager to install 11 plugins through my dial up modem at home. I had trouble as I kept getting a timeout message so none of the plugins downloaded. Could this be a problem with the server?

Thanks
postgresql.Driver not found
Submitted by payx on Friday, 30 September, 2005 - 06:51
Hi, I use Win2k SP4, jEdit 4.2final, PostGreSQL 8.0.3. DB Terminal Plugin does not connect to my PostGreSQL-DB showing the error-message cited in the subject. I have tried postgresql-8.0-312.jdbc3.jar and postgresql-8.1dev-401.jdbc3.jar in \jEdit\jars. I will be greatful for any hints. payx
Submitted by Anonymous on Thursday, 1 January, 1970 - 00:00
n/a
making the ALT key sticky
Submitted by McSwell on Monday, 3 October, 2005 - 12:41
In all other applications that I use under Windows, touching and then releasing the ALT key makes the menu bar active, with the "accelerator" keys for each main menu item underlined or highlighted.

This doesn't work under jEdit--the only way to get to a menu item (at least for mouse-phobic people like me) is to hold the ALT key down while guessing the letter for the main menu item (F for File, E for Edit, etc.).

Is this a property of jEdit, or of Java? Is there a way to fix it (and I do mean "fix", since I believe the sticky-ALT behavior is standard in MS-Windows)?
Problem with editing mode syntax hilighting (assembly-r2000 [mips])
Submitted by ian_stanton on Tuesday, 4 October, 2005 - 15:34
I've encountered a problem with syntax highlighting and MIPS assembly language.
I use the assembly-r2000 editing mode and it works almost perfectly, except that the register name $t0 is not being coloured up. All other registers as far as I can see are coloured green except this one which stays black.

If your not familier with using registers replace that word with variable names.

I was hoping to find someone that has some experience with using jEdit for writing mips code or someone with experience of editing syntax specifications so that I could possibly alter the program to include the register $t0.

Any help or advice would be greatly appreciated. At the moment I feel like I'm missing something obvious since it seems a silly thing to be happening.
OEM 2 ANSI
Submitted by jaguar080 on Tuesday, 4 October, 2005 - 20:58
Hi, it would be great to be able to read the DOS/OEM character set, and to convert it to ansi characters and vice versa.
How does JEdit find available fonts under *nix?
Submitted by pachanga on Wednesday, 5 October, 2005 - 08:02
Guys, i'm switching from windows to Debian 3.1 and having different little yet annoying issues trying to make JEdit operate exactly the same way as it does on my XP box.

I'm almost there but there's one problem which i can't resolve myself - fonts.

For some reason JEdit doesn't show fonts i copied from XP while KDE and GNOME have no problems with that. What can be causing this?

I'm using JEdit 4.2 final with j2sdk-1.4.2.06...
Default Printer
Submitted by Jason16384 on Wednesday, 5 October, 2005 - 21:19
I maintain Linux systems that are used for programming at a small liberal arts university. When students print they are generally not very observant to which printer they are printing too. It is useful to be able to set a default printer so that students don't have to figure out which printer they are using. Also, some of the professors that use Jedit to print lots of code examples get annoyed that they have to select the correct printer every time they go to print. If Jedit would use the default system printer or allow one to be configured that would improve the user experience for those at my university. I'm sure other users of Jedit would also like a default printer option.
Indent Next Line property
Submitted by Targ Collective on Thursday, 6 October, 2005 - 14:45
I am trying to get IndentNextLine to work in a custom XML, but as the Jedit documentation does not cover this in nearly enough depth I don’t know where to start. The example is no help, as there are more of these: “(“ than these: “ )“ which confuses things. The Jedit team should update their documentation of this really, but in the interim could someone fill me in?
Shuffle Lines Macro (Shuffle_Lines.bsh v1.0 by DreamTangerine)
Submitted by DreamTangerine on Thursday, 6 October, 2005 - 17:58
a BeanShell macro script for shuffling the order of lines in a buffer. If there are selections, the lines in the selections will be shuffled, otherwise the whole buffer will be shuffled.
Close Selected
Submitted by Juxi on Friday, 7 October, 2005 - 15:32
Working with a large open source cart, I frequently open 3-5 or more files as I trace the code.
After working in several areas, I may have 15-20 files open.

Eventually I want to close all, but a few core files that are usually kept open.

Choice 1; Individually close a dozen or more files.
Choice 2; Close All and reload the 2,3,4 core files.
Choice 3; Close Selected [a flyout showing open files with a check box for each and one submit button]

I have looked for Choice 3 many, many times.
Its not in the version I have.
Hope to see it in a future one.
Thank you.
ProjectViewer 2.1.1 Beta (ProjectViewer.jar v2.1.0.91 by Marcelo Vanzin)
Submitted by vanzin on Saturday, 8 October, 2005 - 23:06
New beta version of next ProjectViewer release. This version contains a few bug fixes reported from the previous beta, some fixes to the extension mechanism for other plugins, and a new event used by the next release of Console.
User login
Browse archives
« September 2005 »
MoTuWeThFrSaSu
 
2
3
4
6
10
11
12
17
18
22
25
 
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