jEdit Community - Resources for users of the jEdit Text Editor
Archives
View tree (View_tree.bsh v1.0 by Delvin Johnson)
Submitted by delvinj on Thursday, 15 September, 2005 - 01:05
View_tree.bsh -- View jEdit's component heirarchy.
Character_Info.bsh v1.0 by Delvin Johnson
Submitted by delvinj on Thursday, 15 September, 2005 - 01:14
Shows you the codepoint, hexvalue and classification of the characters selected in the textarea.
Emacs incremental search
Submitted by jfombe on Thursday, 15 September, 2005 - 08:28
Hello all,

I don't know if this has been answered elsewhere, but I hadn't been able to find it.

I am a new jEdit user, with some Emacs background, and I was wandering if there is some way to have the exact (or as similar as possible) incremental search (i-search) of Emacs in jEdit.

I have tried to assign "Incremental Search Bar" to C-s, but I have the problem that in order to search for the next entry, I have to press Enter (cannot do it by pressing C-s again).

Thanks,
Jorge.
Macro_Popup.bsh v1.0 by Delvin Johnson
Submitted by delvinj on Thursday, 15 September, 2005 - 08:37
A Macro popup menu
Problem wtih "Edit modes" under Mac OS X
Submitted by cavva on Friday, 16 September, 2005 - 16:56
This is my env:
Mac OS X 10.3.9
jEdit 4.2final

If i go to "Global Options" -> "Editing" -> "Change settings for mode" and choose the "REBOL mode"
after click on "OK" or "Apply" i don't see the Syntax Highlighting for REBOL

and if i go back to the Global Options i can see that jEdit restore the editing mode to the default ...

what's happen?
selection anchor (toggle)
Submitted by McSwell on Friday, 16 September, 2005 - 20:42
For decades (ever since I switched from punchcards Smiling), I've set ^Q to do what you might call "toggle selection". That is, normally my cursor movement keys move the cursor without selecting text. But if I press (and then release) ^Q, then the cursor keys create a selection, as if I were holding the shift key down. Pressing ^Q again turns off selection, as do ^C, ^X etc.

It isn't obvious to me that there is any direct/ simple way to do this kind of toggling in jEdit. (I could write a bunch of macros for all the various cursor movement keys, but not otherwise.) Am I correct?
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
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