jEdit Community - Resources for users of the jEdit Text Editor
Archives
python indentation trouble
Submitted by Anonymous on Saturday, 26 June, 2004 - 14:16
hi, i'm trying to use jedit with python, but jedit fails in indentation

e.g
i define a loop ('_' instead of ' ' for readability)
for i in range(10):
____print i
then to get out of the loop, i hit : but it doesn't unindent as needed, it just goes 1 space back. In every other python editor i've been using for years (emacs, idle, etc) behaves as expected.
for i in range(10):
____print i
___outSideOfTheLoop
instead of
for i in range(10):
____print i
outSideOfTheLoop
so i can't use jEdit to python
I can't find a required plugin
Submitted by Anonymous on Saturday, 26 June, 2004 - 20:39
I would like to use the lilypond plugin for jedit, downloaded and added it to the .jedt/jars directory. Then restarted jedit and it told me I needed another plugin, got it, restarted, now need another plugin, etc, so far about a dozen times. I am still being told I need the plugin jhall.jar. I thought I finally found it and so copied it to the directory but now that results in another error, so I renamed it to .old. Now when I start jedit I am told lilypond plugin requires jhall.jar plugin.
Anyone have this plugin or know where I can get it?
Thanks
Make line comment command act as a toggle.
Submitted by Anonymous on Sunday, 27 June, 2004 - 09:24
I modified the JEditTextArea.lineComment method to insert a comment at the very beginning of the selected line(s) if the line(s) didn't already begin with a comment. The comment is removed if it is already there. This allows the "line comment" command to act as a toggle - commenting out uncommented lines, uncommenting lines already commented.

Would this be a useful feature?

Code from JEditTextArea.java (JEdit 4.1 final), beginning at line 4119:

String text = getLineText(lines[i]);
// Toggle comments at beginning of line, add if not there, remove if there.
if (text.startsWith(comment)) {
buffer.remove(getLineStartOffset(lines[i]), comment.length());
}
else {
buffer.insert(getLineStartOffset(lines[i]), comment);
}
// buffer.insert(getLineStartOffset(lines[i]),
// + MiscUtilities.getLeadingWhiteSpace(text),
// comment);
plugin doesn't work correctly
Submitted by Anonymous on Monday, 28 June, 2004 - 05:39

I have jedit-4.1 and the appropriate plugins installed and running. On the web site http://lily4jedit.sourceforge.net/

I see these instructions-

Go to Utilites->Global Options and select jEdit->Docking node. Set the following dockings:

    * Error List: bottom
    * LilyTool: top
    * LilyTool Console: bottom
    * Structure Browser: left

But when I do this I do not have the lilytool options in the list. The other plugins are listed.

then this -

At jEdit->Editing node:

    * set "Change settings for mode:" to "lilypond".
    * set "Folding mode" to sidekick".

Again, my menu does not have the option for lilypond, but does have sidekick.

And this point -

Select Plugins->LilyTool node.

    * If you use Windows you have to set the path to bash.
    * Set the path to your PS viewer.

On my list of plugins I see Lilytool and lots of options but no Node or anything like that.

The biggest problem is I have no syntax highlighting for lilypond, so I have it set to tex to get some highlighting.

I have installed lily4jedit-0.2 and jedit-4.1 on FreeBSD-5.1. I have installed the plugins - lilypondtool, lilyjhelp,sidekick, console, and several others, and the lilymode.xml is in the .jedit/modes directory. I have added the appropriate line from the lilymode.xml file to the catalog file, restarted jedit, and still do not have the above mentioned options and syntax highlighting.

Any suggestions on what to do next?

Thanks,

Chip

Adding classes to the Jython classpath
Submitted by Anonymous on Tuesday, 29 June, 2004 - 14:49
Please can someone tell me how to add jars to the classpath so that the JEdit Jyhton interpreter can see 3rd party Java classes? Does the interpreter use the system classpath?

Thanks,

Jasmin
option to disable "Files Changed on Disk" dialog - add icon to buffer tabs instead
Submitted by paulflory on Tuesday, 29 June, 2004 - 15:13
I often use jEdit to effectively "tail" log files that are active and changing periodically while editing other files.

Unfortunately, the dialog "Files Changed on Disk" pops open repeatedly and has become an annoyance, although the information is certainly helpful.

It would be wonderful if there was an option to disable this dialog.

Furthermore, it would be even better if we had an appropriate icon appear on the respective buffer tab indicating that the file changed. That way we could see at a glance which files have changed on disk and continue editing files at the same time.

Anyone else second this request? Alternatives?

Thanks,
Paul
Line between brachet in PHP
Submitted by Anonymous on Tuesday, 29 June, 2004 - 17:04
Yes, what the title says, i can't get this working. Can somone please tell me how i do this. You can see an example of what i mean in this screenshot: http://www.jedit.org/jedit-snap-29.png
Opening a file with a local apache server
Submitted by Anonymous on Wednesday, 30 June, 2004 - 12:38
Hello

I can't find a way to open a file in my browser from my local Apache server when that file is in a directory.

In MacOS X the default path for Apache is /Library/Webserver/Documents. But if I put a file in a directory /Library/Webserver/Documents/Jedit_file and i open the file from jedit, it always loads as http://127.0.0.1/the_jedit_file.php and not as http://127.0.0.1/Jedit_file/the_jedit_file.php.

Does anybody know how i can add this to a macro?

Thnx

Sjmielh
-settings with relative path names
Submitted by mirko on Thursday, 1 July, 2004 - 09:15
I use Jedit on an external Harddisk, which I use
at work, at customers and at home. It would be nice, if
I could define the -settings propery as follows:

-settings=./.jedit

which wuld put the jedit settings in a directory named
.jedit under the same directory as jedit.jar is located.
At the moment this is not possible. Every relative path is
resolved as relative to the user home (for example c:\dokument and settings\
[username]\.jedit).

If that is not possible, it would be nice, if jedit had a variable, containing its own directory, so that on could type:

-settings=${jedithome}\.jedit

Yes, I know, it is possible to specifie "%CD%" to get the
jedit.jar path on a windows command line. But as I use the
jsmooth (http://jsmooth.sf.net) executable jar wrapper to
get a better integration of jedit with the windws os, this
is not possible.
How to Select this?
Submitted by Anonymous on Thursday, 1 July, 2004 - 09:31
Hi, I often have the following problem: I want to select the content of such XML-Tags: P_Hauptmenu1 P_Kontoinformationen P_Zahlungsverkehr P_Devisen P_Se P_Beenden At best with one action. The content starts all at the same column, however it ends in diferent columns. How can I select the content to i.e. delete it? This Problem may also be a couple of variables that get assinged asdf = alkdfakjdf = kfkkghjg= df = 444 alkdjalkje4oihaognoadnigkang = 44
How to Select this?
Submitted by Anonymous on Thursday, 1 July, 2004 - 09:34
Hi, I often have the following problem: I want to select the content of such XML-Tags:
<>P_Hauptmenu1<>
<>P_Kontoinformationen<>
<>P_Zahlungsverkehr<>
<>P_Devisen<>
<>P_Se<>
<>P_Beenden<>
At best with one action. The content starts all at the same column, however it ends in diferent columns. How can I select the content to i.e. delete it? This Problem may also be a couple of variables that get assinged asdf =
alkdfakjdf =
kfkkghjg=
df = 444
alkdjalkje4oihaognoadnigkang = 44
Single point of entry for all options
Submitted by mak on Thursday, 1 July, 2004 - 10:17
Please integrate the plugin options into the global options window as it was in jEdit 4.1. The plugin help is still part of the global help - so why aren't the plugin options part of the global options anymore?

In jEdit 4.1 you didn't have to think about which option you want to edit - you just opened the option window and did your changes. But in jEdit 4.2 there is no more single point of entry - you have to know where to go to before you can change the settings Sad
Drag 'n drop crash JEdit 4.2 pre13
Submitted by Anonymous on Thursday, 1 July, 2004 - 14:08
Hello,

Drag'n drop crashes all the time with me. But I don't know if the problem is because a bug in JEdit or in Java (Because I use Java Developer Beta; java version "1.4.2_04" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-135) Java HotSpot(TM) Client VM (build 1.4.2-36, mixed mode)). Are there any other MacOS X users how have a drag 'n drop crash in Jedit pre13?

Sjmielh
Code Browser Toggle?
Submitted by jpbroome on Thursday, 1 July, 2004 - 17:46
I like the Code Browser plugin, but I don't always like it visible. I haven't found a shortcut option to toggle its visibility (or the visibility of the docking area it's in - left, in my case).

Anyone done this, or know how?

Thanks.
Can jEdit do a Java Method lookup?
Submitted by parussel on Thursday, 1 July, 2004 - 19:03
I’m using jEdit 4.1 final for some java development. I would like to be able to select a method, and see a list of all of the places that this method is used. Does anyone know of a plugin or set of plugins that might provide this sort of functionlaity? I’ve investigated the JExplorer plugin, but was unable to get it working due to the dependency on Project Viewer, and issues I am having getting Project Viewer 2.0.3 to work with 4.1 final.

Thanks in advance!

Paul
Can jEdit do a Java Method lookup?
Submitted by parussel on Thursday, 1 July, 2004 - 19:07
I’m using jEdit 4.1 final for some java development. I would like to be able to select a method, and see a list of all of the places that this method is used. Does anyone know of a plugin or set of plugins that might provide this sort of functionlaity? I’ve investigated the JExplorer plugin, but was unable to get it working due to the dependency on Project Viewer, and issues I am having getting Project Viewer 2.0.3 to work with 4.1 final.

Thanks in advance!

Paul
Unix Version Locks X-Window on Wintel PC
Submitted by cedombek on Thursday, 1 July, 2004 - 19:56
I have 2 editors who want to use jEdit on our Sun server to edit XSLT. One uses Netsarang for X-emulation on a Win2K PC, the other uses Hummingbird Exceed. When jEdit is launched on the Exceed box, it siezes control of the entire Windows desktop, anchoring to the lower right hand corner of the screen. I can find no config file that controls windowing behavior for jedit and the X-emulation software in both cases is set to Multiple Windows. Any thoughts suggestions would be helpful.
Ruby Commando File (ruby.xml v1.0 by Christophe Grandsire)
Submitted by Tsela on Friday, 2 July, 2004 - 07:27
A simple yet complete Ruby commando file, allowing you to run your Ruby scripts directly from jEdit. It has run, check syntax and debug options. It also handles safety (tainted checks) and warning levels, and allows you to set command-line arguments to your scripts, among other things.
Ruby Edit Mode with Working Auto-Indenting (ruby.xml v2.0? by Ian McLean, Chris Morris & Christophe Grandsire)
Submitted by Tsela on Friday, 2 July, 2004 - 07:41
An update of the original Ruby mode file, which adds auto-indenting which was missing from the original file. I hope it could replace the original Ruby mode file, if no one objects to it.
JavaScript Code Completion ?
Submitted by theWax on Friday, 2 July, 2004 - 10:30
Hi,
is there a way to get jEdit in *JavaScript mode* to give me code hinting (code completion).

oh man, i woul love to have that....

cheers,
w.
User login
Browse archives
« June 2004 »
MoTuWeThFrSaSu
  5
6
10
12
13
16
20
 
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