jEdit Community - Resources for users of the jEdit Text Editor
Archives
Console Plugin on Windows
Submitted by Szaman2 on Thursday, 12 August, 2004 - 01:26
Does anyone else have problems with the way javac command works under windoze? When I choose the javac option from the menu the default value for the classpath variable is:

$CLASSPATH;C:\your\current\working\directory

Now this is wrong and gives me an illegal argument exception from javac. However if you switch $CLASSPATH to a proper windows system variable notation %CLASSPATH% all is well.

This is a really anoying me, and I could not get rid of despide installing new version of jedit, and the new version of console plugin. Unfortunately I don't know anyone else who has the same issue.

Could it be caused by my Cygwin install which probably hass an env variable $CLASSPATH defined?
Indenting comment lines in Perl
Submitted by Peacock on Thursday, 12 August, 2004 - 07:59
When using =pod ... =cut to comment out Perl code, and subsequently using Ctrl-I to automatically indent the Perl code, the =pod and =cut tags are placed in the same column as the start column of the next line of code. They should be placed at the first column of the line though to be interpreted correctly by the Perl interpreter.
Font substitution support
Submitted by CyberSkull on Thursday, 12 August, 2004 - 08:42
I've noticed that in MacOS X cocoa programs in text fields/areas that when a given unicode character is not available in the current font it substitutes it from another font. For instance, I am working on a simple card game for a class project and the editor font I use (Courier) does not have the characters I wish to use, being the 4 suits: ♣, ♦, ♥ & ♠. In a program like TextEdit or the Terminal, it would simply grab the characters from another font file, for example "Apple Symbols," a general substitution font (it's nothing but unicode symbols).

I was wondering if this auto-substitution could be incorporated into future versions of jEdit.

I use Courier as my editor font, so the following symbols are appear as empty blocks to me: ₢ ₤ ₥ ₦ ₧ ₨ ₩ ₪ ₫ ₭ ₮ ₯ ℀ ℁ ℂ ℃ ℄ ℅ ℆ ℇ ℈ ℉ ℊ ℋ ℌ ℍ ℎ ℏ ∀ ∃ ∅ ∇ ∉ ∰ ⊆ ⊕ ⋀ ⊾ ⑀ ⑁ ⑂ ⑃ ⑄ ⑅ ⑆ ⑇ ⑈ ⑉ ⑊ ╒ ═ ═ ╗ ☀ ☁ ☂ ☃ ☄ ☆ ☎ ☠ ☣ ☤ ☭ ☮ ☹ ☺ ☥ ☦ ☧ ☨ ☩ ☪ ☫ ☬ ☯ ☸ ☿ ♀ ♁ ♂ ♃ ♄ ♅ ♆ ♇ ♈ ♉ ♊ ♋ ♌ ♍ ♎ ♏ ♐ ♑ ♒ ♓ ♔ ♛ ♖ ♝ ♘ ♟ ♚ ♜ ♞ ♠ ♡ ♢ ♣ ⚀ ⚁ ⚂ ⚃ ⚄ ⚅ ⚆ ⚇ ⚈ ⚉ ♩ ♪ ♫ ♬ ♭ ♮ ♯ ♲ ♳ ♴ ♵ ♶ ♷ ♸ ♹ (This is maybe less than ¼ of the symbols font I mentioned earlier).

I do use a handful of these symbols on a regular basis in some of the documents I work on, believe it or not.
Launching Jedit from JDistro
Submitted by turiot on Thursday, 12 August, 2004 - 08:55
What it the procedure to launch Jedit within JDistro.
I intent using JDistro in order to save memory.
crypto?
Submitted by Anonymous on Thursday, 12 August, 2004 - 13:05
Wondering if I would release a crypto plugin for jEdit, what are the issues concerning the restriction inside the Us?Could such a plugin also be distributed everywhere?Is it possible to integrate in the plugin C or assembler code to speed up some routines or it must be pure java?
Salme
cursor beyond EOL
Submitted by Anonymous on Thursday, 12 August, 2004 - 16:56
Is it posible to let the cursor go beyond EOL just by pressing the arrows?
PHP and heredoc
Submitted by mxc on Thursday, 12 August, 2004 - 20:47
Is there a way to get jEdit to syntax highlight a heredoc string based on the delimiter?

For example, if I have a heredoc comment such as this

$table = <<<HTML
<table>
....
</table>
HTML;

can I get jEdit to see the HTML delimiters and then treat the content in between as HTML and perform syntax highlighting accordingly?
Assembly GNU x86 Edit Mode (assembly-gas-x86.xml v0.1 by Igor Lesik)
Submitted by curoles on Friday, 13 August, 2004 - 00:12

Updated on 08/13/2004 - 00:12
Downloads: 2152

Column Insertion/Overwrire
Submitted by dbareis on Friday, 13 August, 2004 - 02:12
Hi,

I don't know if the plugin options "Column Insert" or "Block Fill Insert" are meant to do column insertion but if so they don't work, if not then this is a pretty basic feature that I'd expect the editor to have.

I'd expect to be able to cut/copy column data and be able to insert OR OVERWRITE elsewhere including past the ends of any existing lines (which appears to be another JEDIT limitation?).

Thanks
Dennis
Wildcard Use in the File System Browser (open dialog)
Submitted by dbareis on Friday, 13 August, 2004 - 02:16
Hi,

I'd expect the files matching the wildcard to be loaded... What happens is a session with an invalid name is opened.

Wildcards can be used from the command line but this also opens up a new JEDIT window (although that could be something I'm doing wrong).

Thanks,
Dennis
Can't go past end of lines
Submitted by dbareis on Friday, 13 August, 2004 - 02:20
Hi,

I've been using JEDIT fulltime for a while now and one of its most annoying features is that it won't let you go past the end of the line.

Other editors allow you to do this and backfill with witespace if something is typed. I should be able to down-arrow from a long line to a shorter one and not have the current position moved to the end of this line.

Am I missing an option, I've looked...

Thanks,
Dennis
Structure browser: link tags in html files
Submitted by kimjim on Friday, 13 August, 2004 - 13:47
I use jEdit 4.2pre15 on Mac OS X 10.3.5, java version 1.4.2. The structure browser can't parse html files correctly if there are these kind of <link> tags in the head:
<link rel="stylesheet" href="stil.css" type="text/css">
The structure browser doesn't seem do recognize the end of this tag, and shows everything that follows as a cascade within this link tag. It also doesen't recognize end tags of some following tags (ignoring tags, for example). It looks like this:
doctype
    html
        head
            title
            link
                body
                    table
                        div
                            div
insteat of this:
doctype
    html
        head
	    title
	    link
        body
            table
            div
            div
But if I change the link tag like this:
<link rel="stylesheet" href="stil.css" type="text/css" />
(including " />" then everything is okay. But this is not correct syntax for my HTML 4.01 Transitional documents. The w3c validator criticises it, and jtidy removes the " /".

Is there anything I can do to change the parse behavior of structure browser on this link tags?

jEdit 4.2pre14 refuses to start on Redhat 9
Submitted by leungkc on Friday, 13 August, 2004 - 14:31
I have just installed jEdit 4.2pre14 via apt-get. Installation went smoothly with no errors.

However, when I attempt to start jEdit through the GNOME menu, nothing happens. When I use the command line to start it, the following message appears and jEdit aborts loading:

[root@Jerusalem bin]# jedit
/usr/bin/jedit: error: failed to set JAVACMD
/usr/bin/jedit: line 135: -Dbsh.jedit=true: command not found
[root@Jerusalem bin]#

I have checked my jedit script and there's no JAVACMD variable. However, I do not know how to set it. Or is there another reason for this problem?

Thanks in advance for replying.
Tag completion
Submitted by jnix on Friday, 13 August, 2004 - 18:24
Specifically, I'm looking to get jedit to behave like ColdFusion Studio, but I think the general theory applies to anything. How do I enhance the list of tags that pops up when I start typing "<"? currently I just get html tags, but I want the CFML tags to appear as well. Thanks.
Converting Smart Quotes from Word HTML to HTML entities in macros
Submitted by Anonymous on Friday, 13 August, 2004 - 19:02
I'm very pleased with jEdit (4.1)... I've been using macros to clean up the "filtered" html that MSWord 2003 generates for a project I'm working on. One problem that I noticed, I can search and replace the weird "smart quotes" and elipses (sp?) that Word uses with HTML entities using the Search and replace dialogue box, but whenever I try to record it as a macro, it stops working. A typical macro, once recorded, looks like this:

SearchAndReplace.setSearchString("“");
SearchAndReplace.setReplaceString("&ldquo;");
SearchAndReplace.setBeanShellReplace(false);
SearchAndReplace.setIgnoreCase(false);
SearchAndReplace.setRegexp(true);
SearchAndReplace.setSearchFileSet(new CurrentBufferSet());
SearchAndReplace.replaceAll(view);

Any ideas as to what I can do to get it to work as a macro?
Project Viewer problems on 4.2pre15
Submitted by Anonymous on Friday, 13 August, 2004 - 21:42
Hi, I'm new to jedit, but thanks to the abundant documentation have successfully installed many plugins. However, "Project Viewer 2.0.4" does not seem to work for me on jedit 4.2pre15 and Redhat 9.0. The symptoms are that I can create projects (files are created in ~/.jedit/projectviewer), but don't seem to able to do anything with the projects. I don't see the Add/Edit icon on the toolbar that the documentation describes, nor do I see any method to load files into projects from jedit, nor is there a window showing the project structure. Has anyone gotten PV to work on the following system?

Here is the relevant activity log info:
[message] Log: java.version=1.4.2_03
[message] Log: java.vm.version=1.4.2_03-b02
[message] Log: java.runtime.version=1.4.2_03-b02
[message] Log: java.vendor=Sun Microsystems Inc.
[message] Log: java.compiler=null
[message] Log: os.name=Linux
[message] Log: os.version=2.4.20-8
[message] Log: os.arch=i386
[message] Log: user.home=/home/jhaefner
[message] Log: java.home=/usr/java/j2re1.4.2_03
[message] Log: java.class.path=/usr/local/share/jedit/4.2pre15/jedit.jar
[notice] jEdit: jEdit version 4.2pre15
[message] jEdit: Settings directory is /home/jhaefner/.jedit
[message] jEdit: jEdit home directory is /usr/local/share/jedit/4.2pre15

If you have gotten this work, can you describe what you did/do to make PV work after it is loaded? Thanks in advance

Jim
Bracket matching should also apply to angle bracket characters
Submitted by dbareis on Saturday, 14 August, 2004 - 07:39
Bracket matching matches for "()", "{}" and "[]", it should do the same for "<>" or please make it configurable. Bye, Dennis
Javadoc Comment Stubs (Javadoc-1.0.zip v1.0 by Craig Slusher)
Submitted by sleek on Monday, 16 August, 2004 - 04:04
This is a set of macros which you can use to generate Javadoc-style comments very easily. Just bind the 3 macros to some convenient keys, and you're all set!
improved plugin-download error reporting
Submitted by andystreich on Monday, 16 August, 2004 - 06:33
The title of this is too brief. Here's what I mean:

Several times over the last few weeks as I've been adding/updating plugins I've gotten a connection time-out error. Each time I've waited an hour or so and tried again with success. Changing the error message for the time out error to suggest waiting and trying again seems like a good thing for new users.

I wonder if I'm not getting those errors when maintenance is being done on the website. If so, a REALLY informative message might suggest this as a possibility. It would give jEdit more of the feel of a polished product (which it is, I've become a true believer).

Most recent occurance of this has been in the last half hour with jEdit 4.2 pre15 on Win2K.
Problem trying to Exit JEdit
Submitted by yogesh_4u on Tuesday, 17 August, 2004 - 14:01
I have getting an un expected error trying to exit jedit. Below is the Stack Trace for the error.

java.lang.NegativeArraySizeException

	at org.gjt.sp.jedit.jEdit.getBuffers(jEdit.java:1947)

	at org.gjt.sp.jedit.PerspectiveManager.savePerspective(PerspectiveManager.java:147)

	at org.gjt.sp.jedit.jEdit.exit(jEdit.java:2470)

	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

	at java.lang.reflect.Method.invoke(Method.java:324)

	at bsh.Reflect.invokeOnMethod(Reflect.java:149)

	at bsh.Reflect.invokeStaticMethod(Reflect.java:100)

	at bsh.Name.invokeMethod(Name.java:872)

	at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72)

	at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)

	at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)

	at bsh.BSHBlock.evalBlock(BSHBlock.java:130)

	at bsh.BSHBlock.eval(BSHBlock.java:80)

	at bsh.BshMethod.invokeImpl(BshMethod.java:349)

	at bsh.BshMethod.invoke(BshMethod.java:246)

	at bsh.BshMethod.invoke(BshMethod.java:171)

	at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:523)

	at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)

	at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229)

	at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:2907)

	at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:216)

	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)

	at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)

	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)

	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

	at javax.swing.AbstractButton.doClick(AbstractButton.java:289)

	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)

	at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)

	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)

	at java.awt.Component.processMouseEvent(Component.java:5100)

	at java.awt.Component.processEvent(Component.java:4897)

	at java.awt.Container.processEvent(Container.java:1569)

	at java.awt.Component.dispatchEventImpl(Component.java:3615)

	at java.awt.Container.dispatchEventImpl(Container.java:1627)

	at java.awt.Component.dispatchEvent(Component.java:3477)

	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

	at java.awt.Container.dispatchEventImpl(Container.java:1613)

	at java.awt.Window.dispatchEventImpl(Window.java:1606)

	at java.awt.Component.dispatchEvent(Component.java:3477)

	at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)

	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

User login
Browse archives
« August 2004 »
MoTuWeThFrSaSu
 
15
16
21
26
 
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   108250
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