Including plug-ins in install
Submitted by
adxp on
Monday, 28 August, 2006 - 03:29
Hey,
I've customised a few pre-existing jEdit plug-ins, and I'd like to distribute them within my organisation by having the installer copy them to the plug-in directory automatically. Is there any easy way of accomplishing this? Also, in a similar vein, is there any good way of defining default perspective.xml settings?
Cheers, -adxp
Excluding directories from search
Submitted by
Mischan on
Thursday, 3 August, 2006 - 23:25
I often use jedits hypersearch through big directory structures (eg. to find references to old datastructures or import-like language constructs, after fundamental rewrites, etc.). While I'm very fond of hypersearchs speed, there are directories i want to exclude from search, because they contain lots of irrelevant data (eg. caching directories) and therefore delay the search to no avail.
Now my favourite solution to the problem would be, to write a simple config file (like every newline a separate dir) "ExcludeDirs.cfg" or something, where search could look up directories that must not be visited recursively. After some browsing through the jEdits code I found the class VFS. There I would, for a quick personal hack, introduce an ArrayList that loads the "ExcludeDirs.cfg" and a boolean member that tells the class if the exclusion mechanism is necessary for its current use (because, VFS isn't used by search only). Inside the function listFiles I could add something like
if(!ExcludeDirs.contains(canonPath))
// recursive call to subdir
and hope that it works.
Now, before i start, i would like to hear some comments. I'm a complete jEdit starter so I don't know what the idiomatic way to solve this within jedits framework would be or if it could be solved with a simple extension mechnasim like a macro or plugin (or it is already there and i couldn't locate it). From my personal feeling VFS seems a bit too low-level for the task, on the other hand it's the only approach i can think of, that manipulates jEdits code directly without changing one interface. Furthermore i could think of other tasks where configurated exclusion of directories at this abstraction level could be relevant.
Thanks in advance
Mischan Gholizadeh Toosarani
MAC REQUEST: apple.laf.useScreenMenuBar
Submitted by
stovak on
Saturday, 1 July, 2006 - 18:22
in the "java" section of the info.plist in the mac download, I'd like to request one small change: Using the mac's top white menu as the default menu bar... you do this by added the following entry to the key entry in the info.plist:
[code]
Java
Properties
.......
apple.laf.useScreenMenuBar
true
[/code]
This will put jEdit's menu bar at the top of the screen in the white menubar.
Large files
Submitted by
maciejr on
Tuesday, 27 June, 2006 - 12:20
Hi,
I sometimes need to work with large data files: containing numeric and other data. By "large" I mean larger than the available memory, say a few GB. Note that there are many editors around that compete in solving the problem of editing files in memory. Surprisingly, I could not find even a simple tool that solves a different problem: does what can be done in reasonable time with a large text file on disk.
I would like to find or make a tool to edit a file with no limit on file size, like a disk-based editor. Specifically such a tool could:
(1) quickly view parts of a file
(2) edit a small part of the file in memory (taking appropriately long to commit changes)
(3) search and replace some text through the file (making one full pass through the file)
I've searched these fora and, judging from a discussion in 2004, jEdit does not seem to support editing large files.
Are there any plans for a "large files" editing mode with limited functionality?
Could anyone point me to a (free or low cost) tool that already does that?
I am totally new to jEdit, but have some programming background. Do you think it is doable to adapt jEdit to perform such a task?
Thanks in advance for help,
Maciej.
solution for proper highlighting of script/style tags
Submitted by
silverquick on
Wednesday, 17 May, 2006 - 01:37
Hey all, I was always bothered by how SCRIPT and STYLE tags in HTML or PHP mode look kind of ugly because of how those modes have to delegate their contents to the right ruleset. This may have been discovered already but I've found a pretty simple solution. I'm not sure if I should release it to the files section though, as my mode files are pretty customized in other ways too (customized OCD style
).
Basically, my new rules highlight any occurences of '<script' or '<style' as 'MARKUP', along with their matching closing tags, and delegate everything between them to a 'mediating' ruleset, which imports the rules from the TAGS ruleset (so any attributes of the style or script tag are highlighted properly), but adds a rule to delegate anything after '>' to either CSS mode or Javascript mode. Doesn't sound as simple as I thought.
Anyway, I can't get HTML to show up on this forum, so if you want to see what the rules look like in html.xml, look at this file:
http://www.flowingcreativity.net/jedit-better-rules.txt
Manipulating jEdit from external process.
I was wondering if anyone knows if it's possible to access a running version of jEdit (and it's plugins) from an external application?
I have very,very little understanding of Java, but instincts tell me that maybe this could be achieved via a JVM instance in control of an application.
Could someone confirm whether this is possible?
The reason I would like to perform such a task is to invoke calls to the ErrorList pligin, via it's addError() call, as is outline here....
http://community.jedit.org/cgi-bin/TWiki/view/Plugins/PluginDebuggingTechniques
I would like to write a WIN32 application that performs such a tesk, and this would ideally be written in either VB or C.
Has anyone got any ideas how I would get started on this?
Many Thanks
Problem with a new mode
Submitted by
witchi on
Monday, 23 January, 2006 - 16:39
Hi,
I try to create a new mode and I have problems with to lines, which I have to distinguish. Maybe someone here has an idea...
FETCH :$$.$$.DEATH.DEATH(autopsy)
and
(test.tmpItem(::$$.$$.DEATH.DEATH.$$.AUTOPSY))
In the first line, DEATH(autopsy) is not a function, but test.tmpItem( in the second line. With the line
<MARK_PREVIOUS TYPE="FUNCTION" EXCLUDE_MATCH="TRUE">(</MARK_PREVIOUS>
I get the type FUNCTION for both strings. How can I avoid that?
Thank you
Andre
Any kind of diagrams?
Submitted by
clievers on
Thursday, 19 January, 2006 - 20:20
Does anyone know if there are any kind of diagrams that will allow you to see class relationships, etc without having to look at all of the code?
Thanks.
any future releases of jEdit planned or in progress?
Submitted by
paulflory on
Tuesday, 27 December, 2005 - 03:49
Hi all,
I've been an avid jEdit user for a number of years now and always look forward to new versions and plugins. However, I haven't seen any new jEdit versions for some time now, and wondering if development is still ongoing?
Thanks,
Paul
Is jEdit development still active?
Submitted by
sefer on
Wednesday, 26 October, 2005 - 07:50
Hi,
I've been using jEdit for a very long time now, and it's a great editor, much better than the lot of them out there.
However, in the past recent months I have somewhat missed the regular releases and updates that once appeared on a monthly basis. It appears that jEdit 4.3pre2 has been there for too long and I'm beginning to worry that development and updates for this excellent editor have ceased.
Please calm my worries and update the site with new releases
Thanks,
Sefer.
jEdit developement future
Submitted by
bwalle on
Saturday, 22 October, 2005 - 11:33
Hello,
the last beta release is from March 2005, so I just want to ask if there are plans to create new beta releases of jEdit or what's the future of this great tool. Thanks.
Regards,
Bernhard
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
Terminating a rule set at a newline
Submitted by
silverquick on
Monday, 5 September, 2005 - 05:59
After using (and loving) jEdit for a little while, I realised that, in PHP mode, code like the following is highlighted incorrectly:
...
// this is a comment ?>
The problem is that PHP always ends parsing at the closing tag ('?>'), even if the line it's on is commented with // or #. However jEdit's highlighting does not reflect this. This issue is covered in a bug report at:
http://sourceforge.net/tracker/?group_id=588&atid=100588&func=detail&aid=958013
However, I thought I'd bring the discussion here, too. I tried putting the following in the php.xml file:
<SEQ DELEGATE="PHP_LINECOMMENT">//</SEQ>
<SEQ DELEGATE="PHP_LINECOMMENT">#</SEQ>
<RULES SET="PHP_LINECOMMENT" DEFAULT="COMMENT1">
<SEQ TYPE="NULL" DELEGATE="MAIN">?></SEQ>
<SEQ TYPE="NULL" DELEGATE="PHP">
</SEQ>
</RULES>
What this does is delegate any code following // or # to my special PHP_LINECOMMENT rule set. This rule set should then end at either a PHP closing tag, going back to HTML mode; or at an end-of-line, going back to normal PHP mode. The former works and the latter doesn't.
This is the main point I wanted to raise for discussion. Why doesn't the newline character (
 or 
) work, and is there a possible workaround? Using the newline character is also applicable to other highlighting issues, including (X/HT)ML attributes, because they can be spread over multiple lines.
Embedding jEdit in my Swing app
Submitted by Anonymous on Tuesday, 19 July, 2005 - 02:41
Is there documented method using jEdit as the text editing component within another Swing application? As a replacement for the JTextPane object, for example?
Extending jedit with lisp
Submitted by Anonymous on Sunday, 17 July, 2005 - 14:22
Have anybody information or experience in extending jedit with lisp or some other functional languages?
May be it's possible to write scheme code and then compile it with Kawa http://www.gnu.org/software/kawa/ into java byte-code and integrade with jedit?
Andrey
Building jEdit from source
Submitted by
clim1219 on
Saturday, 26 February, 2005 - 08:58
I checked out jEdit from CVS and try to build it but it complains of a missing ant target "dist-13".
I guess I miss something here. Could someone kindly point me to the right direction.
Here is the console log:
D:\projects\opensource\jedit>ant -Dant.full.path=C:/Java/apache-ant-1.6.2/bin/ant build
Buildfile: build.xml
prepare:
jEdit:
BUILD FAILED
D:\projects\opensource\jedit\build.xml:31: The following error occurred while executing this line:
Target `dist-13' does not exist in this project.
Total time: 1 second
Thanks,
Chris
Adding JEdit style syntax highlighting to standalone
Submitted by Anonymous on Wednesday, 23 February, 2005 - 21:31
I was trying add syntax highlighting to an existing standalone application. I think that JEdit has the best way of doing this. I don't mind including all the Jedit resources
including, startup scripts, etc, but I would like to just add the highlighting.
Is this in the wiki somewhere.
Here is my email(I may not monitor the forum)
berlin.brown { at } gmail.com
How is the about dialog's scrolling credits done?
Submitted by Anonymous on Sunday, 20 February, 2005 - 03:02
I briefly checked the CVS, but I couldn't reallt find the answer to my questions: How are the rolling credits in the about dialog done? Java2D or some external library?
Thanks!
missing packages
Submitted by Anonymous on Saturday, 19 February, 2005 - 16:37
hi, i downloaded jedit 4.2 and loaded the sources into eclipse 3.0.1. i mentioned, that for a error free compilation there are some packages missing. why are they not included into the scr? can somebody tell me where to download these missing packages. it's something about com.apple and also com.sun.javadoc, as I found out. this is my first try to compile such a project, so i'm a newbie. regards.
RE in modes
Submitted by Anonymous on Monday, 31 January, 2005 - 15:42
Hi,
I want to highlight [a-zA-Z]+Exception ...