Serene (serene.jedit-scheme v1.0 by Mohammed Badran)
Submitted by
mbadran on
Sunday, 18 April, 2004 - 13:27
Abbreviation, autocorrect and apostrophes
Submitted by
mbadran on
Sunday, 18 April, 2004 - 13:37
Hi,
I would like to have an abbreviation that includes an apostrophe, such as "are'nt", which is to be replaced with the correct spelling of "aren't" upon expansion.
The problem is that the abbreviation engine does not seem to recognise apostrophes (in abbreviations, not expansions). I've tried escaping them as such; "\'", but that also does not work.
If there is a workaround for this, I'll be able to have jEdit autocorrect common spelling mistakes, and I'll post up my abbrev file for everyone's benefit. If not, I guess this will have to go in the Feature Requests forum.
Many thanks,
Mohammed.
Country Code (Country_Code.bsh v1.0 by Mohammed Badran)
Submitted by
mbadran on
Sunday, 18 April, 2004 - 13:46
Prompts for a two-letter country code and displays the corresponding country name.
XInsert Colour Palettes (colours.insert.xml v1.0 by Mohammed Badran)
Submitted by
mbadran on
Sunday, 18 April, 2004 - 15:39
An XInsert insert for some common colour palettes.
Waiting within startup script
Submitted by
mbadran on
Sunday, 18 April, 2004 - 15:50
Hi,
I'm trying to write a simple startup script that displays the actionbar and returns focus to the current buffer. The following code does this:
jEdit.getActiveView().actionBar();
textArea.requestFocus();
However, I can't seem to get it to execute at the right moment. I've tried a variety of ways, waiting for the view to be initialised, waiting for the buffer to load, etc., but none of it seems to work correctly.
Much appreciated,
Mohammed.
XMLPlugin and Schema Validation
Submitted by
webengr on
Monday, 19 April, 2004 - 00:38
This could well be user error, which is why I am not using the "Report a Bug" link.
I am editing an XML schema in jEdit 4.2pre11, using XMLPlugin 0.13 (plus its required companions), running on JDK 1.4.2_04/Win2K. No matter what I do, I get this error in the Error List:
cvc-elt.1: Cannot find the declaration of element 'xs:schema'.
The XML Insert pane shows the proper tags available, so jEdit did find a schema somewhere. Also, the target file does validate against my schema. Using "Edit tag at caret" to edit the <xs:schema>
tag brings up the expected dialog box, BUT it also deletes the namespace binding for the "xs:" prefix.
I could be doing something wrong, but I didn't find any clues in the plugin documentation. Here is what my schema looks like at the moment:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element ...>
etc...
</xs:schema>
I have tried several permutations with various attributes for <xs:schema>, but I don't think that is the root cause. Any hints?
PCS
Website Button Submission
Submitted by
joeguy on
Monday, 19 April, 2004 - 04:18
Hello. My name is Scott Vinkle and I would like to submit a website button. I actually only started using jEdit a few weeks ago, but since then I've realized that I've missed out on a whole lot while using other editors. I think jEdit is amazing because it can be used on any platform, it's open source, and it's so customizable.

Anywho, my button is 88x31 in size, PNG format, and I created it with The Gimp 2.0. I think it looks neat because I used a Star Wars font and it looks like the text "jedi" from Return of the Jedi, but with a T on the end.

Here is the URL to my button: http://tuxinator.homelinux.com/images/jedit_button.png.
Thank you for considering my website button for submission to the wonderful jEdit community!
Loading file Macro
Submitted by Anonymous on Monday, 19 April, 2004 - 21:15
Hi All,
Background:
I have been using jEdit for a few months and just starting to play with the Macros. I am ultimatly trying to change the permissions of a file and to edit a line of code. I use source safe and a local enviornment and have to modify a struts config file, which is read only until checked out. To make my life simple, I want to remove the read only attribute and find my DB reference line and change it to my local DB.
My problem:
I can change the attribs easily enough with
runCommandInConsole(view,"System","attrib amp-config.xml -r");
But I now need to load the file. I am not sure how I would load it into the buffer so I can see and manipulate it.
Any Suggestions?
Thanks
Tom
Vertical lines connecting curly braces
Submitted by
ebaker on
Tuesday, 20 April, 2004 - 16:05
I'm a newbie user of Jedit (3 days).
I noticed in some of the screen shots, on the www.jedit.org page, that vertical lines connected curly braces. However, my installed version of Jedit does not have this behavior.
How is that option set?
Thanks
Ed Baker
OS X, 4.2, and the option key
Submitted by Anonymous on Wednesday, 21 April, 2004 - 02:48
Hey, all. I'm a huge jEdit fan, and have been using it for a while on my mac (running Panther, 10.3.3), but I've recently upgraded to the 4.2pres, only to find that jEdit no longer responds to shortcuts involving the option (alt) key, even simple ones built into the OS, like option-forward to go forward one word, or option-delete to delete word. I saw the changelog about remapping of keys on OS X, but is there any way to make these shortcuts work? They're standard in nigh every other application on OS X, and it's rather difficult to get used to working without them.
Buffer Switching using recently edited buffers
Submitted by Anonymous on Wednesday, 21 April, 2004 - 10:32
Hi,
A feature to cycle back through the buffer history of recently edited files would be great.
e.g. ultra-edit,ms visual studio, komodo etc. hold down ctrl and press tab repeatedly to cycle back through most recently edited files.
e.g. alt-tab in windows to cycle to most recently used application.
Thanks
Michael
catalog DIRECTORY_NAME_GLOB
Submitted by Anonymous on Wednesday, 21 April, 2004 - 14:24
It would be nice to be able to specify directory locations for modes in the catalog file.
For example I need something like this:
<MODE NAME="interchange" FILE="interchange.xml"
FILE_NAME_GLOB="*.*"
DIRECTORY_NAME_GLOB="S:\*" />
This would instruct JEdit that all files in the directory S:\ and subdirectories thereof should use the interchange format mode.
In this example it would be used for specifying an Interchange shopping cart catalog location. Files used by Interchange can have any number of extensions including .html, .cfg, etc. They are always confined to a specific location so that is where the additional specifier would come in handy.
Thank you for making such a great editor!
Ocaml Edit mode (ocaml.xml v0.1 by Tobias Elze)
Submitted by
tobias-elze on
Thursday, 22 April, 2004 - 14:10
auto repetition of regex-based search & replace
Submitted by Anonymous on Thursday, 22 April, 2004 - 15:43
I need to process long lists of index records (many thousands of entries), to convert from a format prepared for print publication to a database-oriented format. Specifically, where the first word(s) in a record is repeated in the following record the repetition is implied by indentation (effectively whitespace). For example:
Abadham, Harvey v. H65/24
Abarrow, Radford v. R23/47
Abbes, Claxton v. C129/19
...Kinwellmarsh v. K26/98
...Parmenter v. P40/32
Abbey, Clarke v. C114/23
...Harrison Kt. v. H95/24
...Snawsdale v. S49/3
...Tooker v. T19/22,61/127
Abbott, Antram v. A8/41
...Ashton v. A7/55
...Bacon v. B44/22
...Ballard v. B110/40
...Kt., Barnes v. B12/64
...Battersby v. B135/12
["..." = whitespace]
I can find and replace the "indent" by the required string OK, using a tagged regex string to search. But after the replace is done, the search stops and I need to click the replace button again to do the next replacement; "replace all" doesn't seem to work (maybe because the search string value is dynamic??).
I have a lot of this type of work to do, and was trying to avoid having to write code - and the approach seems almost to work, if I didn't have the problem that the search stops. I have also tried TextPad, which has the same problem, and it appears that Ultraedit will be the same.
Any ideas?
Ian Galbraith
Logical file grouplings or workspaces
Submitted by Anonymous on Thursday, 22 April, 2004 - 17:47
Often I need a core set of files, often depending on the exact task I am working on. Through the course of the day, I may open many extra files, or perhaps work on two or three seperate tasks. It would be nice of I could group a set of documents to a workspace/group/what-have-you, and open all the files in one shot. That way if I get too many open, I can close all files and start from scratch. I can open my config files, my current tasks, or perhaps a set of XML documents.
Not sure if this would be good for a plug in or for the program itself, then again, perhaps this feature exists and I just missed it.
Tom
Problem with the Tags plugin and PHP functions
Submitted by Anonymous on Friday, 23 April, 2004 - 11:53
I'm trying to use the Follow Tag feature to find where a PHP function is declared, but it has a problem with functions that have parameters eg foo( $bar, $room, $brawl ). It will find the file the function is located in, but not jump to the correct line, just stays on the first line.
It works fine if the function has no parameters eg foo()
It's driving me slightly mad....
java.lang.NoSuchFieldError on startup
Submitted by Anonymous on Friday, 23 April, 2004 - 13:46
Can anybody help with this error on startup? Only happened after i added plugin jars to the jars folder
Exception while sending message on EditBus:
[error] java.lang.NoSuchFieldError: LOADED
[error] at errorlist.DefaultErrorSource.handleBufferMessage(Unknown Source)
[error] at errorlist.DefaultErrorSource.handleMessage(Unknown Source)
[error] at org.gjt.sp.jedit.EditBus.send(EditBus.java:166)
[error] at org.gjt.sp.jedit.Buffer.load(Buffer.java:183)
[error] at org.gjt.sp.jedit.jEdit.openFile(jEdit.java:1343)
[error] at org.gjt.sp.jedit.jEdit.newFile(jEdit.java:1485)
[error] at org.gjt.sp.jedit.jEdit.newFile(jEdit.java:1440)
[error] at org.gjt.sp.jedit.jEdit$2.run(jEdit.java:3072)
[error] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
[error] at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
[error] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
[error] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
[error] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
[error] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
[error] at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
[error] Exception while sending message on EditBus:
Something similar to old emacs iso-accents-mode would be great!
Dear all,
I recently switched from emacs to jedit with no regret. However, being French and using a qwerty keyboard (for programming), I really miss one emacs feature: iso-accents-mode. This feature seems straightforward and would help thousands of people struggling to find characters such as ß (German), ø (Dane) and ç (French) on their keyboards...
For people frequently typing in an "accented letters language" this emacs thing is much more convenient than the traditional "insert special character" GUI, such as the CharacterMap plugin.
However, if this feature already exist somewhere in a plugin, I will try again to find it on plugin central...
Thanks in advance for your help,
David.
code folding
Submitted by Anonymous on Saturday, 24 April, 2004 - 17:12
Code folding is great, please implement it.
egz. www.jcreator.com --> try this feature...
Monospaced font: spacing problems
Submitted by
WGW on
Saturday, 24 April, 2004 - 17:14
I have been hunting the documentation to find out if I can change the display font to a monspaced font. I sometimes have fixed format text like this, which mixes spaces and alphanumeric characters:
554544 54445544455545545
55454555555555 55545555
54 45444444434343430444
The problem (which is nicely reproduced by this forum software) is that spaces are not the same size as characters, so the lines are not the same length, though in monospace they would be, as they are in the QuickNotepad (or in this forum editor box for example). If I put zeros in place of the spaces I get something evenly spaced:
5545440054445544455545545
5545455555555500055545555
5400045444444434343430444
Is there any way to change the display font? I toyed with the Whitespace plugin, but was unable to resolve the problem. I have the impression it is a question of changing the font. I thought that was possible, but now I can't seem to find the documentation on it.
Thanks for any suggestions.