Automatic Capitalization?
Submitted by
fidian on
Monday, 11 June, 2007 - 15:10
I was hoping to write a new edit mode for jEdit for UniBasic based off of one I have for UltraEdit. UltraEdit supports automatic capitalization, so I can type in "next" and when I press space or type in a symbol, it will automatically capitalize it to "NEXT". This helps me type code much faster, since I hate holding down shift and UniBasic requires capitalization on its flow control statements, reserved words, etc.
Is there any way that automatic capitalization can happen with an edit mode, or is there a plugin that already handles something like this? I did look through the plugin descriptions on the plugin manager, but none seemed to fit the use I have.
jedit server startup
Submitted by
sergivs on
Monday, 11 June, 2007 - 15:51
Hi,
I installed jEdit 4.3 pre 9 on my laptop and chose the option to start the jEdit server with Windows, which turned out to take a while, and most of the times that I turn on the laptop I don't use jEdit. Is there a way to turn this off or do I need to uninstall / reinstall jEdit?
Thanks,
Sergei
CS-RCS Pro - Componant Software source control
Hi all
How to Add a new Source Control System
First add the system type to the SourceControl.props file in the key...
options.sourcecontrol.sctypes
- I've found the file.
- I put CS-RCS as the entry.
- Am I on the right track?
Then create a class that implements the com.sgbarlow.sourcecontrol.SourceControlInterface interface. Your class must have name equal to the name you give your Source Control system with the spaces removed and Impl added to the end. i.e. MS Visual Source Safe becomes MSVisualSourceSafeImpl
- This has me stumped.
- Where do I create this class?
- Do I match the type?
- The repository says it is SCC API.
- Do I use that?
- If some one has done this before, I sure could use some help.
Thanks George
M$ XP, Sony Vaio.
Save folds with file
Submitted by
McSwell on
Friday, 15 June, 2007 - 18:35
When a file is closed or jEdit is shut down, save the fold status of the file(s) as well.
(This was posed as a how-to question in the "Using jEdit" forum by someone, and then seconded and thirded as a wish (the last time by me). Since it apparently is not presently possible, I'm repeating it here as a request for an enhancement.)
Mike Maxwell
fonts in dialog boxes
Submitted by
McSwell on
Friday, 15 June, 2007 - 20:40
Is there any chance that the font that is chosen for text could also be used in the search dialog box? I'm editing text that contains Bengali words in Unicode (OK, I admit that probably isn't a common use...). If I choose the Vrinda font for my text, the Bengali characters show up reasonably well (although jEdit isn't displaying some of the messier things right--XMLmind, which is also written in Java, manages to display Bengali text correctly, so I know this isn't impossible). But when I paste Bengali text into the search dialog box, I get little squares (two for each Bengali character, since they take two bytes in UTF-8). Likewise if I choose Arial Unicode MS.
I realize there may be problems with following the user's choice of font size, e.g. if I choose 24 point Vrinda, XMLmind will probably have to use 12 point in the dialog box (or else do a lot of re-sizing). But I believe the font choice could be preserved.
Mike Maxwell
Auto switch Snytax Highlight Colors when switching modes?
Submitted by
Jakobud on
Friday, 15 June, 2007 - 22:24
I am a recent jEdit convert. I come from a world of other text editors (like Ultraedit) where each mode has its own syntax highlighting color assignments. So for example, when viewing a PHP file, my background is blue, strings are red, comments are green etc... But then when viewing Python, all those things are different colors.
So I was wondering if there are any plugins or anything that allows you to automatically switch colors whenever you switch modes? The closest thing I can find is this plugin called "Editor Scheme Selector". I allows you to save/load color schemes (for the TextArea, Syntax colors and Gutter). So I save different color schemes and have to manually switch between them when I swap modes.
So anyways, is it possible to do what I am wanting?
Auto switch Snytax Highlight Colors when switching modes?
Submitted by
Jakobud on
Friday, 15 June, 2007 - 22:33
I am a recent jEdit convert. I come from a world of other text editors (like Ultraedit) where each mode has its own syntax highlighting color assignments. So for example, when viewing a PHP file, my background is blue, strings are red, comments are green etc... But then when viewing Python, all those things are different colors.
So I was wondering if there are any plugins or anything that allows you to automatically switch colors whenever you switch modes? The closest thing I can find is this plugin called "Editor Scheme Selector". I allows you to save/load color schemes (for the TextArea, Syntax colors and Gutter). So I save different color schemes and have to manually switch between them when I swap modes.
So anyways, is it possible to do what I am wanting?
PHP Debug
Submitted by
kris_ro on
Saturday, 16 June, 2007 - 09:11
Is there a PHP debugger plugin for jEdit or can be developed one ?
Thank you
Exceptions on close/quit
Submitted by
Giesen on
Wednesday, 20 June, 2007 - 23:07
I'm getting an error after I do a find/replace in files. Is jEdit still under development? Is a final 4.3 version on the way?
I get this exception when I try to quit:
java.lang.NegativeArraySizeException
at org.gjt.sp.jedit.jEdit.getBuffers(jEdit.java:1950)
at org.gjt.sp.jedit.PerspectiveManager.savePerspective(PerspectiveManager.java:147)
at org.gjt.sp.jedit.jEdit.exit(jEdit.java:2473)
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:597)
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:2910)
at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:216)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1216)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1257)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
I get this exception when I try to close only open buffer:
java.lang.NullPointerException
at org.gjt.sp.jedit.jEdit.removeBufferFromList(jEdit.java:3715)
at org.gjt.sp.jedit.jEdit._closeBuffer(jEdit.java:1709)
at org.gjt.sp.jedit.jEdit.closeBuffer(jEdit.java:1664)
at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:2910)
at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:216)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
running local apache server through jedit
Submitted by
misterdanny on
Friday, 22 June, 2007 - 00:56
Is there a way to have jedit run an application in the background launching it from jedit? I normally have to open apache and jedit to work on PHP things, It would be cool to have apache open/close buttons inside jedit to use apache as it's needed all within the same thing.
Encoding per folder
Submitted by
atg2d on
Friday, 22 June, 2007 - 09:29
Is it possible to set specific encoding per page?
I am working on more than one project at a time and some of them are utf-8 some are windows-1251. I have set up utf-8 as my default encoding, but when i open one of the other projects that uses windows-1251 i have to change the encoding to windows-1251 and then close(without saving) and reopen the file for the encoding to take place(if i forget and save the file with the incorrect encoding all non ASCII characters are screwed).
I wonder if it is possible to set some associations 'folder - encoding' and when opening file jedit checks whether the file is in one of these directories and opens it with the specified for that folder encoding.
So is there such functionality or plugin for jedit?
If not i would like to make that a request. If i had any kind of java experience i would do a plugin myself but i don't - i will have to learn java and jedit plugin architecture, while someone with experience in jedit plugin development will probably be able to do it in an hour.
Thank you
XML: insert closing tag doesn't
Submitted by
McSwell on
Saturday, 23 June, 2007 - 21:59
The XML plugin has two options for inserting a closing tag: when a '' is typed, and when a (complete) open tag is typed.
These used to work for me, but they don't now. (Or else they worked on my PC at work, but not on my PC at home... but I think this used to work on my home PC.)
I can't think of anything I might have done to make them stop working. I've tried unchecking the options, clicking OK, then going back to the dlg box and checking them again. Also closing and restarting jEdit, and even rebooting.
Is there something else I might have done wrong?
Mike Maxwell
JPyDebug doesn't work
Submitted by
misterdanny on
Tuesday, 26 June, 2007 - 01:35
I installed this in hope of being able to work with python in jedit (i need something to check for errors) on the "error list" window it only shows
"1: Python Source Insepctor launch error = IOException when building process : CreateProcess: ....." then theres a long string of different file locations then at the very end it says error=2
I think something is setup wrong but I went through every menu to see what setting might be wrong to cause this and I couldn't find anything. This shows up even if the file is empty or if all it says is print 'hi' or something.
Any ideas? or alternatives to python error checking in jedit?
JPyDebug doesn't work
Submitted by
misterdanny on
Tuesday, 26 June, 2007 - 01:36
I installed this in hope of being able to work with python in jedit (i need something to check for errors) on the "error list" window it only shows
"1: Python Source Insepctor launch error = IOException when building process : CreateProcess: ....." then theres a long string of different file locations then at the very end it says error=2
I think something is setup wrong but I went through every menu to see what setting might be wrong to cause this and I couldn't find anything. This shows up even if the file is empty or if all it says is print 'hi' or something.
Any ideas? or alternatives to python error checking in jedit?
Modify curly brace ({}) behavior.
Submitted by
the_0ne on
Tuesday, 26 June, 2007 - 12:58
I'm trying to find the way to modify the curly brace behavior so it doesn't constantly tab my hash/array/function blocks. I've found all kinds of key behavior in the Utilities -> Global Options -> Shortcuts section, but don't see where the curly brace behavior is coming from. It's really annoying. Something like this is almost impossible to type into jedit.
part_type_info = { 'to' => { 'optlist' => "fontname=optima fontsize=12 encoding=unicode " +
"fillcolor={gray 0} alignment=justify leading=120%",
'caption_part' => false } }
Everytime I type an open set of curly braces, it lines up where it thinks it should and I have to then space it myself. I just want the curly braces to not do anything, I can format the code myself.
Thanks in advance...
OMBPlus Edit Mode (ombplus.xml v0.1 by Uwe Pliha)
Submitted by
uhuebner on
Tuesday, 26 June, 2007 - 13:11
Syntax Highlighting for OMBPLUS (Oracle Warehouse Builder Scripting Language)
Mainly took the TCL mode from Michael Jacobson and added OMBPlus-keywords
Editing fortran source code
Submitted by
GKalman on
Tuesday, 26 June, 2007 - 14:00
Apparently Java is the deafult case. I have no problem when working with a "foo.java" file to insert a "line comment". Then "//" appears correctly in front of the selected line.
However, when I try to do same for a "foo.f90" file, jEdit ignores the command (instead of inserting "!").
My setup for the editing dialog: (with WindowsXP)
Utilities/Global Options/jEdit/Editing/Change Settings for mode: fortran
File name glob: *.f90
Default edit mode: fortran
Then push buttons: Apply & OK
Then from the "Edit" drop-down menu:
Edit/Source/Line Comment
Result on the highlighted line: command IGNORED
Although, as I said, with a Java file I had no problem doing the same.
Why?
First-time user.
getting an I/O error message
Submitted by
mamboze on
Wednesday, 4 July, 2007 - 11:55
I downloaded a ubuntu iso yesterday and somehow, I'm not sure how, when I start jEdit I now get an I/O error message -
The following I/O operations could not be completed
E:\downloads\ubuntu-7.04-desktop-i386.iso
There is insufficient Java heap memory to complete this request.Try increasing the maximum heap size.
Not surprising, since the iso file is about 700Mb.
But my problem is that I don't know what needs to be done to get rid of the message.
Thanks in advance
Eclipse CDT scheme (MyEclipse.jedit-scheme v0.1 by Shlomy Reinstien)
Submitted by
shlomy on
Thursday, 5 July, 2007 - 09:51
This editor scheme is more or less like the one used by the Eclipse CDT.
Where are Favorites stored?
Submitted by
Todd on
Thursday, 5 July, 2007 - 21:26
I'm moving my settings to a new computer and would like to manually edit my Favorites so they work on the new machine. I found the XML files for the Project Viewer plug-in, but can't figure out where Favorites are saved. One post I found said they were in the settings folder in a file called "properties", but I have no such file (using 4.3pre9). Can someone point me in the right direction? Thanks.
Todd Prouty