macro 'Display character code' doesn't?
Submitted by
McSwell on
Monday, 19 September, 2005 - 14:46
I have a file with some Unicode chars, and I want to see what Unicode code point they are. It sounds like the 'display character code' macro (accessible from Macros | Misc | Display character code) should do what I want, but in fact I don't see anything when I run it. As I understand it, it's supposed to display on the status line the codepoint of the char at the cursor, but I get nothing.
Is it broken, or am I not holding my mouth right? (I do have the Status Bar turned on, and I believe it has all the default settings. I tried turning off the Buffer Tabs plugin, on the chance that this was messing up the display of the Status Bar, but it didn't help.)
Dynamic variable highlighting
Submitted by
mkaatman on
Monday, 19 September, 2005 - 22:03
Has anyone seen the way eclipse does dynamic variable highlighting within java projects?
This is a really cool feature and I would love to use it on javascript and php through jedit.
When you click on a variable name, it highlights every instance of that variable within a script. To date, there are no php editors with this feature that I am aware of.
Jump to previous selection position
Submitted by
rwprogrammer on
Tuesday, 20 September, 2005 - 01:13
I would like the editor to remember the last (e.g. 10) places where your cursor has been. Then you could just use a keyboard shortcut to cycle through the most recent cursor locations.
E.g.: You are editing code in one area and you need to know the function definition for functionX, so you search for it and possibly edit it, and then you want to simply hop back to the previous character location...or maybe to the place you were editing even before that.
(If you are familiar with the Visual Studio VB 6.0 or .NET IDEs then you might know what I am talking about. They implimented this very nicely. It is CS+F2 in vb6 and C+'-' in .net)
If this is already implimented, just let me know. I may have missed it.
Thanks
Plugin Jedit in JSP Page
Submitted by
subha on
Tuesday, 20 September, 2005 - 12:21
Hi,
I want to Plugin Jedit in a JSP page.
can any one tell me the way?
Thanks in Advance !!!!!!!!!!!
Thanks & regards
balase
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