Focus issues with 'Find' Dialog
Submitted by
Brandon on
Friday, 27 August, 2004 - 02:48
I'm having a really strange issue with the 'Find' Dialog using Jedit in Fluxbox. The first time I hit ctrl+F, the Find dialog gets focus.. If I then close it and hit ctrl+f again, it fails to focus and the caret is still active in the editor window! I would LOVE it if someone could solve this one for me - it's a huge pain in the arse!
Folding & Python
Submitted by Anonymous on Friday, 27 August, 2004 - 04:10
I don't like how the only descent way I can fold with python is using the indent mode of folding. The problem with it is that it is greedy on ending whitespaces. Example:
def a():
____pass
print 'hi'
If I fold a, I get:
def a(): [2 lines]
print 'hi'
What I want to get is:
def a(): [1 line]
print 'hi
This becomes very annoying because if you use alot of folding it will look very busy, when I'd like to keep the extra newlines/whitespaces after each fold. Is there a way to configure jedit to leave these ending whitespaces?
If not, could anyone help me write a regex line for how to get the configurable folding plugin to work the way I want it? (its a bit tricky because of how python handles whitespaces)
Thank you!
Not able to use the mouse pointer to scroll up or down in JEdit
Submitted by Anonymous on Friday, 27 August, 2004 - 10:40
Hi,
I am unable to use the mouse pointer to scroll up and down in JEdit. My colleague is able to use the mouse pointer to scroll up/down in JEdit. Are my settings not up to date? Please advise.
Thanks,
Shilpa
Auto-completion and ColdFusion
Submitted by Anonymous on Friday, 27 August, 2004 - 18:53
I've recently switched from HomeSite to jEdit and while I'm *really*
happy with jEdit there's one thing that bugs me.
For some reason the auto-completion for both HTML and ColdFusion doesn't work
for me (jEdit 4.2pre14) if the file extension is cfm. If I save something as .html
it works, but of course I would like having both tags and HTML expanded.
One (stupid) question: are edit modes resposible for tag completion (because I know
they govern syntax highlighting)? If yes, is the edit mode that shipped with 4.2pre14
broken?
If anyone knows how to fix this, please let me know...
Scroll less than one-line when in Soft word wrap mode
Submitted by Anonymous on Friday, 27 August, 2004 - 19:06
Hello!,
Let me begin by saying I love JEdit and use it on all my systems. Thanks to all who have contributed to this great open-source tool. A+
But to the feature request...
It would be great to have the ability to view only part of a line when in soft word wrap mode. When using JEdit I most always use the soft word wrap mode during composition, and it becomes a bit annoying when the buffer "jumps" long wrapped lines when scrolling. Also, sometimes it is the case where I would like to read the last few (wrapped) lines while simultaneously viewing a line at the other end of the buffer. It is disappointing to have screen space for this, yet be limited by the editor. I can imagine some complexity might arise out of combining this feature with window-width word wrapping, but I would gladly sacrifice window-width word wrapping for smooth word-wrap scrolling.
Again, thanks for the great tool,
- Adam Childs
achilds ksu.edu
build.xml: many errors
Submitted by
backspaces on
Saturday, 28 August, 2004 - 00:35
I'm sure I'm doing a dumb thing, but ... I've got the xml plugin which works great for xhtml editing. I've just loaded a downloaded ant build.xml file, however, and there are lots of errors noted.
The error list shows <project>, <target>, ... and the other ant xml keywords as being not recognized. But the xml insert side panel shows these as being just fine. I believe this means the ant dtd/catalog is known by the plugin.
Here's a picture: http://backspaces.net/files/jEdit001.jpg
So what dumb thing am I doing wrong?!
Thanks...
Owen
Allow only one instance of JEdit?
Submitted by
Hans_Bauer on
Saturday, 28 August, 2004 - 06:25
To compensate the removal of jEditLauncher on windows i extended the windows context menu for files using Windows-PowerPro (Freeware). So i can right click on a file and choose my new menu item 'JEdit' to open this file.
The first time this opens JEdit with the selected file loaded. The second time the selected file will be additionally opened in the already running instance of JEdit, but also a new instance of JEdit is started with the same files loaded.
So it would be a very good feature to restict JEdit only to open one instance of itself. Is this possible?
Cant find server
Submitted by Anonymous on Saturday, 28 August, 2004 - 12:26
I am trying to connect to mysql. I have downloaded the plugin for sql and have provided the mysql Jconnector path but I cannot add the server. I am using jedit version 4.1
How to invoke GDB in an independent console window ?
Submitted by Anonymous on Saturday, 28 August, 2004 - 14:40
Is it possible to invoke GDB (or any other command line application)
in its own independent console window using the console plugin ?
If I invoke GDB directly in console it returns immediately...
Thanks.
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.