jEdit Community - Resources for users of the jEdit Text Editor
Archives
BBCode Syntax Highlighting
Submitted by Pyrofyr on Sunday, 13 May, 2007 - 06:36
Well, I work with BBCode a lot to write up guides for forums and such, and have found that it would be a lot easier if there were a way to highlight syntax for it, I've looked through the User Doc, and the Wiki (Which appears to be broken), and haven't found a way to fix this up myself. So I'm requesting it. :/
jEdit Remembering Folding configurations for files opened
Submitted by thamiral on Sunday, 13 May, 2007 - 17:52
Dear all,

If a file is reopened in jEdit, the cursor is usually in the same position as where it was when the file was opened last.

Is there a way to get folding configurations for each file to also be stored so that when the file is reopened, all the segments of the file that were folded away, remain folded away?

Thanks,

Sincerely,

Taha
Size limitation for uploaded files ?
Submitted by jfm on Monday, 14 May, 2007 - 13:39
I couln't upload a macro bundle (zip-file) to the jEdit Community site. This bundle contains several images, so, it is a little more than 2 MB. I assume that this problem comes from a upload size limitation.

Is it possible to confirm and let me know what is the limit.

Thanks

JFM
ctrl-alt-j how can i disable this from launching jedit?
Submitted by dovholuk on Tuesday, 15 May, 2007 - 13:21
pretty much says it all in the title... i can't find where ctrl-alt-j is mapped so i can get rid of it...

thanks
Superabbrevs Problem: Continually need to redeclare an abbrev
Submitted by aimjiel on Tuesday, 15 May, 2007 - 19:32
Hi All

I did some poking around and searching and couldn't seem to find anyone else with this issue, which leads me to believe I made some kind of an error.

I have installed jEdit with superabbrevs several times, on Linux (slackware/ubuntu), Windows XP, and Windows Vista, and haven't had this problem until a while back. I got Vista, installed it, everything seemed to go okay, until I tried to use superabbrevs, now it keeps popping up the dialog to create an abbrev. Even if it has been defined, it still pops up, and has the abbrev defined, yet no matter what I do, I can't get it to stop popping the dialog box everytime I try to use an abbrev. It's rather frusterating.

Let me elucidate:

Everything freshly installed, stock, nothing else done except installing 4.2final and superabbrevs.

I open a new document, save it as say .php or anything, does the same thing.

I type : for then ctrl+enter : dialog pops up, okay...

I define what I want it to do: for ($i = 0; $i < count(${1:var});$i++) {${2:code}}

Then I add mode specific.

I type for ctrl+enter : dialog pops up, with my definition

Okay, maybe I need to add global, fine, I repeat the above, and add it as a global.

I type for ctrl + enter : dialog pops up

I scream, yell and curse, I try the above in every possible permutation.

No matter what I do, everytime I use ctrl + enter, (I even tried changin that, alt+r, removing the dlg popup shortcut, redefining the dialog popup shortcut etc every permutation.) That damn, hateful, evil dialog pops up, what am I doing wrong? I am at my wits end, it didn't use to behave like this...what did I mess up? I don't think it's a problem with superabbrevs itself, or there would have been others, somehow, I have screwed it up, one way or another...

Anyway, I am at my wits end, so if anyone has some advice, it would be much appreciated...
/Aimji
Column Ruler V 0.9 "locking-up" jEdit
Submitted by ELockhart on Wednesday, 16 May, 2007 - 16:09
Plugin Column Ruler V0.7 runs "OK" with jEdit V4.2 on a Windows 2003 Server (Svc Pack 1) w JRE 1.5.0_11-b03 HOWEVER when I upgrade to Column Ruler V0.9 jEdit will "lock-up" when I try running the CR plugin; I must stop the javaw.exe process (TaskMgr CPU=25 for javaw.exe and Sys IP=75).

Any ideas?

Thanks,
Eric
ProjectViewer crash
Submitted by red63 on Thursday, 17 May, 2007 - 16:02
Hello,

i seem to have a problem with ProjectViewer (it worked fine till yesterday): when clicking on it's tab it crashes with:

java.lang.NullPointerException at projectviewer.ProjectManager.loadConfig(ProjectManager.java:188) at projectviewer.ProjectManager.(ProjectManager.java:131) at projectviewer.ProjectManager.getInstance(ProjectManager.java:101) at projectviewer.config.ProjectViewerConfig.getLastNode(ProjectViewerConfig.java:563) at projectviewer.ProjectViewer.getActiveNode(ProjectViewer.java:775) at projectviewer.gui.GroupMenu.populate(GroupMenu.java:105) at projectviewer.gui.ProjectComboBox.updateMenu(ProjectComboBox.java:104) at projectviewer.gui.ProjectComboBox.(ProjectComboBox.java:93) at projectviewer.ProjectViewer.buildGUI(ProjectViewer.java:981) at projectviewer.ProjectViewer.(ProjectViewer.java:911) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at bsh.Reflect.constructObject(Reflect.java:668) at bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java:123) at bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:114) at bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at bsh.Interpreter.eval(Interpreter.java:641) at bsh.Interpreter.eval(Interpreter.java:731) at bsh.Interpreter.eval(Interpreter.java:720) at org.gjt.sp.jedit.BeanShell._eval(BeanShell.java:446) at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:410) at org.gjt.sp.jedit.gui.DockableWindowManager$Factory.createDockableWindow(DockableWindowManager.java:533) at org.gjt.sp.jedit.gui.DockableWindowManager.showDockableWindow(DockableWindowManager.java:742) at org.gjt.sp.jedit.gui.PanelWindowContainer$ActionHandler.actionPerformed(PanelWindowContainer.java:399) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1819) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1872) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:273) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:247) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5166) at java.awt.Component.processEvent(Component.java:4963) at java.awt.Container.processEvent(Container.java:1613) at java.awt.Component.dispatchEventImpl(Component.java:3681) at java.awt.Container.dispatchEventImpl(Container.java:1671) at java.awt.Component.dispatchEvent(Component.java:3543) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3527) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3242) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3172) at java.awt.Container.dispatchEventImpl(Container.java:1657) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3543) at java.awt.EventQueue.dispatchEvent(EventQueue.java:480) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

can anybody help me ?

Here's my config:

  • MacOSX 10.3.9
  • Java 1.4.2_12
  • Jedit 4.2final
  • projectviewer 2.1.3.7
Cheers, Reiner
Using jEdit on a thumb drive?
Submitted by puznee on Thursday, 17 May, 2007 - 19:25
Hi,
I'd like to be able to carry jEdit around on my thumb drive: complete with settings, plugins, etc. I noticed that you can change the jedit settings directory with a command-line option, like so:
jedit.jar -settings="c:\gabe\jedit_settings"

However I can't use an absolute path (the drive-letter assigned to my drive varies from machine to machine). Is there a way to specify a relative directory instead?

Thanks,
Gabe
bsh.InterpreterError: null variable value (Mac OS)
Submitted by stavros on Friday, 18 May, 2007 - 12:51
Hi all,

jEdit has been broken for me for the longest time, but I'd like to get it back up on its feet so I can play with it again.

I'm running the latest 4.3pre and on startup (and every other second as the program continues) I keep getting a "bsh.InterpreterError: null variable value" error window popping up (stack trace pasted below).

A similar error pops up when I hit backspace or enter in the editor. Try and browse through the jEdit preferences (they're all empty for me) ... pretty much any action I take is hosed.

I'm not sure what's wrong. I'm on an Intel Mac (10.4.9), Java 1.5, my environment vars are set appropriately (JDK_HOME, PATH), I've blown out my ~/.jedit folder over and over, nothing I do works.

Has anybody ran into this problem before? I searched on the boards + mailing list but didn't find anything.

Thanks,
-steve


bsh.InterpreterError: null variable value
at bsh.NameSpace.setVariable(Unknown Source)
at bsh.NameSpace.setVariable(Unknown Source)
at org.gjt.sp.jedit.BeanShell.resetDefaultVariables(BeanShell.java:687)
at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:370)
at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:286)
at org.gjt.sp.jedit.BeanShell.runScript(BeanShell.java:212)
at org.gjt.sp.jedit.Macros$BeanShellHandler.runMacro(Macros.java:1019)
at org.gjt.sp.jedit.jEdit.runStartupScripts(jEdit.java:3407)
at org.gjt.sp.jedit.jEdit.main(jEdit.java:464)
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:585)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
new ruby language mode (ruby.xml v0.7.0 by Jim Morris)
Submitted by wolfmanjm on Friday, 18 May, 2007 - 22:41
Note This version is probably incompatible with the ruby macros and ruby plugin, it is intented for those that want correct ruby auto indentation without the other ruby plugin features. Works with Jedit >= 4.3pre9. I use the new unindentThisLine and unindentNextLines and the ElectricKeys to do the indentation. Basically the improvements are... 1. else, elsif, rescue, end - will unindent immediately when you type the final character just like } does (ie e from else f for elsif d from end etc the electric part of ElectricKeys) 2. added support for blah.each do |f| syntax which now indents correctly There is at least one unfortunate side effect which doesn't seem to bother me too much (YMMV), if you type some manual indentation at the start of the line, and then one of the electric keys (d e f) the line will indent to the current indentation level.
SQL problem
Submitted by andersos on Sunday, 20 May, 2007 - 10:20
Hello,

I'm back to using jEdit after a couple of years away from coding. I wanted to use SQL plugin, so I set up a MySQL connection in Project Viewer plugin. At first it works, but after some time the SQL plugin seem to loose the connection setting - it disappears from the "Choose the server" dialogue. The connection remains in Project Viewer.

Please advice.
Can't type 'C' or 'a'
Submitted by maxpower on Sunday, 20 May, 2007 - 21:16
I haven't used Jedit in a while but I needed it yesterday and every time I typed a 'C' or an 'a' the computer beeped at me. I could see that there was a 'C' or an 'a' at the bottom as if I was typing in some sort of key combination and it was awaiting the next key. How do I fix this?

I just upgraded to 4.3 and I have the same problem

I am running Java 1.5 on Linux

Thanks
Keyboard shortcuts mapping incorrect with dvorak configuration
Submitted by chovain on Monday, 21 May, 2007 - 04:30
I am running Jedit 4.2 on a Suse system. I think it is running with JRE 1.6 (That's the jre on my path), but I'm not sure how to confirm which version jedit is running with.

My machine is configured with a Dvorak key mapping. This works fine when I'm typing into jedit buffers, but my shortcut bindings seem to use a qwerty layout. For example, us dvorak users get into the habit of physically hitting Ctrl+I instead of Ctrl+C for copy (our 'I' key normally types a 'C'), but that gets literally interpreted as Ctrl-I.

I realise this might be desired behaviour for some users (especially those new to dvorak), but is there a way of having keyboard shortcuts interpreted the same way as normal keystrokes (the way every other app works)?
Vim like omnicomplete
Submitted by beaubert on Monday, 21 May, 2007 - 10:38
Hi all,

Jedit is becoming better and better and to me there are only one or two features that will make Jedit THE perfect editor.

One of those features (before a real terminal or ssh plugin) is a completion feature like vim 7 omnicomplete for python, C, C++, ...

Is this kind of feature intersting for other users ?

Any way thank your very much for this very good software
Fedora Core 6 Jedit
Submitted by putta_ on Monday, 21 May, 2007 - 12:39
HI, I can't start my jedit appliction in my fedora os.

Error I get is

GC Warning: Out of Memory! Returning NIL!
Exception in thread "main" GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
*** Catastrophic failure while handling uncaught exception.

what shall I do?

thanks in advance, Patrik
PHP Edit Mode (php.xml v1.0 by Stacey Abshire)
Submitted by sabshire on Tuesday, 22 May, 2007 - 15:29
Updated the PHP Mode by blueyed to include proper highlighting of the "instanceof" construct. instanceof is highlighted as OPERATOR and the class name that follows is highlighted as KEYWORD4.
How to get XML Insert to work in child files?
Submitted by Pattew on Wednesday, 23 May, 2007 - 10:27
If I have a root file that uses a DTD file, and I have every chapter linked to their own files. What should I do to get the child files to use the same DTD file so XML Insert works??
Greatful for any answer...
console / ssh
Submitted by misterdanny on Sunday, 27 May, 2007 - 17:15
I have the Console and FTP plugins, what i want to do is connect to my ssh server to upload download things, and also be able to use the command line to work on my ssh server (do it all from jedit instead of having to open another ssh console just for doing console commands)

is this possible in any way?
SideKick Documentation
Submitted by kensuguro on Tuesday, 29 May, 2007 - 23:07
Hey, I'm looking to use jEdit as an actionscript 3 editor, and am interested to see how the SideKick plugin can be extended to provide basic code completion.

I installed SideKick and also CTagsSideKick, and saw that CTagsSideKick was more of a navigation / code viewing plugin rather than a context aware dynamic code completion. (functions got added to the tree as you imported, and created them) I'm wondering if there is a community based around SideKick, or if there is more documentation I can read up on?
SideKick Documentation
Submitted by kensuguro on Tuesday, 29 May, 2007 - 23:08
Hey, I'm looking to use jEdit as an actionscript 3 editor, and am interested to see how the SideKick plugin can be extended to provide basic code completion.

I installed SideKick and also CTagsSideKick, and saw that CTagsSideKick was more of a navigation / code viewing plugin rather than a context aware dynamic code completion. (functions got added to the tree as you imported, and created them) I'm wondering if there is a community based around SideKick, or if there is more documentation I can read up on?
User login
Browse archives
« May 2007 »
MoTuWeThFrSaSu
 
1
2
4
6
7
12
19
21
24
25
26
28
31
 
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