jEdit Community - Resources for users of the jEdit Text Editor
Archives
Go to file on current line Rails specific macro. (Go_To_File_On_Current_Line.bsh v0.4 by Panya)
Submitted by Panya on Friday, 27 April, 2007 - 14:28

This is a Ruby on Rails specific macro which ported from TextMate Rails bundle 'Go To File on This Line' command. Just go to line which contain any file name(action name, controller name, javascript file name, stylesheet file name, partial name, layout name) and use the macro will open this file. This macro requires ProjectViewer plugin.

P.S. Open_Partial macro is not needed now.
Snippet chooser / paster (Insert_Snippet.bsh v1.0 by Mike Cline)
Submitted by mikecline on Friday, 27 April, 2007 - 19:25
For pasting snippets of code (or any kind of text, really) into the current buffer.

You store all your snippets as separate text files in the c:\snippets directory (hard-code another location if you like). When you run the macro it pops up a JList selection box where you can choose which snippet to paste.
Problem with accents on Ubuntu Feisty
Submitted by gp on Thursday, 3 May, 2007 - 22:10

I am having a problem with foreign characters when using jEdit 4.3pre9 on Ubuntu Feisty. It's not strictly a jEdit problem, but I was hoping that someone here more experienced with Java could help me.

The problem is this: when typing characters with an accent, those characters come out wrong in Java apps. It appears to only affect Swing apps (jEdit, Zend Studio). Eclipse, which uses SWT, does render the accents correctly. Please note that this has nothing to do with character encoding settings in the apps themselves.

With Java 1.5, when typing an accented character, it is replaced with a totally different character (I usually get the blank square); with Java 6, accented characters are replaced with the non-accented equivalent (for example, what should be ă comes out as the letter "a"). There is one exception: accented characters from the Latin-1 (ISO 8859-1) character set, such as "ü", "é" etc. are rendered correctly.

I ran the apps on sun-java5-jre and sun-java6-jre (from the Ubuntu repositories), as well as on Java 1.5 downloaded directly from Sun. There is no difference.

Here's the output of jEdit's keyboard troubleshooting feature when I try to type the characters:

I am trying to type ă (U+0103). jEdit running on Java 1.5.

Event KEY_PRESSED,keyCode=0x41,keyChar=0x1e3,modifiers=0 x20,consumed=0 filtered
Event KEY_TYPED,keyCode=0x0,keyChar=0x1e3,modifiers=0x20 ,consumed=0 passed
==> Translated to <0,1e3>
Event KEY_RELEASED,keyCode=0x41,keyChar=0x1e3,modifiers= 0x20,consumed=0 passed

Same character, jEdit running on Java 6.

Event KEY_PRESSED,keyCode=0x0,keyChar=0xffff,modifiers=0 x0,consumed=0 filtered
Event KEY_PRESSED,keyCode=0x41,keyChar=0x61,modifiers=0x 20,consumed=0 filtered
Event KEY_TYPED,keyCode=0x0,keyChar=0x61,modifiers=0x20, consumed=0 passed
==> Translated to <0,61>
Event KEY_RELEASED,keyCode=0x0,keyChar=0xffff,modifiers= 0x20,consumed=0 passed
Event KEY_RELEASED,keyCode=0x41,keyChar=0x61,modifiers=0 x0,consumed=0 passed

Any help would be greatly appreciated.

Buffertabs sorting seems broken in 4.3
Submitted by tdir on Saturday, 5 May, 2007 - 14:08
I have been using 4.2 for a long while and recently tried upgrading to 4.3pre9. In 4.2 the order of buffertabs seems to be based on the global options "Sort buffer list" and "Sort buffer list by file name", both of which I normally check. Doing so in 4.2 causes the buffer tabs to be sorted by filename and stay in that order. With 4.3 the order seems sorta by filename but each time I select a tab it jumps to the front. This causes the other tabs to get out of order until finally each tab selection creates a new random ordering with the most recent buffers in the front row. I find this to be almost unusable - I spend too much time searching through the tabs every time I want to select a file.

I have tried the two 'sort buffer list' checkboxes in various combinations - they seem to have no effect whatever.

I am running mainly under WinXP but also Ubuntu and Red Hat.

1. Is this the correct behavior? Has the behavior changed from 4.2 to 4.3?
2. Is there a fix? Is this a bug?
3. Should I report/post to a better place than this forum?

Thank you very much for any clues provided!
Background Plugin problem with 4.3pre9/Java 1.6.0
Submitted by Magno X on Tuesday, 8 May, 2007 - 17:22
Hello all

I upgraded to 4.3pre9, and now the background plugin is acting up. The image doesn't stay fixed when I scroll up and down, instead the image tears and segments repeat. Has anyone encountered this? Is there a solution?

Thanks
Pluging BufferTabs
Submitted by claudecnx on Wednesday, 9 May, 2007 - 16:27
Is it possible to add in the Buffertabs tab contextmenu a "new" and a "save as" entry?
How should I do that ?
what compiler can i use?
How to get the string of line comment token(s)?
Submitted by galou on Thursday, 10 May, 2007 - 09:47
Hi,

I try to write a macro that insert a new line of comment, indenting it and adding the space between the comment token(s) and the text, as on the previous line.

For the moment, I use only '%' as comment token and hard coded it. To submit the macro, I would need to know how to get the string of line comment token(s).

Can someone help me?
About Fonts & LookAndFeel, Manfred Usselmann, Ollie Rutherfurd and others please help.
Submitted by sing on Thursday, 10 May, 2007 - 14:27
I use jEdit in Windows XP & just found two screenshots in the ScreenShots section.
Can anyone answer me the following questions?

What is the font used in the following screenshot? Is it antialiasing? How to make it antialiasing?
http://www.jedit.org/index.php?page=screenshot&image=33

And where to download the following screenshot's LookandFeel? Or what is the name of the LookAndFeel?
http://www.jedit.org/index.php?page=screenshot&image=18
About Fonts & LookAndFeel, Manfred Usselmann, Ollie Rutherfurd and others please help.
Submitted by sing on Thursday, 10 May, 2007 - 14:27
I use jEdit in Windows XP & just found two screenshots in the ScreenShots section.
Can anyone answer me the following questions?

What is the font used in the following screenshot? Is it antialiasing? How to make it antialiasing?
http://www.jedit.org/index.php?page=screenshot&image=33

And where to download the following screenshot's LookandFeel? Or what is the name of the LookAndFeel?
http://www.jedit.org/index.php?page=screenshot&image=18
About Fonts & LookAndFeel, Manfred Usselmann, Ollie Rutherfurd and others please help.
Submitted by sing on Thursday, 10 May, 2007 - 14:28
I use jEdit in Windows XP & just found two screenshots in the ScreenShots section.
Can anyone answer me the following questions?

What is the font used in the following screenshot? Is it antialiasing? How to make it antialiasing?
http://www.jedit.org/index.php?page=screenshot&image=33

And where to download the following screenshot's LookandFeel? Or what is the name of the LookAndFeel?
http://www.jedit.org/index.php?page=screenshot&image=18
JEdit 4.3 pre 9 crashes when maximizing window
Submitted by blegger on Thursday, 10 May, 2007 - 20:03
I installed a fresh copy of jEdit 4.3 pre 9, but jEdit shutdowns and disappears when I try to maximize the window or go to manage plugins. My environment is setup as follows:

Windows XP Pro Service Pack 2
Java SE Runtime Environment 6
Java SE Development Kit 6
jEdit 4.3 pre 9

I even made sure to clear out all of the plugins and personal settings I had from the 4.2 installation.

I have since installed jEdit4.2 and it works fine.
php string quoting wrong
Submitted by DWay on Friday, 11 May, 2007 - 11:04
the php ist not recongized as string with JE4.3p9
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
User login
Browse archives
« April 2007 »
MoTuWeThFrSaSu
  1
2
7
12
14
15
16
22
24
26
28
29
30
 
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