jEdit Community - Resources for users of the jEdit Text Editor
Archives
jEdit clobbering file's group
Submitted by easley on Thursday, 23 August, 2007 - 08:12
On my Linux box, I changed the group and permissions of a file so certain other users can also edit it. My 'main group' is "david", so by default any files I create have this as the group. The common group between me and the other users who need to edit this file is called "users". I used chgrp to change the group of the file to "users". "ls -l" confirms the group is now "users". When I open the file in jEdit, update and save, the group gets changed back to "david". When I change the group to "users" again try editing the file with a native editor (e.g. gedit) the group is not clobbered on save.

I'm using version 4.3pre10, installed using the Java installer.

Anyone know how to work around this? Should I report it as a bug?

David
Javascript Editing Performance
Submitted by seani on Friday, 24 August, 2007 - 14:19
Hi,

I'm changing some largish JS source code files (5000 ~ 10,000 lines), and I've noticed that there's quite pause when I type a function name followed by a "(" character in these files.

I'd guess this is something to do with some sort of code-completion/parsing. Any insights, and how would I turn off whatever behaviour might be causing the delay?

Thanks

Sean
jEdit startup behavior on WinXP
Submitted by NMPE on Friday, 24 August, 2007 - 15:54
When I installed jEdit I chose to have it start automatically when Windows started. Now I don't want that behavior anymore. (I don't mind waiting for it to load completely on the odd occasion that I use it now.) Is there any way I can change this setting without removing it and reinstalling? [jEdit4.3pre9 using Java 1.6.0_01]
JEDIT 4.3PRE10 Halts or Crashes
Submitted by tcwaggoner on Friday, 24 August, 2007 - 23:21
JEDIT 4.3PRE10
Java 1.6.0_02
Win2K

Problem: Program crashes when any menu is selected.

Work Around: Rename or delete sub-folder “startup” in folder “jEdit”
mcse exam preps ?
Submitted by jakannan on Saturday, 25 August, 2007 - 22:01
i am studying for my mcse 2003 exams . I have a week to prepare for my 070-290 exam . Iam looking at
some practice exams to purchase for my exam . anyone knows how good are certmagic.com practice exam for
070-290 ? . plz let me know if they are well worth it or they are not
Windows jEdit launcher for Ant (bare name launcher)
Submitted by ajcacho on Sunday, 26 August, 2007 - 17:57
Hi
Here’s my two cents contribution (ok, I’m overrating this):
For invoking jEdit from Ant, irrespective of platform (i.e. not using OS specific code in Ant), it would be nice to invoke jEdit as a bare name, without extension.
Doing so it would try to launch jedit.exe in Windows and the jedit script in other OS (linux/bsd/...). But there's none in the 4.3 build.
For such purpose the Windows exe launcher of jEdit4.1 can be reused.
Here’s the procedure, step by step:
1. First be sure to have jEdit4.1 for Windows installed in the exact location intended for jEdit4.3 (if using other releases, better be sure to uninstall them first);
2. Copy to a backup directory apart the files with extensions exe, dll and .reg.txt, which where placed by the jEdit4.1 installer in the main jEdit directory;
3. Uninstall jEdit4.1;
4. Install jEdit4.3 to the previous location;
5. Copy the files from the backup directory (exe dll ...) to the main jEdit directory - notice that those files don’t have names clashing with the names used for the jEdit4.3 installation;
6. Test running the exe launcher from the command-line, and if necessary answer appropriately their initial questions by browsing to the java bin directory and so on.
I find it very useful to script in ant the editing of very large file sets. Alternatively jEdit can preserve specific work file sets.
Cheers,
Antonio
Paste_Around (Paste_Around.bsh v0.2 by Gael Ecorchard (galou))
Submitted by galou on Tuesday, 28 August, 2007 - 12:57
Paste the content of register 'a' before the selection (prefix) and the content of register 'e' after the selection (suffix) Usage: - select the prefix part and paste it into register 'a' (C-r C-c a) - select the suffix part and paste it into register 'e' (C-r C-c e) - select something and use the macro. Works also with empty selection. Does not work yet with multiple selections and rectangular ones (error message) Best used with a shortcut like CS-v
New view and accented vowels
Submitted by danlugli on Wednesday, 29 August, 2007 - 13:50
Hi, I am working with jedit 4.3pre10 using java 1.5.0_12.

1) I launch jedit and open a cpp source (the command 'file' returns 'ASCII C program text').

2) I ask for a new view of the same file.

3) In the first view, I modify a comment adding a word with an accented vowel, eg 'però' (Italian keyboard).

4) The result: I get 'per' in the right place, and the accented vowel 'ò' in a random place (sometimes at the beginning of the same line, sometimes some lines down).

Ever seen that? Any solution?
Macro to insert comment token and indent (XEnter.bsh) (XEnter.bsh v0.1 by Gael Ecorchard (galou))
Submitted by galou on Thursday, 30 August, 2007 - 12:51
insert new line, then behaves either as normal insert enter and indent, if the line is a normal code line or insert the line comment token and indent the line if the current line is a comment Usage: - use the macro at the end of a comment line Best used with a shortcut like S-Enter
OS X and the Alt key
Submitted by denserMan on Friday, 31 August, 2007 - 05:49
In the Find dialog I enter my search terms and then press Alt + L to search all buffers and while the appropriate radio button becomes selected, a symbol appears at the end of my search terms, thereby making me have to delete it before performing the search.

I tried this with both 4.3pre10 and 4.2 final.

What is the problem?

TIA
Plugin Error
Submitted by sumitnavare on Friday, 31 August, 2007 - 09:02
Hi,
I am getting this error while trying to install any plugin -
"Error while downloading the plugin, please try another mirror.
Connection refused."
I have tried different mirrors but all give the same error.
Any solutions? Or is there any way to manually install the plugin?

Sumit
execute script file ( *.pl) on Win XP service pack 2
Submitted by ronaldo_phong on Friday, 31 August, 2007 - 22:36
after writting a script with Jedit, i saved it with file.pl . But when i execute it , it appear message " *.pl is not valid WIN32 application". Can u you me how to execute this files. and what command can be used to execute file.pl
Freemarker Square Braces Support
Submitted by rjuyal on Monday, 3 September, 2007 - 07:24
For Freemarker there must be square braces support too, instead or with, support of < and > braces.
if this support is already there then please tell me.

Thanks
Rakesh Juyal
r.juyal@gmail.com
selecting text from current position till a pattern to search
Submitted by rsc on Monday, 3 September, 2007 - 11:35
I often have the task to select or delete a text (more than one line) from the actual position till a pattern to search for. If you know UEDIT there you can press "shift" and initiate the search. All the text from the current position including the string found will be marked.

I accomplished this by recording a macro and manipulating the Java code afterwards. However, if you are recording a quick macro this is much too intricate.

What did I miss?

Thanks for your help, Rolf.
autoindent and matlab
Submitted by skvalen on Monday, 3 September, 2007 - 14:29
hi, I have fiddled with the autoindent in matlab mode, and i come up with this:

< PROPERTY NAME="indentNextLines" VALUE="^\s*(if|for|function|switch|try|while)([\t ]*\(|[\t ]+|$).*(?!end)$" />
< PROPERTY NAME="indentNextLine" VALUE=".*?\.{3}.*" />
< PROPERTY NAME="unindentThisLine" VALUE="^\s*(end|else|elseif([\t ]*\(|[\t ]+).*|case|otherwise|catch)[\t ]*(%.*)?$" />
< PROPERTY NAME="unindentNextLines" VALUE="^\s*end\s*(%.*)?$" />

that gives something like this:
if foo
    bar
    end
    foobar

and that is wrong, but if I mark it and press 'indent-lines' (c+i) I get:

if foo
    bar
end
foobar

which is correct.

Anny idea who this can be correct on the fly?
Perl regexp spanning multiple lines
Submitted by imgod2u on Tuesday, 4 September, 2007 - 19:00
I'm not sure if this has been covered before and/or is a current feature or plugin (searched but couldn't find anything) but it'd be nice if syntax highlighting (for perl) were able to recognize the use of the /x operator that allows a regexp in perl to ignore whitespace (and thereby, spanning multiple lines without having the regexp look for a newline). Or even just have syntax highlighting recognize regexps that span multiple lines. It's a pet peeve but I figure if it's going to be doing syntax highlighting, it might as well cover all of the features of the language.
SyntaxHelper (SyntaxHelperPlugin.jar v0.1 by Shlomy Reinstein)
Submitted by shlomy on Friday, 7 September, 2007 - 02:52
The SyntaxHelper plugin maks it easier to configure the syntax highlighting styles in jEdit by providing the syntax highlighting option pane in a dockable, with the following features: 1. Immediate feedback in the buffer when a style is changed 2. Ability to cancel changes to styles 3. Tracking the caret and marking the style used for the token under the caret.

Note: This plugin works only with the development (SVN trunk) version of jEdit. It won't work with jEdit 4.3pre10.

10 Sep: Updated with a few bug fixes.

jEdit 11pre
Submitted by George Dunham on Friday, 7 September, 2007 - 05:20
Hi All

I see plugins for 11pre but can't seem to find jEdit 11pre. Please, where do I look?
colorizing text
Submitted by sinebubble on Friday, 7 September, 2007 - 18:03
I'm working with a fairly large shell script with lots of if statements. I'm trying to find some way of colorizing blocks of text to show my closed if statements, but I'm not having any success. Couldn't find a plugin to do the work, either. Any advice?
Installer won't start
Submitted by Riker on Friday, 7 September, 2007 - 22:20
Whenever I try to start the jEdit installer, I keep getting the "Please install JDK or JRE" error. I've installed the latest version of JRE twice, and it still won't start. Any ideas?
User login
Browse archives
« August 2007 »
MoTuWeThFrSaSu
 
2
4
5
8
10
13
15
17
18
19
23
27
 
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