jEdit Community - Resources for users of the jEdit Text Editor
Archives
can't run
Submitted by akurashy on Friday, 18 November, 2005 - 06:19
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
Segmentation fault
Jedit Single Instance
Submitted by rem on Sunday, 20 November, 2005 - 23:24
Hi everybody,

Just got to use Jedit and already think it's a great tool... However, I was wondering, is there a way to keep only one instance of Jedit open? If I choose to open a file assigned to Jedit from other location than File / Open I would like to have it within the same instance on another tab.

Thanks a million.
Continual Memory Growth under OS X
Submitted by jpavel on Monday, 21 November, 2005 - 06:17
Hello,

I'm running jEdit 4.2 under Mac OS X 10.3.9 with Java v1.4.2_09. I've passed an "-Xmx32m" switch to the JVM when I run jEdit, but nonetheless, its memory usage, as reported by the Activity Monitor, continues to grow as I use it over a number of hours, from ~50MB to about ~150MB and still slowly moves upwards. Given that I've capped the JVM heap, where is this consumption coming from? Does anyone else experience this, or know how to deal with it?

Thanks!
Autocompletion?
Submitted by sillydragon on Monday, 21 November, 2005 - 17:20
I've noticed when I edit XML or HTML files, if I enter part of a tag a scrollbox will pop up offering me possibilities for completing the tag... Where does it get the information for that? I'm making an edit mode for another language and I'd like to add autocompletion of function names, but can't seem to figure out where to configure that. I thought it was Accelerators, but my template folder is empty. Thanks in advance for any help. Smiling
coping marked word to search-next
Submitted by liran vigdor on Tuesday, 22 November, 2005 - 09:58
how do I mark a word and then just automatically fills it into the Find-next option ?
( used crimson editor before, and u just mark a word,and click search-next - it automatically search for the next marked word)
error when using the project viewer plugin
Submitted by SBrightman on Wednesday, 23 November, 2005 - 10:10
I am using jedit on Windows XP System.

i do the follow:
Plugins -> Project Viewer -> Create Project

if i do this i get the error shown below.

java.lang.NoClassDefFoundError: org/gjt/sp/jedit/PluginJAR
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2170)
at java.lang.Class.getDeclaredMethod(Class.java:1712)
at bsh.Reflect.findAccessibleMethod(Unknown Source)
at bsh.Reflect.invokeMethod(Unknown Source)
at bsh.Reflect.invokeStaticMethod(Unknown Source)
at bsh.Name.invokeMethod(Unknown Source)
at bsh.BSHMethodInvocation.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.BSHBlock.eval(Unknown Source)
at bsh.BshMethod.invokeDeclaredMethod(Unknown Source)
at bsh.BshMethod.invoke(Unknown Source)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(Unknown Source)
at org.gjt.sp.jedit.BeanShellAction.invoke(Unknown Source)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(Unknown Source)
at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2167)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5465)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3089)
at java.awt.Component.processEvent(Component.java:5230)
at java.awt.Container.processEvent(Container.java:1961)
at java.awt.Component.dispatchEventImpl(Component.java:3933)
at java.awt.Container.dispatchEventImpl(Container.java:2019)
at java.awt.Component.dispatchEvent(Component.java:3781)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4205)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3885)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3815)
at java.awt.Container.dispatchEventImpl(Container.java:2005)
at java.awt.Window.dispatchEventImpl(Window.java:1764)
at java.awt.Component.dispatchEvent(Component.java:3781)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

thanks
steve
Placing selection in clipboard after replacing certain characters
Submitted by ghoetker on Thursday, 24 November, 2005 - 15:29
Hi all. I'm trying to write my first macro and am stuck at multiple points. The task at hand is this. I have text in jEdit of the following format

file write `output' _tab ///
`mformat' (`r(sd)') _tab `mformat' ///
(`r(max)') _tab

I would like to be able to select this text, have the "///" and new_line characters stripped, and the remaining text put in the clipboard, so I can paste it into another application. Thus, the line I would be pasting would be

file write `output' _tab `mformat' (`r(sd)') _tab `mformat' (`r(max)') _tab

I have the sense that the code to do this would be pretty simple, but I'm stuck since it's my first attempt. Could anyone provide me some help?

Thank you in advance.
XML Plugin download corrupted
Submitted by mickmon on Saturday, 26 November, 2005 - 03:17
FYI -
NOt a jEdit bug as such, but I'm not sure where else to log it...

I tried downloading multiple times the XML plugin from the "Plugin Central Default" mirror.
Each time I got an I/O zip-file problem.

There was no such problem when I changed mirror to the Dublin/Ireland one.
JCompiler slowing key response
Submitted by cburbeck on Tuesday, 29 November, 2005 - 14:32
I'm running JEdit 4.2 on a mac mini with Tiger( OSX 10.4.2), using the JCompiler, Console, and ErrorList plugins. After I run an app from the Console, subsequent key response in JEdit slows to the point where its unuseable. The quirky thing is that going to PlugIn Options>JCompiler>GeneralOptions and clicking OK, without making any changes, brings response time back to normal. I'm using the default error parsing options:
Regexp for errors (.+):(\d+)Sad.+) (The unhappy faces were originally colons followed by left parens)
FileName at $1
Line number at $2
Message at $3
Regexp for warnings: (.+(note|warning|caution):.+)|(.+deprecated.+)
Is there something in my setup that could account for this?
Lahey-Fujitsu Fortran 95 Commando File (lf95.xml v1.5 by Christos Tsironis)
Submitted by ctsir on Tuesday, 29 November, 2005 - 15:58
Compiles the current buffer using the Lahey-Fujitsu Fortran compiler. Works under Linux (not tested yet in Windows). Contains the most frequently used options for the compiler (for the rest of the options see lf95 --help).
Using Console Plugin Question
Submitted by cpsmusic on Tuesday, 29 November, 2005 - 17:28
Hi,

I'm new to jEdit.

I'd like to use it for cross-platform C development.

I'm particularly interested in how to compile, link and execute code from jEdit. I've installed the Console plugin and managed to get it to compile some C code (I'm currently working on Windows).

The plugin has a command to "Compile Current Buffer/Run Current Buffer" however when I try to execute these commands I get the following error message:

"There is no compiler associated with this buffer. You can specify compilers on a mode-specific basis in the Utilities->Global Options dialog box"

I've had a look in this dialog box however I can't see where to set this--can someone please explain how to do this.

Cheers,

Chris
Is the Tilde issue fixed?
Submitted by rdrs on Wednesday, 30 November, 2005 - 10:30
Hello all,

I've been experiencing this "tilde issue" with jedit 43pre2, as well as with some other Java applications, though not all. I'm using a us_intl keyboard layout on linux, and my windows installation doesn't suffer from this.

I can do graves, acutes, umlauts and cedillas, alone or with a letter, but no tilde. The search and open dialogs 'can't tilde' either.

The same thing used to happen with Komodo 3.1, though it has been fixed in 3.5. Eclipse doesn't suffer from the problem. jGnash displays the exact same problem.

I've checked earlier posts, suggesting some workarounds, but after a message earlier this year, there's no more communication on the matter.

Now, apparently there was some relation between this problem and the JVM, or rather not? It's not fair blaming jEdit if the problem lies elsewhere..

Does anybody know of a solution?

Regards,

Renato
Commando Question
Submitted by cpsmusic on Thursday, 1 December, 2005 - 11:07
Hi, I'd like to write a commando file for calling a C compiler. I've had a look at some of the available commando files. I understand the XML parts however I'm not clear about the COMMAND section, for example: buf = new StringBuffer("cd "); buf.append(MiscUtilities.getParentOfPath(buffer.getPath())); buf.toString(); buf = new StringBuffer(gcc); if(wall) buf.append(" -Wall"); if(!link) buf.append(" -c"); if(!addopts.equals("")) { buf.append(" "); buf.append(addopts); } buf.append(" "); buf.append(source); buf.toString(); Is this BeanShell? Cheers, Chris
G77 Commando File (g77.xml v1.0 by Christos Tsironis)
Submitted by ctsir on Friday, 2 December, 2005 - 08:08
Compiles the current buffer using the G77 Fortran compiler. Works under both Linux and Windows. This compiler has a large variety of options; only a part of the most common options are included in this version (for the rest of the options see g77 -v --help).
Emacs Shortcuts and Mac Menus?
Submitted by Jason Cone on Sunday, 4 December, 2005 - 03:30
I'm trying jEdit out -- I typically use emacs as my text editor.

I can't find any emacs key bindings, and when I try to manually change the shortcuts in the global options, the dialog will not accept a keystroke containing ctrl or opt (alt); it will only accept the cmd key as a meta key. Is there any way to get ctrl-based shortcuts on Mac OS X? Is there an easy way to configure jEdit for emacs key bindings (e.g. Ctrl-E to move to the end of the line, etc)?

Also, I tried using the included Mac OS X Setting plugin to use a Mac-style menubar at the top of the screen, but it is still in the jEdit window. I've checked/unchecked the checkbox and restarted jEdit multiple times, but I still have a menubar in the application window. Am I missing something?
Console ProjectViewer working directory at startup
Submitted by skytomorrownow on Monday, 5 December, 2005 - 00:23
I've done a search through the forms and Google, and couldn't find the answer to this question: Is there a way to get console to cd (change directory) to the current default project directory for ProjectViewer. It's the last little touch I need to have my happy little Java IDE.

Any help would be appreciated.

JEdit + Console + ProjectViewer + Ant Farm = Smiling
SQL Plugin: Specify password at connect time?
Submitted by Cornell on Monday, 5 December, 2005 - 20:41
I've installed jEdit 4.2final on a WinXP. I've used the Plugin manager to install ProjectViewer and SQL (among others).

I note that in a project's properties, I can define servers including Password and Username. (I'm using a DB2 database, ODBC appears to be the only available SQL server type).

I can't seem to find a mechanism to enter the password only when connection is attempted. I don't wish to leave my password, or username for that matter, in the definition of the server. I'd like a situation such that when I try to make a connection, I am asked for the password, or username/password.

Can I do this? And, if so, how?

TIA
Plugins menu - flat view - alphabetical submenus
Submitted by mixmax0707 on Tuesday, 6 December, 2005 - 19:26
I would like to have a flat plugins menu without A-M and N-Z submenus. Is it possible?

If not, then is it possible to have a few plugins of my choice in the main plugins menu und the rest in letter submenus of the plugins menu?

Wish you a nice day
Thomas
Problem with Console Plugin and stdin
Submitted by LordKelvan on Wednesday, 7 December, 2005 - 05:26
Hi, I have the latest version of the Console plugin (4.1.2). After reading some posts in this forum, it seems that versions of the plugin after 4.1 should support stdin (i.e. it allows for user keyboard input when running c programs). However, when I try to run a simple C program which asks the user a few questions in the System Shell of the Console plugin, it doesn't work properly. What happens is the cursor moves to the next line, and just stays there. I have to type something and hit enter before anything happens. Then the message "Press any key to continue" appears. After I press enter, the message "Press any key to continue" appears again, along with all the printf's contained in my program, with the scanf's bypassed (even though I never typed in anything). My program is very simple, and runs properly in the regular Windows shell. Does anyone have any idea what I am doing wrong with regards to the Console plugin. Do I have to set it up in some special way to allow for keyboard input?
Launching the native Windows Command Prompt
Submitted by LordKelvan on Wednesday, 7 December, 2005 - 05:30
Hi all,

I was wondering if there was any way to actually launch the Windows command prompt, and pass it parameters? I tried something like running cmd.exe from the System Shell of the Console plugin, but all that did was run the command prompt INSIDE the System Shell, not actually launch it (like some other editors, such as Crimson Editor, are capable of doing). Does anyone know how to do this properly (or just in general launch external applications from inside jEdit)?
User login
Browse archives
« November 2005 »
MoTuWeThFrSaSu
 
1
4
5
6
8
11
12
14
19
25
27
28
 
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