jEdit Community - Resources for users of the jEdit Text Editor
Archives
auto indent inserts tabs
Submitted by mapo on Friday, 11 March, 2005 - 10:55
Hi,
although I chose "Indent with: Soft (emulated with spaces) tab" in the global options, the smart indent uses tabs. Why?
Thank you
Massimo
Caution: BeanShell at console can hang jEdit 4.2final
Submitted by Anonymous on Friday, 11 March, 2005 - 15:43
I accidentally hit Enter when typing "while (i < 20)" at the Console and jEdit hung, doing an infinite loop, since i was not being incremented.

Luckily, the autosave recovered my document, but thought I'd warn you all about this danger.

An execution-terminate key would be nice. As of right now, the documentation shows no terminate key for infinite BeanShell loops. I think this is possible by running BeanShell in a separate thread, and killing that thread on the execution-terminate key?

If there is an execution-terminate key, please have that documented.

(Windows version of jEdit 4.2final, using Console plugin downloaded as of yesterday from inside the editor.)
jEdit and blanks
Submitted by Anonymous on Friday, 11 March, 2005 - 19:56
I really like the functions of jEdit, and so I decided to make Windows open all *.php files with jEdit. So I made my operating system Windows XP to open all *.php files with this address:
C:\Programme\Java\j2re1.4.0_01\bin\javaw.exe -jar "G:\Programme\jEdit\jedit.jar"
Now I can open my *.php files directly, without starting jEdit and then opening it. Nisi the path of the *.php file contains blanks, then it doesn't work. And that's what I think is a bug. If it isn't, I would be very pleased if you would say me what I made wrong.
ErrorList errors
Submitted by Anonymous on Saturday, 12 March, 2005 - 09:39
I have problem when using javac. Errors from javac are recognized as warnings in ErrorList plugin. JCompiler doesn't have that problem.

With jikes there is a problem in showing errors in edit pane. Whole line is underlined as error, but it should underline just a part of line that jikes is showing like this: D:/work/SomeClass.java:105:22:105:34:
1. number is beginning line, 2. is beginning column, 3. ending line and 4. number is ending line of error.
jEdit 4.3pre2 now available
Submitted by slava on Saturday, 12 March, 2005 - 20:02
jEdit 4.3pre2 is now available. See the change log for details.
New unindentThisLine property
Submitted by Anonymous on Monday, 14 March, 2005 - 22:24
I don't know if this is user error, or a bug, so I thought I'd start in the troubleshooting forum.

I constantly use jEdit to edit Ruby scripts (whose files end in .rb). Ruby uses a lot of keywords to specify blocks and other areas where one might want to indent. For example

def foo( num )
     a=1
     begin
         # some code
         if a==1
             # more code
         elsif a==2
             # more code
         else
             # blah
         end
         # yadayadayada
     end
     return a
end

I can get indenting to work just fine when I use the indentNextLines="\s*((if\s+.*|elsif\s+.*|else\s*|do(\s*|\s+.*)|case\s+.*|when\s+.*|while\s+.*|for\s+.*|until\s+.*|loop\s+.*|def\s+.*|class\s+.*|module\s+.*|begin.*|unless\s+.*)*)"

However, if I add a unindentThisLine property, not only does it not work, it screws up my indentNextLines property. The following is how the same code above would look with indentThisLine="\s*((end\s*|else\s*|elsif\s+)*)"

def foo( num )
a=1
begin
# some code
if a==1
# more code
elsif a==2
# more code
else
     # blah
end
     # yadayadayada
return a
end

Normally, with only using the indentNextLines, I would get proper indentation after the begin, def, if, elsif and else statements. If I add the unindentThisLine property, not only do the lines not get unindented at the right time, but the indentNextLines breaks. As you can see in the above example, I only got indentation *after* and "else" or an "end" (which were specified in unindentThisLine). And only the next line was indented, after that it unindented.

So, it seems that the addition of unindentThisLine break indentNextLine, plus anything I specify in unindentThisLine does not unindent, but rather indents the next (and only the next 1) line.

Am I doing something wrong? Or is this a bug?
Project encoding
Submitted by Anonymous on Tuesday, 15 March, 2005 - 09:47
hi!

it would be very useful to set encoding to entire project, not only when opening files by one.

thank you!
How to move profile directory ?
Submitted by Anonymous on Tuesday, 15 March, 2005 - 14:58
Is there a way to move jedit's profile directory under windows from "C:\Documents and Settings\username\.jedit" to another location ?
Since the profile space is restricted to 20 MB in our network, I've got to (partially) delete it before I can log off.
Highlighting Matching Tag Issue
Submitted by Anonymous on Wednesday, 16 March, 2005 - 07:23
Hi, I know there is a way for Jedit to outline the matching tag with any color given, but is there a way to have it set a background color for the matching tag instead of just outlining it?

Thanks.
Removing period at the end of line
Submitted by Anonymous on Wednesday, 16 March, 2005 - 14:24
Is there a way to not display the "." period at the end of each line. I find it very hard to edit anything with jedit because the language I use already uses periods at the end of line. Having to periods at the end kind of throws me off. Any help appreciated.
Thanks.
gnome clipboard daemon
Submitted by Anonymous on Wednesday, 16 March, 2005 - 19:08
I run Jedit on Ubuntu Warty, Kernel 2.6.8, Gnome 2.8, and if I use the "gnome clipboard daemon", copy and past don't work in Jedit...
I have tryed Jedit 4.2 and 4.3pre2 and the probleme is the same.
Favorite files plugin?
Submitted by Anonymous on Thursday, 17 March, 2005 - 17:12
Is there a plugin that will create a menu with manually addable items for files (kind of like the Bookmarks menu in a web browser)?

I know about the "Favorites" option in the file manager but that seems like it can only bookmark paths rather than specific files. There is also the "Bookmarks" plugin but that doesn't really seem to have same goal as what I'm looking for and would be cumbersome for my purpose.
Move-Drop Icon too big
Submitted by Anonymous on Friday, 18 March, 2005 - 12:17
If you find the icon for the move / drop operation gets in the way and obscures where you want to drop selection try this solution:
This is using j2re1.4.2_06 - the problem may not exist in other versions
Find file "motif_MoveDrop32x32.gif"
in
/usr/java/j2re1.4.2_06/lib/images/cursors/motif_MoveDrop32x32.gif
or wherever your jre folder is
Open in gimp (may have to change read/write permission)
Select white area - leave just little bit of white around edge
Make it transparent
Save.

This will, I expect change icon, in all java apps.
You could also try editing "cursors.properties"
I'm sure there might be better wys but this seems to work!
Project Viewer enhancements
Submitted by Anonymous on Friday, 18 March, 2005 - 14:36
In Project Viewer, when adding a new project, I'm limited to choosing a local location for project root, but I often work on remote files. I can add files from VFS and get my remote files, but I can only add one file at a time. That's very time-consuming. Would like to be able to import files from directories on remote servers. Also: projects can only consist of files, but not directories? Would like to add directories/folders as part of a project, to be able to organize my project similarly to how it will exist on the filesystem when deployed.
Plugin central updates - 2 new, 15 updated
Submitted by slava on Sunday, 20 March, 2005 - 06:33
A new batch of plugins is now available from plugin central. You can read the change log. Thanks to Dirk Möbius, Ollie Rutherfurd, Oliver Epper, Anthony Roy, Matthieu Casanova, Bertalan Fodor, Marcelo Vanzin, Rudolf Widmann, Nathan Fiedler, Uzi Landsmann, Will Simpson, Nicholas O'Leary, Doug Breaux, and Sergey Udaltsov for submitting updated plugins, and Ollie Rutherfurd and Jeffrey Hoyt for packaging them.
New version ProjectViewer and SQL together.
Submitted by Anonymous on Sunday, 20 March, 2005 - 11:29
Hi,

When I install new versions of ProjectViewer and SQL plugin, working together is ended with error:
Cannot start: java.lang.NoClassDefFoundError: projectviewer/config/ProjectOptionsPlugin.

Please, help me.
tom.
You have BeanShell version 2.0b1.1-jedit-1 in your CLASSPATH
Submitted by Anonymous on Monday, 21 March, 2005 - 14:09
[error] BeanShell: You have BeanShell version 2.0b1.1-jedit-1 in your CLASSPATH.
[error] BeanShell: Please remove it from the CLASSPATH since jEdit can only runwith the bundled BeanShell version 2.0b1.1-jedit-1

what i need to do?..
Java Runtime for MAC OS 10.2.8
Submitted by Anonymous on Tuesday, 22 March, 2005 - 02:34
Up installation and start-up an error message is retunred, "MAC OS Plug-in requires a later version of java (MRJ 99)" What do I need, I tried installing MRJ 2.2.26 but was returned a that the latest version was installed.
Saving HyperSearch results in a separate file
Submitted by Anonymous on Tuesday, 22 March, 2005 - 06:57
I wonder if there is a way to save HyperSearch results in a separate file.
Community site
Submitted by Anonymous on Tuesday, 22 March, 2005 - 08:31
Hi there,

I have been watching this community for a few days and looks like no serious communication takes place. I as a lot of other people am looking for sharing knowledge and information on using jEdit.

Is there any other place out there where this is done ?

regards
User login
Browse archives
« March 2005 »
MoTuWeThFrSaSu
 
1
10
12
13
19
26
 
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   108249
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