ErrorList
Submitted by Anonymous on Friday, 16 April, 2004 - 13:53
Hi All!
I'm currently developing a plugin and i've reached a point where I've to display error messages.
I've done a bit of reasearch and I guess that the ErrorList plugin does the job.
Unfortunately I did not find any documentation on how to use this plugin.
Does anybody know the meanings of the parameters of the constructor:
errorlist.DefaultErrorSource.DefaultError(ErrorSource arg0, int arg1, String arg2, int arg3, int arg4, int arg5, String arg6)?
PS: I'm currently developing my plugin under jEdit 4.1 and plan to migrate to 4.2 later on, so I'm using version 1.2.3 of ErrorList.
Regards,
Xserty
Are you interested in language packs for jEdit?
Submitted by
Brad Mace on
Friday, 16 April, 2004 - 16:15
Yes, and I could help maintain translations
26% (280 votes)
Yes, I'd like to have translations
32% (355 votes)
Indifferent
35% (383 votes)
No, that'd be bad (please comment)
7% (75 votes)
Total votes: 1093
Is this kind of plug-in feasible?
Submitted by Anonymous on Friday, 16 April, 2004 - 19:28
I am thinking (dreaming?) of a plug-in that is somewhat like an outliner. Initially it might look a bit like this:
- keeps its own tree-like representation in memory
- tree-like view on left
- fast keyboard navigation (up, down, etc.) of tree
- fast keyboard manipulation of tree (move sub-trees around)
- based on which tree node is in focus
- corresponding set of nodes displayed on right side
e.g. like sticky notes
- xml format for nodes and their contents
- styled text for nodes and their contents (via some 'styling')
- some node sub-content will be code, using code-formatting
- some subtrees/nodes can be viewed as visual graphs
- option to invoke graphviz to generate graphs
- graphs presented on right hand pane
I don't know much about the plug-in architecture. Is this doable? Already done? What other things should I be looking at?
Thanks!
Folding with XML mode / plugin : can folded nodes show better single-line information?
Submitted by Anonymous on Saturday, 17 April, 2004 - 05:04
If I have:
<product>
Cereal
....etc.
</product>
and I fold it, I get:
<product> [26 lines]
</product>
It is possible to get something like:
<product>Cereal...[26 lines]
1. Don't show the end tag, it adds no information: more space efficient
2. Do show the 1st line of element/attribute content: "outline" readable when folded
Thanks!
debugger integration?
Submitted by Anonymous on Saturday, 17 April, 2004 - 07:43
What kind of integration is available / possible between Jedit and debuggers? I am looking for things like break-points, stepping, inspecting, etc.
Any plug-ins to make this easy?
Languages: Ruby, Java, Python.
JavaCC mode syntax (javacc.xml v0.2 by Alexander Klimetschek)
Submitted by
klizza on
Saturday, 17 April, 2004 - 18:06
An updated version based on the javacc.xml v0.1 by Tom Wilczak. It highlightes used TOKENs better (based on a regexp), so that stuff like <MY_TOKEN> gets highlighted, but TOKEN definitions, which often include string literals, are displayed as normal. Also makes )?, )* and )+ as KEYWORD3.
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