Viewing XML Document As Tree
Submitted by
Michael36 on
Friday, 20 August, 2004 - 07:28
Hello,
I'm editing an XML Document with jEdit. How can I display the document in a tree?
There seems to be no menu item for this purpose. I've already installed various XML-libraries ('XML','XML-Indenter','xml-commons-resolver.jar').
Help would be great.
Greetings
Michael
Folding/Unfolding Element Nodes in XML-Document
Submitted by
Michael36 on
Friday, 20 August, 2004 - 07:48
Hello,
folding/unfolding for element nodes does not work in my XML-Document although there is one menu item ('Folding|Collapse/Expand Fold') provided for this purpose. How can I configure jEdit to do this job?
Any help wellcome,
Greetings
Michael
Adding new dtd or xsd for autocompletion
Submitted by
dverdin on
Friday, 20 August, 2004 - 10:01
Hi,
I want to use autocompletion in Jedit for XML documents.
These documents are used in cocoon to create forms. They have their own namespaces and dtd or xsd.
I would like to use the autocompletion fonction, but I don't know how to tell this to jedit. I guess I need to have local copies of the dtds somewhere on my system, and declare it to Jedit. How can I do it ?
Another question, probably related : I don't understand what are the catalogs in the XML plugin, what is their usage, and what kind of file they are supposed to be.
Well, it's probably dumb questions, but I'm quite new to Jedit, and I need to learn...
Hyperlink support in text buffer
Submitted by Anonymous on Friday, 20 August, 2004 - 10:06
Hello all,
first I want to thank all jEdit-Developers for their really great work! I love this Editor!
Nevertheless it would be great, if it would support hyperlinks in the text buffer.
So if you have constructs like http://www.jedit.org in your text buffer it would be helpfull if it would be highlighted and a klick or CTRL+klick would call the standard browser with the respective URL.
What do you think about such a feature?
Best regards,
Watcheck
Ruby edit mode with enhanced auto-indenting and class/instance variable highlighting (ruby.xml v0.3? by Ian McLean, Chris Morris, Christophe Grandsire & Robert McKinnon)
Submitted by
robmckinnon on
Sunday, 22 August, 2004 - 15:47
Another update of the Ruby mode file, which enhances v0.2 auto-indenting by adding indenting for the following: while, for, until, loop do, module, begin, unless. It also adds highlighting of class and instance variables, which was missing from the original mode file.
Use in combination with the Ruby auto indent and insert end macro to solve most of your Ruby indenting needs!
Ruby auto indent and insert end v0.6 (Ruby_auto_indent_and_insert_end.bsh v0.6 by Robert McKinnon)
Submitted by
robmckinnon on
Sunday, 22 August, 2004 - 16:12
Designed to be executed each time the enter key is pressed. Auto indents and inserts 'end' after the following: if, for, while, until, unless, def, case, class, module, begin, loop do, x do |y|. Also aligns else and elsif. Designed to work with the auto-indenting defined in Ruby edit mode v0.3.
Use in combination with the Ruby edit mode v0.3 to solve most of your Ruby indenting needs!
TO INSTALL:
- Place in directory: [user_home_dir]/.jedit/macros/Ruby
- Add the 'ENTER' key shortcut to this macro via:
- Utilities -> Global Options -> Shortcuts -> Edit Shortcuts: Macros
- Install Ruby edit mode v0.3.
FTP plug-in does not work with recent previews
Submitted by
sss4r on
Sunday, 22 August, 2004 - 20:50
Hi, I've been having this problem with jEdit for a long time now, and I am hoping someone can help. I have been forced to continue using 4.1final because the FTP plug-in does not function properly for me when I try any of the recent 4.2 previews. As soon as I upgrade to 0.7.2 of the FTP plug-in, all I get is "loading..." when I try to open from a secure server. Normally I would be more patient, but there are plug-in products that I need to use that only work with the latest previews, but I can't sacrifice the FTP plug-in. I've seen others report this problem on the forum. Is there a fix? Are there plans to address this problem? Thank you! Let me know if you need more information....
Drag and drop to open
Submitted by Anonymous on Monday, 23 August, 2004 - 18:52
I'm using jEdit v4.1 final on Windows XP.
Is it possible to open files by dragging them into the application window? I get the "not allowed" curser when I try to do this. Thanks.
-Adam
Saving file changes permissions
Submitted by
jrsupplee on
Tuesday, 24 August, 2004 - 10:07
I am using Jedit 4.1Final on windows and whenever I save a file that is located on a Linux box it removes executable permissions from the file. So if my file is a script and had permissions 755, after I save it, it will have 644. Is there a fix for this behavior?
Find Next Selected (Find_Next_Selected.bsh v1.01 by Dan Ferreira)
Submitted by
DanF on
Tuesday, 24 August, 2004 - 18:19
Got this idea from UltraEdit32, where I'd often skip the Find dialog by just selecting text and searching for its next occurrence. I never found another editor that provided this simple functionality, and now jEdit can do it with this macro!
If there's no selection, it looks for the next occurrence of your last search (issues a "find-next" action). It's meant to be an improved "find-next", so you can remap your "find-next" shortcut to this macro if you want to.
New in version 1.01:
- Special behavior when regular expressions enabled: if the current selection matches your regexp search string, then it issues a "find-next" action (so it won't disrupt ongoing regexp searches); otherwise, the selected text becomes the new regexp search string; if the new regexp search string is invalid, a regular search is performed (sounds more complicated than it actually is, the point is that now it handles regular expressions nicely :-) )
Enhanced Docking windows for JEdit
Submitted by Anonymous on Tuesday, 24 August, 2004 - 20:33
Hello all,
Take a look at
InfoNode http://www.infonode.net/. It has a cool Docking Window for Java its also available under GPL. what do you think about including it into JEdit?
-yogesh
jEdit CVS access
Submitted by
curoles on
Wednesday, 25 August, 2004 - 04:20
I made a plugin that I use myself for a while.
Now I would like to bring it into the CVS, so
I follow the instructions and ask Slava and M.Dillon
to add my ID in order to get access to the CVS and
have no reply from them. What is going on? What am
I doing wrong?
Invoking actions within a macro
Submitted by
DanF on
Wednesday, 25 August, 2004 - 06:26
Ok, here's how I'm doing it:
jEdit.getAction("find-next").invoke(view);
... but something's wrong. The action gets executed in some kind of strange silent mode. Messages aren't shown in the status bar (like "Search string not found!"), no confirm dialog box asks "Continue search from beginning?" (if auto-wrap is disabled), etc.
How do I invoke an action inside a macro? Are there other ways of doing this?
Hold down key macro
Submitted by Anonymous on Wednesday, 25 August, 2004 - 09:22
I want to write a macro that allows me to instruct a specific key to be held down for set period of time. For instance, i need to be able to instruct that the spacebar be held down for x seconds.
Is this possible and how do i go about it?
Thanks in advance.
Help me, Progress 4GL have embedded comments? Is it working in JEdit?
Submitted by
Wladi on
Wednesday, 25 August, 2004 - 20:43
Help me, Progress 4GL have embedded comments? Is it working in JEdit?
PS: sorry for my english
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