jEdit Community - Resources for users of the jEdit Text Editor
Archives
jEdit in html page
Submitted by balase on Wednesday, 21 September, 2005 - 11:08
hi,

I want to bring the jEdit (editor), in a html page. Its like open a swing application in html page. I am preparing a web mail application, I need a editor (developed in java).
jEdit is really good application for my requirements. The only problem is "how i want to import this component (jedit) in a html page.


Thanks & Regards,
Balamurugan SE
Code Browser and ctags
Submitted by maxime on Wednesday, 21 September, 2005 - 14:50
Hi everyone,

I cannnot make the Code Browser run. When opening Jedit|Plugins|Plugin OPtions...
I have the following message in the Code Browser:
NOTE: This version of CodeBrowser requires Exuberant ctags Version 5.5 or later from http://ctags.sourceforge.net, the standard ctags program will not work!

I run:
- WinXP SP2
- JEdit 4.2final
- CodeBrowser-1.3.1
- ctags554

In the ctags Path, I put: C:\data\prog\JEdit\ec554w32\ctags554 (where the exe is installed)
I alwo udpate the PATH environment varaible.

Any clue?

Thank

maxime
problems with plugin, tabs color and javaStyle
Submitted by cnt00 on Wednesday, 21 September, 2005 - 16:50
HI, I use jedit 4.2final version
I think that everyone that use jedit has installed buffer tabs plugin.(sorry for my english)
With a lot of buffer, i need to color the tabs for reach my code fastly.
How i can do this? I check the options

plugin->plugin options->buffer tabs->"enable colored tabs"
Now, where is my colored tabs? I want to color my tabs like green, red ecc, not only with the color of my interface(I use debian linux with xorg)
Any help?

Second problem:
I use in my code new java 5.0 feature like this:
java.util.LinkedList<E> from java api example: LinkedList<String> list = new LinkedList<String>();
When I try to reformat buffer with JavAstyle reformat buffer (another useful plugins) the parser say: parser exception.
The plugin is updated.
Anyone can solve my problems?
tnx

cnt00
Mode Syntax Options - Positional Modes
Submitted by DStaal on Friday, 23 September, 2005 - 14:48
I do a lot of work with EDI at work, and I've been trying to write a mode for it, but I keep running up against JEdit's mode syntax. It just doesn't support what I need.

EDI is a positional syntax, with fields being of fixed or semi-variable length, seperated by a delimiter. The delimiter itself is variable: While there are supposed to be specific choices, in reality any punctuation character has probably been used. To complicate things more, EDI has the concept of 'segments', which are often seperated by line breaks, but not always. (There again, any punctuation character should probably be considered valid, though in both cases it will stay constant within a file.)

So, ideally, I'd like to match the first few characters to a sequence, then use the next character as a delimiter (whatever character that is), then divide the rest of the file into fields by that character. A known number of fields from the start I can find the segment delimiter, which I would like to use as a line-ending. (In the cases where it isn't, there is usually no other line ends in the file.) Also, I'd like to be able to highlight as tokens certain fields, counting from line/segment-ends.

Problem is, there is no good way to do this in mode-syntax. I can highlight the delimiters, by entering a list of the common ones, but any attempt to highlight what is *within* them meets with problems. The most common problem is that the delimiters can only be part of *one* match. So, for instance, a 'span' rule will only match every other field.

Some of the 'interesting' fields of EDI have specific values, which I can then sequence-match, but many do not.

So, some specific suggestions:
- A delimiter-count match. Choose a delimiter, and match specific sequences divided by that delimiter. (And, possibly, end-of-lines). The delimiter itself is not part of the sequence matched, or at least can be applied a seperate token.
- An extension of the 'Terminate' rule, allowing termination at a specific character (or even regrex) instead of at a specific position. Again, the option to 'eat' the matched character or not.
- A property/rule to allow/force wrapping on specified non-whitespace characters.
- The ablity to _disallow_ wrapping on whitespace characters.

These may not be the best way to approach the problems, but they are rules that I can think of that would help. EDI itself does not have the concept of escape characters, but I can imagine that would be a useful addition to a delimiter rule.
Case INsensitive autocomplete
Submitted by rwprogrammer on Friday, 23 September, 2005 - 15:38
Is there any option to make the autocomplete feature in jEdit ignore case?

I.e., right now if I have the word "Something" in the buffer, and I type "some" and try to use autocomplete, it will not list "Something" as an option because I began the word with lower case. However, I WOULD like it to list "Something" in this case.

It should be a mode-dependent setting as to whether or not the autocomplete feature is case sensitive.
Installing Ruby Plugin! Yea, i followed all instructions!
Submitted by naive on Saturday, 24 September, 2005 - 06:51
Hi all,
First i installed JEdit. Then i followed all instructions at this page http://www.jedit.org/ruby/download/
No somehow i can smell some problem here. I don't think its installed properly. Whenever i
-Open menu Utilities->Global Options
-Go to Shortcuts
I don't see 'Plugin: RubyPlugin' here. Why ? I also tried to install RubyPlugin 0.6.6 by clicking the following link
http://www.jedit.org/ruby/download/RubyPlugin_0-6-6.jar
but i always get an error page.
Folks please help me in installing this ruby pluggin. I would really appreciate your time and help. Any help will be highly appreciated.
Regards,
-Naive
retrieve the values from the jEditor
Submitted by balase on Monday, 26 September, 2005 - 12:53
Hi,

I want to retrieve the values in the jEitor (what ever we typed in the editor) and store into a database.
if any body have this idea, then can you tell me?


Thanks & Regards,
Balamurugan SE
Editmodes for SwitchBuffer (EditmodesForSwitchBuffer.jar v0.1 by Jeroen Budts (TeRanEX))
Submitted by TeRanEX on Monday, 26 September, 2005 - 21:38

A dataprovider for the new SwitchBuffer, which is currently in beta and can be found here, to make it possible to change the editmode of a buffer, by using SwitchBuffer.

You can get the source by using DARCS:
$ darcs get http://dev.budts.be/darcs/jedit/EditmodesForSwitchBuffer

Also available from http://dev.budts.be/releases/jedit/EditmodesForSwitchBuffer/

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)?
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