narrow to fold improvement
Submitted by
VoY on
Tuesday, 21 September, 2004 - 11:53
I really like jEdit's ability to narrow my view to certain level of indentation/folding. However I find this feature rather incomplete. When eg. designing a long form in HTML, you often have around 10 levels of indentation (imagine a table with few more tables in it [I know - tables for layout are evil :-)] and perhaps a javascript code in one of the table cells and you get the picture). This makes editing and navigating the code pretty difficult - especially if you use whitespace's plugin feature called "Remove trailing spaces". Every time you hit an empty line then, jEdit will jump to the begining of that line, leaving you with a whole screen of empty tabs and no code. You then have to grab your mouse and scroll the textarea using horizontal scrollbar. Now if the narrowing feature had an option to hide the leading tabs, it would improve the code readability dramatically.
I RTFM hard, but came to the conclusion, that this is currently not implemented in jEdit. In case I missed something, please tell me. Appart from this little detail, jEdit is really cool and I evangelise it among all my friends .-)
Adding a new shell to Console?
Submitted by Anonymous on Tuesday, 21 September, 2004 - 16:27
I would like to use Cygwin via the Console plugin. I gather that I would have to add it as a new shell (along with the default "System" and "BeanShell" shells). Unfortunately, unless I missed something, the help files only seem to describe how to add a new shell programatically for some plugin that you're theoretically creating.
I'm not creating a new plugin. Is there a way to add a new shell just through some menu option or something? I haven't been able to find one.
Compiling
Submitted by Anonymous on Tuesday, 21 September, 2004 - 16:43
If I understand compiling correctly, you have to make a Commando thing inside of the Console plugin. This seems overly complicated for what I want to do.
Really, I just want to be able to be able to associate some keystroke or button or whatever with an arbitrary shell command, which automatically can take the buffer's filename (or parts thereof) as parameters. For example, in UltraEdit (which is what I've been using, up until this experiment with jEdit), I have some keystrokes set up to do the following:
c89 %F -Wversion3 -Wsystype="guardian" -Werrors=10 -Wsyntax -Wextensions -Wverbose
And that "%F" in there is automatically replaced by the filename of the buffer. So, with just a simple set of keystrokes, I can invoke my chosen operation on the current buffer's file, using the options that I already know I want, and the output of the operation just pops up automatically.
Not only is this faster and easier than going through some popup GUI dialog generated by some Commando script, but also you don't have to go through the hassle of writing the Commando script in the first place.
Is there a way to do something like this in jEdit?
By the way, I'm not intending to badmouth Commando - it seems like it will be very useful in some situations. It's just that in this situation, it seems like overkill for no benefit.
Getting rid of built-in Commandos from the list?
Submitted by Anonymous on Tuesday, 21 September, 2004 - 16:47
Is there a way to get rid of the built-in Commandos from the list displayed at the bottom of Plugins/Console? I don't care about a whole bunch of them, so from my point of view, they're just clutter.
Thanks.
Hex mode
Submitted by Anonymous on Tuesday, 21 September, 2004 - 17:44
I know that there's a hex plugin. But it just doesn't cut it. All it seems to do is allow you to load a file so that its contents are displayed in hex.
You shouldn't have to load a file, as the plugin makes you do - you should be able to toggle the display of any buffer back and forth from normal mode to hex mode, with just a simple built-in menu option and/or hotkey.
You should be able to edit the file; the plugin doesn't seem to allow you to. You should be able to edit the file both via the left-side hex display and via the right-side ASCII display.
jEdit windows appear blank
Submitted by Anonymous on Tuesday, 21 September, 2004 - 18:09
After I started jEdit the first time it appeared to have hung. All windows were blank - but then I noticed that my hard disk activity led was flsahing - Java seems to be very slow on my computer.
Nothing (much) wrong with that, but then I went and changed jEdit Appearance to something else than the default (can't remember what), did a restart of the program as instructed, but now all other windows remain blank (a sort of a light gray color) no matter how long I wait.
I suspect this is because of the Appearance. Where can I cahnge it back, since the Global Options dialog isn't showing correctly either?
Function parameters suggestion plugin (usual box with current param. bold)
Submitted by Anonymous on Tuesday, 21 September, 2004 - 19:16
Hello,
I'd like to know if there is someone developing (or planning to develop) such a plugin. If there is, i'd be glad to help. Otherwise, i could start developing the plugin myself, but it would be the first for me and i'm not a frequent java programmer, so i prefer the first case

In case i would begin developing it, what are the suggestions of you jEdit experts? What other plugins should i depend on?
From what other plugin should i get my ideas for the development?
Thank you
Console's macro functions in languages other than BeanShell?
Submitted by Anonymous on Tuesday, 21 September, 2004 - 19:28
I can get Console's macro functions (such as runInSystemShell) to work in BeanShell scripts, but not in Ruby scripts (via the SuperScript plugin). Does anyone know how?
Thanks.
Write Mode to treat period as a charchter?
Submitted by Anonymous on Tuesday, 21 September, 2004 - 21:29
I have a custom mode that I use. In this mode, a period is treated as a character. I would like to act as if abc.def were treated as a word when I double click to hilight or alt-. ctl-b etc.
ie.
[a-zA-Z0-9_\.]
Java Console Plugin please support stdin.
Submitted by Anonymous on Wednesday, 22 September, 2004 - 03:32
thanks!
jEdit and Zope External Editor
Submitted by Anonymous on Wednesday, 22 September, 2004 - 06:28
Hi,
I'm trying to use jEdit with the Zope External Editor. However, even with the -wait option, jEdit seems to detach itself from the controlling process. Does anyone have any hints about how to get this working? Thanks. I'm running jEdit 4.2final on WinXP.
Matlab Edit Mode (matlab.xml v1.0.4 by goebbe)
Submitted by
goebbe on
Wednesday, 22 September, 2004 - 13:56
Based on the Matlab Edit Mode by Chris Rose - slightly modified.
Can't Install on SUSE LINUX 8.0
Submitted by
evangelinux on
Wednesday, 22 September, 2004 - 22:30
I may just be overlooking something here:
I have both 1.4.05 JRE & SDK installed. I dropped the jedit42install.jar into /tmp, and tried to run it from the command line. Either nothing happens, or I get an error message (I'll try again later this evening to get the exact words) to the effect that I can't run it. If I double click on it in KDE, it wants me to pick a progam to open the file with. Do I need to change the permissions on the JAR file (as I have with regular binary installers)?
Thanks in advance,
Don
Modifying the prefix shortcut Ctrl-E
Submitted by
TomDok on
Friday, 24 September, 2004 - 10:19
Hello all,
started using jEdit more intensively and I would like to have jEdit as much as possible the same shortcuts as Netbeans. I can modify shortcuts in jEdit, but I don't know how to change Ctrl-E in jEdit.
In jEdit Ctrl-E represents a prefix for a shortcut. Entering it in the "Specify shortcut" dialog disables the OK-button.
My question is: is it possible to modify Ctrl-E, and if so: how ?
Thanks,
Tom
FYI: Ctrl-E in Netbeans means deleteLine.
Sidekick / structure browser and html files
Submitted by
kimjim on
Friday, 24 September, 2004 - 10:52
Hello, I run the newest jEdit on Mac OS X 10.3.5. I have a little problem with the structure browser. It doesn't render html pages correctly if I don't close link tags within the <head> with space + /. It displays the body as a child to head if i do not close, and displays correctly if do. But space + / is not html, it's xml AFAIK, and htmltidy doesn't like it.
My doctype declaration should be correct:
<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en"
"http://www.w3.org/tr/rec-html40/loose.dtd">
or
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
So maybe this is some kind of settings problem? Where does side kick / structure browser store information about the different doctypes? Should I download a cataloge file for my html 40 trans documents? Where could I get such a file, and where to place it?
Or is there anything else I can do about it?
Thanks for any help, kimjim
Auto-indent for XML mode?
Submitted by Anonymous on Friday, 24 September, 2004 - 13:56
jEdit XML mode is fantastic, but seems to be missing auto-indent as other modes have - am I missing something?
Suppressing Console's standard message?
Submitted by Anonymous on Friday, 24 September, 2004 - 19:38
Let's say I have a simple macro to run a DOS command:
clearConsole ( view );
runInSystemShell ( view, "echo Hi there" );
The output that I would like to see in the Console window is:
Hi there
Instead, I get:
This shell runs operating system processes.
Press TAB with an empty command line to list built-in commands.
Run built-in with --help argument to get a brief usage message.
Run %help to view Console plugin online help.
Errors generated by compilers and some other programs are listed
for easy one-click access in the 'Plugins->Error List->Error List'
window.
Working directory is C:\Program Files\jEdit
> echo Hi there
Hi there
Process echo exited with code 0
Working directory is C:\Program Files\jEdit
Is there a way to suppress all that extraneous stuff that Console is putting out?
Thanks.
Delete key
Submitted by Anonymous on Friday, 24 September, 2004 - 19:51
When the file-choosing dialog box is open, you should be able to select a file (or files) and delete them using the "delete" key.
You can currently delete them by right-clicking and choosing the "delete" option, but the natural keyboard-driven equivalent is missing.
"Windows" menu
Submitted by Anonymous on Friday, 24 September, 2004 - 20:58
There should be a "Windows" menu, or something like it, that allows you to easily switch to a particular buffer with a couple keystrokes.
I know that you can do the "CTRL-PAGEUP" kind of stuff, but you're reliant upon the (seemingly random) order in which the buffers are stored. With a "Windows" menu, each open buffer would be assigned a number, and if you want to get to, say, buffer 3, you do an "ALT-W 3". See Ultraedit for an example.
Incidentally, why are the buffers stored in a seemingly random order, rather than in the order in which they were opened? In particular, I'm using the BufferTabs plugin, which may or may not have something to do with this.
"Go to line" should set focus to the buffer's pane
Submitted by Anonymous on Friday, 24 September, 2004 - 21:25
The "go to line" feature should not only go to the specified line, but also set the focus to the buffer's pane.
The way it currently is, if your focus is in a different pane, it stays there. So, for example:
Say you compile something, with the output going to the Console plug-in's pane. You scroll through that pane (thus setting the focus to it), looking for reports of syntax errors. It says there's an error on line 37. You hit CTRL-L (i.e. "go to line"), and tell it to go to line 37. The buffer's pane now shifts so that line 37 is displayed. You start typing the correction for the syntax error.
Unfortunately, the focus is still on the Console plug-in's pane, not the buffer's pane. So instead of fixing your syntax error, you're doing random things in the Console plug-in.