jEdit Community - Resources for users of the jEdit Text Editor
Quick question regarding autoindenting
Submitted by Jamalarm on Tuesday, 5 February, 2008 - 16:21
Hi,

Very quick question. What do i have to modify in order to change the autoindent from a TAB to three spaces when working with .java files. I had a look around, and i found the file i needed to change, but i couldn't work out what it was that needed changing, as it were.

Thanks enormously,

Tom
Adding shortcut keys to run buffer in Jython Interpreter
Submitted by ras on Thursday, 31 January, 2008 - 20:10
I'd like to switch to using jEdit, but I've run into a major stumbling block. I do all my coding using voice recognition software, and I'm writing a lot of code in Python. I want to run Python scripts through the Jython Interpreter, but I can't figure out how to set up a shortcut key that's the equivalent of putting the "run current buffer" button (if I can set up a shortcut key, I can run the sucker by voice). In Global Options -->Shortcuts, it lists the Jython interpreter plug-in, but all the commands seem to do the same thing -- just open up the interpreter. Any idea how I can work around this?

Thanks,
Anders Schneiderman
Alternative block-fill macro
Submitted by Robert Schwenn on Saturday, 26 January, 2008 - 00:59
Hi,
the block-fill feature of TextTools Plugin doesn't insert more characters per line than fit into the selection's width (the text is cut).

A macro with a different behavior can be downloaded here.

These are the differences to the original function of TextTools Plugin:

1. No choice to overwrite or not the selection. Instead, the selected text is deleted and the new text or number is inserted with it's full length. When numbering, the longest inserted number defines the length of inserted text.

2. Improved performance on large selections because of:
- Removed support for multiple selections (what's the expected result else?)
- Removed support for tab handling (there should be no tabs ...)

Robert
4.3pre12 mac os increase heap
Submitted by upton9265 on Tuesday, 22 January, 2008 - 17:04
Hi All,

I just downloaded and installed jedit4.3pre12 on my Mac OS X(10.4.11) using the .dmg file. Once installsed, I tried loading a large file (~27MB) and I got a "OutOfMemory" error. I've seen this posted before, but I can't seem to find the Info.plist file folks mention to modify. How do you modify the java VM parameters? (this is probably more a Mac question, I suspect. I'm new to the Mac, having used the windows version of jedit).

thanx
steve upton
shortcuts printout
Submitted by srikrishnan on Tuesday, 15 January, 2008 - 16:52
Hi All,

Is it possible to take printout of Default as well as User defined shortcuts list, for our easy reference?

Regards,
Srikrishnan
TextAutocomplete VK_TAB
Submitted by kircheis on Wednesday, 2 January, 2008 - 17:56
I was wondering if other people have any problem with VK_TAB as accept key on TextAutocomplete.
It simply doesn't work for me. I can only complete with VK_ENTER. Is there something I'm doing wrong? Not sure if it is a bug. I simply put VK_TAB but nothing happens when I try to complete. It doesn't work on default either.
Modifying TextAutocomplete's "Is word to remember" option
Submitted by kircheis on Wednesday, 2 January, 2008 - 12:26
I haven't been able to make TextAutocomplete plugin recognize Cobol procedure names in a format like:

000000-MAIN-ROUTINE

Since there are numbers and a dash this is ignored. According to the documentation I should modify the "Is word to remember" option but I couldn't make it work like it should.
count number of findings
Submitted by srikrishnan on Wednesday, 2 January, 2008 - 07:52
Hi All,

Is there any option to count and display the number of find/find & Replace done in the selected buffer/file?

Regards,
Srikrishnan
compare two files
Submitted by srikrishnan on Wednesday, 2 January, 2008 - 04:39
Hi All,

I am new to this forum.

I came to knew about JEdit through the Book "XSLT 2.0 Programmer's Reference, Third Edition by Michael Kay" which I bought last year.

From the date onwards I am using JEdit instead of Ultra edit on both of my "Windows XP" and "Ubuntu" Operating Systems.

It is incomparable even with any proprietary softwares.

First of all I thanks all of those who developing this Editor.

I have one doubt, very often I need to compare two documents. But I am not able to found any option for that purpose in JEdit.

Is there any option for that?

Regards,
Srikrishnan
Automatic indenting of (PL) SQL
Submitted by net-res on Tuesday, 18 December, 2007 - 07:29
When I edit PL-SQL files in jedit, with jedit set to PL-SQL (or any other SQL) mode, C-i removes all indentation rather than fixing it. For example

BEGIN
____select seq.nextval into col1 from dual ;
____return col1;
END;

becomes

BEGIN
select seq.nextval into col1 from dual ;
return col1;
END;

after C-i

How can I fix this?

(had to add underscores since the forum removed leading spaces and tabs)
multiple selection mode: how to automatically obtain selections without using the mouse
Submitted by drefty on Friday, 14 December, 2007 - 16:41
Problem:
Activating and deactivating 'multiple selection mode' is easy to do and works well. The problem is, I am looking for a way to obtain multiple selections automatically via macro, without having to hand-click the selections I want with the mouse.

The goal is to:
1) be able to multi-select every occurrence of a regex match in the entire document;
2) be able to multi-select every occurrence of a regex match within a specified line range (or within current selection);
3) do all of this without having to use the mouse

TIA for any info or pointers.
Creating a Console command to run in the background
Submitted by ntbenari on Monday, 10 December, 2007 - 07:08
I'd like a Console command to run in the background.
If I enter & at the end of the line within the Console
window it works, but I get parse errors when I try to add
it in the Commando xml file.
I've tried:
buf.append('&');
buf.append('&&');
buf.append('\&');
and every other escape I can think of ... but no luck.

Thanks
Moti
4.3pre11, Vista, jre1.6, -reuseview argument not working
Submitted by TimMagee on Thursday, 29 November, 2007 - 21:55
Hi,

I've recently installed 4.3pre11 on Windows Vista and I'm having trouble getting any play from -reuseview.

Previously I've used 4.1, then 4.2 + Ollie R's jEditLauncher to achieve the same effect, but this time I thought I'd brace myself and get jEdit using a single view without resorting to jEditLauncher. I don't seem to be able to do it though. I can see on the forum that other people have succeeded, which inspires hope.

My use case is:
open Windows Explorer.
navigate to a folder with some text files in it
select two text files
right-click the selection and choose 'Open with jEdit'
BAM - two jEdit windows.

jEdit server is set up to run on startup, and is running during the above use case:
"C:\Program Files\Java\jre1.6.0_02\bin\javaw.exe" -Xms64M -Xmx192M -jar "C:\Program Files\jEdit\jedit.jar" -reuseview -background -nogui
(when first installed the -reuseview option wasn't there, I added it in a forlorn attempt to circumvent the problem).

The 'Open with jEdit' command associated with '*' in the registry under HKCR looks like:
[HKEY_CLASSES_ROOT\*\shell\Open with jEdit\Command]
@="\"C:\\Program Files\\Java\\jre1.6.0_02\\bin\\javaw.exe\" -Xms64M -Xmx192M -jar \"C:\\Program Files\\jEdit\\jedit.jar\" -reuseview \"%1\""
(this is as installed).

Can anyone help?

Cheers,
Tim
lightweight text editor jar?
Submitted by boardtc on Friday, 23 November, 2007 - 15:25
I've never used JEdit and am relatively new to the Java community, so please be gentle Smiling
I need to provide a very basic text editor in my swing app. I don't think a commercial app would be allowed to distribute JEdit is my understanding but anyway the distribution footprint is likely too large for my needs...

Rather than reinventing the wheel are there any freely available fine tuned lightweight editors available in a jar that I can use for this purpose?

Thanks,

Tom.
Key Command to Move From Console to Text Area
Submitted by cpsmusic on Thursday, 22 November, 2007 - 23:56
Hi,

Is there a key command that moves the caret from the console back to the text area?

Cheers,

Chris
Missing entry for Console in Global Options
Submitted by hotcore on Thursday, 22 November, 2007 - 19:26
Hello,

i created a command which i am able to run using Console.
Now i wish to associate that command with "Compile current buffer".
The documentation for the Console plugin says:
"Commandos can be associated with edit modes in the Console>Compile & Run pane of the Global Options dialog box.".
However, i cannot find an entry "Console" and "Compile & Run" in "Global Options" panel.

Any ideas?

TIA,
Arie
Creating edit modes
Submitted by OBI_Ron on Monday, 19 November, 2007 - 22:01
Hello Everyone, I would like to create an edit mode for a specific file type / extension = igs. However, the file type has the following as the first line: Because of this (I think), the syntax highlighting is taken from xml.xml, and ignores my igs.xml. Is there a way to force the file to use the igs.xml? Or will I have to modify the xml.xml? If I do need to modify the xml.xml, is it best to use a new ruleset vs modifying an existing one? Thanks in advance!
Creating edit modes
Submitted by OBI_Ron on Monday, 19 November, 2007 - 21:56
Hello Everyone, I would like to create an edit mode for a specific file type / extension = igs. However, the file type has the following as the first line: Because of this (I think), the syntax highlighting is taken from xml.xml, and ignores my igs.xml. Is there a way to force the file to use the igs.xml? Or will I have to modify the xml.xml? If I do need to modify the xml.xml, is it best to use a new ruleset vs modifying an existing one? Thanks in advance!
jEdit Font Courier New != Windows Courier New ?!
Submitted by uhuebner on Thursday, 15 November, 2007 - 13:02
I'm using jEdit 4.2pre11 on Windows XP.
Text Area font is Courier New 12.
Why does it look completely different (may I say ugly?) from the Windows one?
Can I use the Windows font?
CtagsSideKick case insensitive tag sort?
Submitted by colinl on Thursday, 8 November, 2007 - 16:36
Hi
I use CtagsSideKick with C++, it is excellent. Unfortunately I have legacy code that is inconsistent in the case of function names. When I sort tags by name it correctly but non-intuitively (for me anyway) sorts all functions starting in upper case before those starting in lower case. Is there a way of getting it to ignore the case?
Thanks
User login
Browse archives
« July 2025  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
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   109183
Context Free Art (*.cfdg)   0.31   46075
BBEdit scheme   1.0   18610
JBuilder scheme   .001   18511
ColdFusion scheme   1.0   18044
R Edit Mode - extensive version   0.1   17492
Advanced HTML edit mode   1.0   16226
Matlab Edit Mode   1.0   16089
jEdit XP icons   1.0   15248
XP icons for jEdit   1.1   14312