jEdit Community - Resources for users of the jEdit Text Editor
Archives
noserver Argument has no effect (4.2 pre 11)
Submitted by Anonymous on Tuesday, 13 April, 2004 - 16:37
Hi-
I'm running 4.2pre11 on MacOSX 10.3. I'm trying to set up for a presentation in which I would like to have multiple instances of JE running, each with different files open (Beyond what can be done with the project plugin). To prevent multiple JE instances from being linked (ie forced to have the same files open), I'm trying to use the -noserver option. The first problem I found is that adding the -noserver flag causes this message in the activity log:

[warning] jEdit: You cannot specify both the -background and -noserver switches

This seems like a bug, since the docs state that the -nobackground option is the default, and I don't see that I have the -background option set anywhere. Attempting to work around this, I added the -nobackground option to my startup. This results in no mention in the Activity Log and 'unlinking'. It seems that the -noserver flag is ignored.

Here is the relavant snipet from the Info.plist file (inside JEdit.app - its a way of bundling java apps with all of their commandline options in OSX):

<key>Arguments</key>
<string>-noserver -nobackground</string>

Has anyone gotten the noserver argument to work? Anyone specifically in OSX or 4.2pre11?

Thanks guys-

JEdit is the best tool in my box,
Eric Everman
I can not move the jedit window
Submitted by rcen on Wednesday, 14 April, 2004 - 03:45
HI All,
I can not move/resize the jedit window anymore. I do not know what thing is wrong clicked. I am using RH7.3 Jedit 4.1 final. Please give me some hint about how to fix it. Thanks.
rcen
List_Dirty_Buffers.bsh v1.0 by Lee Turner
Submitted by lturner on Wednesday, 14 April, 2004 - 08:16
Beanshell macro to provide a simple message box telling you whether there are any dirty buffers. If all buffers are saved, a message will appear telling you there are no dirty buffers, otherwise a message will appear listing all the buffers that are dirty. This is useful if you like all available screen space to develop (no toolbars, no no docked plugins visable etc).
VOGen macro (VOGen.bsh v1.0 by Jia Zhiming)
Submitted by jiazhimi on Wednesday, 14 April, 2004 - 09:39
Basicly it helps you to generate get/set methods from java class/instance variables. Unlike the "Make Get and Set Methods" macro, the operation is over the whole buffer, so there is no need to choose which portion to operate on. Quite easy to use. enjoy. :)
mergLine macro (MergLine.bsh v1.0 by Jia Zhiming)
Submitted by jiazhimi on Wednesday, 14 April, 2004 - 10:05
The macro merg lines of text into one comma divided line similar to " in ('a','b','c')" and copy the line. It works with line containing numbers or text. so " in (1,2.2,4.35)" also possible. It is mainly to help create SQL from some existing data.
cliptext changing / creating
Submitted by rene on Wednesday, 14 April, 2004 - 15:03
I have edited the file jEdit/jars/Xinsert/htmltag.insert.xml

I have added a few items and put all in lower case

I restart jEdit and try my cliptext ... no change !!

how can you change the cliptext ?
sand create your own ?

thank you
Xinsert error
Submitted by rene on Wednesday, 14 April, 2004 - 15:22
version 4.2pre11 When I choose in the menu >> plugins > xinsert I get the following error : java.lang.ClassCastException at XTree.loadMacroVector(XTree.java:233) at XTree.init(XTree.java:204) at XTree.(XTree.java:142) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) 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.DockableWindowManager.addDockableWindow(DockableWindowManager.java:771) at org.gjt.sp.jedit.gui.DockableWindowManager.toggleDockableWindow(DockableWindowManager.java:817) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at bsh.Reflect.invokeOnMethod(Reflect.java:149) at bsh.Reflect.invokeObjectMethod(Reflect.java:81) at bsh.BSHPrimarySuffix.doName(BSHPrimarySuffix.java:169) at bsh.BSHPrimarySuffix.doSuffix(BSHPrimarySuffix.java:120) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:80) 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:2882) at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:216) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Submitted by Anonymous on Thursday, 1 January, 1970 - 00:00
n/a
JEdit Syntax Package
Submitted by Anonymous on Thursday, 15 April, 2004 - 17:35
JEditSyntax on syntax.jedit.org is much outdated now, though usable (with two deprecated methods). Will current jedit syntax be available as separate component? Looking into current source, it looks like JEditTextArea is highly integrated into JEdit application - I guess there's not much folks who would want to make changes just for JEditTextArea was available as bean..
Language Pack
Submitted by littleelephant on Thursday, 15 April, 2004 - 21:02
Any one know if it's possible to add a language pack to JEdit?
Set window layout
Submitted by Anonymous on Thursday, 15 April, 2004 - 22:37
I had just downloaded JEdit. I had seen in JEdit screenshot different layout for main window that include console, file manager and so on. How can I set my window layout? I must download a plugin? and wath plugin I must download? thanks to all
Project viewer plugin - autorefresh
Submitted by FelhoBacsi on Thursday, 15 April, 2004 - 23:08
Hi!

I have a little problem.
I have a directory structure like this:
modules
\++module_name
\++action
\++add.php
\++view
\++add.php
\++template
\++add.tpl
The add.* files are generated from a default (action, view, template) template, and then I edit them.
My problem is, that after generation I should add all these files manually to the project. Is there any solution to automatize this?

Thx in advance,
Felho
ErrorList
Submitted by Anonymous on Friday, 16 April, 2004 - 13:53
Hi All!
I'm currently developing a plugin and i've reached a point where I've to display error messages.
I've done a bit of reasearch and I guess that the ErrorList plugin does the job.
Unfortunately I did not find any documentation on how to use this plugin.

Does anybody know the meanings of the parameters of the constructor:
errorlist.DefaultErrorSource.DefaultError(ErrorSource arg0, int arg1, String arg2, int arg3, int arg4, int arg5, String arg6)?

PS: I'm currently developing my plugin under jEdit 4.1 and plan to migrate to 4.2 later on, so I'm using version 1.2.3 of ErrorList.

Regards,
Xserty
Are you interested in language packs for jEdit?
Submitted by Brad Mace on Friday, 16 April, 2004 - 16:15
Yes, and I could help maintain translations
26% (280 votes)
Yes, I'd like to have translations
32% (355 votes)
Indifferent
35% (383 votes)
No, that'd be bad (please comment)
7% (75 votes)
Total votes: 1093
Is this kind of plug-in feasible?
Submitted by Anonymous on Friday, 16 April, 2004 - 19:28
I am thinking (dreaming?) of a plug-in that is somewhat like an outliner. Initially it might look a bit like this:

- keeps its own tree-like representation in memory
- tree-like view on left
- fast keyboard navigation (up, down, etc.) of tree
- fast keyboard manipulation of tree (move sub-trees around)
- based on which tree node is in focus
- corresponding set of nodes displayed on right side
e.g. like sticky notes
- xml format for nodes and their contents
- styled text for nodes and their contents (via some 'styling')
- some node sub-content will be code, using code-formatting
- some subtrees/nodes can be viewed as visual graphs
- option to invoke graphviz to generate graphs
- graphs presented on right hand pane

I don't know much about the plug-in architecture. Is this doable? Already done? What other things should I be looking at?

Thanks!
Folding with XML mode / plugin : can folded nodes show better single-line information?
Submitted by Anonymous on Saturday, 17 April, 2004 - 05:04

If I have:

<product> Cereal ....etc. </product>

and I fold it, I get:

<product> [26 lines]
</product>

It is possible to get something like:

<product>Cereal...[26 lines]

1. Don't show the end tag, it adds no information: more space efficient

2. Do show the 1st line of element/attribute content: "outline" readable when folded

Thanks!
debugger integration?
Submitted by Anonymous on Saturday, 17 April, 2004 - 07:43
What kind of integration is available / possible between Jedit and debuggers? I am looking for things like break-points, stepping, inspecting, etc.

Any plug-ins to make this easy?

Languages: Ruby, Java, Python.
JavaCC mode syntax (javacc.xml v0.2 by Alexander Klimetschek)
Submitted by klizza on Saturday, 17 April, 2004 - 18:06
An updated version based on the javacc.xml v0.1 by Tom Wilczak. It highlightes used TOKENs better (based on a regexp), so that stuff like <MY_TOKEN> gets highlighted, but TOKEN definitions, which often include string literals, are displayed as normal. Also makes )?, )* and )+ as KEYWORD3.
Serene (serene.jedit-scheme v1.0 by Mohammed Badran)
Submitted by mbadran on Sunday, 18 April, 2004 - 13:27
A comfortable light blue scheme designed to match the Kunststoff Look&Feel.
Abbreviation, autocorrect and apostrophes
Submitted by mbadran on Sunday, 18 April, 2004 - 13:37
Hi,

I would like to have an abbreviation that includes an apostrophe, such as "are'nt", which is to be replaced with the correct spelling of "aren't" upon expansion.

The problem is that the abbreviation engine does not seem to recognise apostrophes (in abbreviations, not expansions). I've tried escaping them as such; "\'", but that also does not work.

If there is a workaround for this, I'll be able to have jEdit autocorrect common spelling mistakes, and I'll post up my abbrev file for everyone's benefit. If not, I guess this will have to go in the Feature Requests forum.

Many thanks,
Mohammed.
User login
Browse archives
« April 2004 »
MoTuWeThFrSaSu
  4
 
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