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
$var="abc\"def"; ?>
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
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