Fill paragraph in justified mode
Submitted by
Vordeph on
Sunday, 29 August, 2004 - 01:15
Greetings,
jEdit is the most perfect code source editor that I have used in my life,
I use many documents in .txt format to document my programs in Object Pascal/Delphi
and a feature that I miss, is to Fill a block o text em justified mode, like the
feature "Fill Paragraph" from UltraEdit32.
I like to suggest this feature. I have tried to create this feature creating
my own plug-in for jEdit, but I´m not know Java very wall yet.
Sorry by my poor english, but Im brazilian, and not have finished my english
course.
jEdit 4.2 now available
Submitted by
slava on
Sunday, 29 August, 2004 - 03:35
How to reduce a function body
Submitted by Anonymous on Sunday, 29 August, 2004 - 11:44
How to reduce the body of a function in the text area, in order to have something like that:
"+ void my_function(void truc) {" <== all the body of the function is hidden here and when you click on the "+" the body expands.
PS: excuse me for this horrible english, i'm french...
jEdit 4.2final on Mac OS X behaves strange
Submitted by
kimjim on
Sunday, 29 August, 2004 - 12:14
The 4.2 installation does not contain a starter application "jEdit.app" as it used to be on jEdit installations on Mac OS. If I double-click the jEdit.jar, the splash screen says it is vers 4.2 final, but I get an error message saying the MacOS.jar Plugin didn't work and I should update it.
When I copy the old "jEdit.app" from an 4.2pre15 installation into my jEdit 4.2 folder and double click, the splash screens says it were jEdit vers 4.2pre 15, also I have deleted my 4.2pre15 installation! But the MacOS.jar plugin now works.
What version does this jEdit.app really start now? I mean, I deleted 4.2pre15! And the infostring in the info.plist of jEdit.app says its 4.2final, also I took it from the 4.2pre15 package! This really confuses me. Is there another way to find out which version is runnig despite looking at the splash screen or see the "About jEdit" menu entry?
Thanks for any help, kimjim
jEdit as external editor for file manager
Submitted by Anonymous on Monday, 30 August, 2004 - 09:24
Hello!
What is error during to make an attempt to open file in jEdit from file manager on Windows 2000: "Could not find the main class. Program will exit." ???
FTP plugin problem
Submitted by
sss4r on
Monday, 30 August, 2004 - 18:31
Hello,
I've been attempting to get support on this problem for months, so I am respectfully requesting that anyone who knows anything about this issue to please respond.
I have been unable to get the FTP plugin to work properly (I've tried on 3 different machines) since 4.2pre9. As the plugin is critical to my workflow, I have stayed with 4.1final; however, now that 4.2final is out, I would really like to start using it (in fact, I need to because there are newer plugins I need to start using that require it).
Having said all that, here's my dilemma:
I start with a fresh installation of 4.2final. I install the FTP plugin, version 0.7.2. When I attempt to open from a secure server, I click "yes" or "always" to the remote host authentication dialogue. Immediately I get the following I/O error:
Cannot list directory: com.sshtools.j2ssh.transport.MessageStoreEOFException: The message store has reached EOF
I have tried reinstalling dozens of times. Like I said, I've tried on three different machines. I've also tried with two different servers. Never had a problem until 4.2 hit pre9 or so. Opening a non-secure connection works fine.
Is anyone else having this problem? Does the author know about it? Can you duplicate it? Is there a fix in the pipeline? I'm desperate to get an answer (and a fix!) as I would really like to continue using jEdit.
Thank you very much in advance for taking the time to read this and for your help.
Thanks,
Shannon
Execute menu item from macro?
Submitted by
kwerle on
Tuesday, 31 August, 2004 - 08:18
I have just written a very useful console command. It works just the way I want. Unfortunately, console doesn't seem to let you create shortcuts for commands you wrote (another issue). Is it possible for me to write a macro that will call a specific menu item?
I just want it to do something very simple:
executeMenuItem("Plugins.Console.MyCommand");
Is there such a thing, and I'm just not seeing it?
TIA
XInsert (XInsert-1.91.zip v1.91 by Markus Birth)
Submitted by
mbirth on
Tuesday, 31 August, 2004 - 09:52
Added new feature to XInsert: Show hints (tooltips) for tags, works fine with 4.2final. Example wikipedia.insert.xml included. Changed files from 1.9 source are: xinsert.dtd, XInsertHandler.java, XTree.java, XTreeItem.java.
LazyImporter ()
Submitted by
mbirth on
Tuesday, 31 August, 2004 - 10:39
Fixed a bug with double-slashes in strings causing LazyImporter to hang at "Creating JavaClass..." because it thought it was a comment from there and didn't recognize the closing quot.mark of the string. Changed files are JavaCommentStripper.java and JavaUtilities.java.
A Colourful HTML (html.zip v1.1 by Venimus)
Submitted by
venimus on
Tuesday, 31 August, 2004 - 11:55
Update:
- The mode is now compatible with 4.3pre5+.
- DOCTYPE highlighted
- highlighted
- Highlighting of multiline tags improved (but not perfect).
- Highlighting of numbers improved.
- Some other bugs fixed.
This is the most featured HTML color mode arround. It has almost all of the functionality you need when developing web content. Recognizes CSS,PHP,Javascript (delegates to the existing modes).
features (what highlights):
- extended tag/attributes recognition
- some error recognition
- inline CSS (requires mode - CSS v2.2 by John Paul Taylor II [updated])
- inline Javascript
- PHP
limitations (to do):
- no asp and vbs support
known bugs (hard to fix):
- The first atribute must be preceded by space/tab, new line is not enough, the rest work ok.
- there is small chance, but it is possible an invalid attribute to highlight as "event", it is caused of the impossibility of matching line-starts (or EOLs) in regex (due to limitations)
- There is a bug in jedit if background for color syntax is set. That background incorrectly applies to other tokens which doesn't have a background color set. By default the "invalid" type have a background and the other types doesn't. So the mode may look like it doesnt work. To fix that, set a background to all types or remove the background of the "invalid" type.
installation:
follow the usual steps for installing a mode definition:
- overwrite the original html.xml in jedit installation directory, or save it to .jedit/modes directory, and modify .jedit/modes/catalog to include
<MODE NAME="html" FILE="html.xml" FILE_NAME_GLOB="*.{html,htm}" />
- Install the fixed PHP mode (original) included in the package by overwriting or adding definition into the "catalog":
<MODE NAME="php" FILE="php.xml" FILE_NAME_GLOB="*.{php}" />
- You may try to use this HTML mode for php files aswell by tricking jEdit to use html.xml to highlight php. This way the html code outside <?php?> will be highlighted. To do it, instead the above definitions (1. & 2.), add the following lines in "catalog" :
<MODE NAME="php" FILE="php.xml" FILE_NAME_GLOB="*.{~}" />
<MODE NAME="html" FILE="html.xml" FILE_NAME_GLOB="*.{html,htm,php}" />
(note the "*.{~}" - it must be an invalid extesnsion, because html.xml will be used for the *.php files aswell, but if we replace directly the original php.xml will not be available for delegation)
I recommed you install the included fixed mode, but the original one should work just fine.
WARNING:This trick may cause some misbehaviour (on theory), because aftar that step "php" files will become "html" for jedit and plugins that depend on it may cease to work. However I didnt notice any problems.
- Install the CSS mode included by overwriting or adding into "catalog":
<MODE NAME="css" FILE="css.xml" FILE_NAME_GLOB="*.{css}" />
- fix your syntax colours from "general options": set a background color to all types or remove the background of the "invalid" type.
used colors:
markup - unknown tag
keyword1 - tag
keyword2 - attribute name, <tr>, </tr>
keyword4 - tag that MUST be included in other tag
keyword3 - deprecated tag
function - unknown attribute
literal1 - attribute value
literal2 - inline css
literal3 - inline javascript
comment1 - comment
comment2 - m$ conditional definition (IE)
LazyImporter (LazyImporter-1.07.zip v1.07 by Markus Birth)
Submitted by
mbirth on
Tuesday, 31 August, 2004 - 12:15
Fixed a bug with double-slashes in strings causing LazyImporter to hang at "Creating JavaClass..." because it thought it was a comment from there and didn't recognize the closing quot.mark of the string. Changed files are JavaCommentStripper.java and JavaUtilities.java.
'Unsync' split screen mode?
Submitted by Anonymous on Tuesday, 31 August, 2004 - 12:52
This is hopefully simple. I use jEdit with a split screen, usually with a different file in each split. When I open a new file now, it's opening and becomgin active in both splits. I don't recall that happening before -- the new file would open in only the active split but get listed as open in both splits.
As it's working now, I have to click into the other split and re-select the file that I was working on prior to opening the new file, which is quite a pain...
Is there some setting I missed somewhere to "unsync" the splits, so that newly opened files become active in only the selected split? Or am I remembering the past incorrectly, and this is just how it works? I've looked at (I think) every menu option, and the user manual, but I can't find anything about this...
thx;
-rob.
Opening and Saving Files From Windows Network
Submitted by
AForgue on
Tuesday, 31 August, 2004 - 13:53
I just starting trying jEdit and was halted immediately when I went to open a file from a computer on my network. It was not initially apparent to me how I could go about opening a network file from the file broswer without first mapping a drive. Am I doing something wrong? Is mapping a drive the only way to open files from a network computer?
Thanks!
Aaron
Request for an enhancement to projects...
Submitted by Anonymous on Tuesday, 31 August, 2004 - 17:25
As I was working with jEdit, I realized that the only purpose for another java editor I use was to batch-compile and run my programs.
So, I was wondering if anyone could make a plugin that would provide basic javac, javadoc, and java capabilities to projects... (sort of like JIndex, except actually compiling/running/javadocing the code)
Run Java Programs using Native OS (WinXP) Command Prompt
Submitted by
frankiechayc on
Wednesday, 1 September, 2004 - 03:49
I have many Java programs that read keyboard input from the command line. The Jedit Console plugin currently does not support reading input from keyboard. So I can't run such programs in Console.
I am trying to write a macro which will run the Java program from the buffer using the native OS shell so that the program can accept keyboard input from users. Help or advice appreciated. Thanks
License of Mode Files ?
Submitted by
llothar on
Wednesday, 1 September, 2004 - 06:25
Hello, under what license are the mode files ?
I want to use them in another editor. Is this okay ?
What's about only using the "wisdom" in this files ?
CharacterMap plug-in problem
Submitted by
bibiko on
Wednesday, 1 September, 2004 - 10:20
dear all,
I have a big problem with the characterMap plug-in.
I tried to insert unicode characters of block CJK (Chinese,etc) but I cannot choose this block because the the combo-box is visible but not active.
I tried it with version 1.1 and 1.2, on a PC (WinXP prof) jre 1.4.2_03, on a Mac (OSX 4.3) jre 1.4.2-38 with jEdit 4.2pre14 and final. Always the same.
My global coding is UTF8 and I tried some unicode fonts.
I can remember me that with an earlier version of jEdit the CharacterMap worked very fine.
Have anybody a solution?
Thanks in advance
bibiko
Command line option to open file as readonly
Submitted by
scottjp on
Wednesday, 1 September, 2004 - 20:59
I would like to be able to open a file as readonly via a command line. I use the editor to load different reference files that I do not want to accidently change (e.g. phone listing). A command line option also enables me to define an icon for each reference file. An indicator of the readonly status in the status bar would be helpful.
I know I can create a script that will set the file readonly once I have it open, but I'd rather not have to remember to run the script each time I open the file.
Setting the properties for the file at the OS level is not an option.
Number of pages in print footer
Submitted by
scottjp on
Wednesday, 1 September, 2004 - 21:01
I'd like to be able to configure the print footer such that it will display the total number of pages in the file (e.g. Page 1 of 100).
pb with final 4.2 on XP with jre 1.5 RC on xml indenter plugin
Submitted by Anonymous on Thursday, 2 September, 2004 - 16:33
java.lang.NullPointerException
at java.text.MessageFormat.applyPattern(Unknown Source)
at java.text.MessageFormat.(Unknown Source)
at java.text.MessageFormat.format(Unknown Source)
at xmlindenter.XmlIndenterPlugin.processException(XmlIndenterPlugin.java:66)
at xmlindenter.XmlIndenterPlugin.indentXml(XmlIndenterPlugin.java:116)
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.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(Unknown Source)
at javax.swing.AbstractButton$Handler.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$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.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)