jEdit Community - Resources for users of the jEdit Text Editor
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
Saving & Editing Read-Only Files
Submitted by drperrier on Sunday, 4 November, 2007 - 18:58
I want to edit and then save a read-only file and I can't seem to do this. The "Read Only" macro built in only seems to work one-way and trying beanshell and entering buffer.setReadOnly(false) doesn't work either. Trying the search here at the community only turned up hits for people trying to make files read-only.

Is there a simple way to edit and then save read-only files in JEdit? Textmate and even Smultron will let me edit read-only files and then save them by authenticating myself as the root user inside the program. I'd like to stick with JEdit.

I'm running JEdit 4.3pre11 on Mac OS 10.4.9 and am dealing with a ruby directory I created as the root user in a unix window.

Thanks
Selecting/Excluding lines of text
Submitted by jurrie on Friday, 2 November, 2007 - 16:59
When analyzing log files it can be handy to run with split views with each view being restricted to a particular subset of lines from the file in question. I'm trying to do something like this with jEdit and am looking for some guidance to steer me in the right direction. A search of the User's Guide and this forum didn't yield any obvious answers, possibly due to my use of inaccurate search terminology. Here goes:

1. how can I display only lines which match a certain search string (or pattern) ?
i.e. Show only lines with contain the string "MyLogEntry:"

2. how can I restrict the display content to only those lines which do not meet some exclusion content?
Ideally I'd be able to add and remove display filter restrictions dynamically.
i.e. Only show lines which do not contain the string "ComponentA:" nor the string "ComponentD:" nor the string "ComponentZ:"

In both of these cases I'd like to maintain the buffer's gutter and the ability display the original line numbers.

Is there a standard jEdit means of doing this?

Any guidance would be appreciated.
C# question???
Submitted by jimmygyuma on Wednesday, 24 October, 2007 - 18:10
I know, I know, this is a jEdit forum. But I have gotten no help from MSDN C# forum or CodeGuru C#.

I use jEdit to edit the pages on my website. I am in the process of putting up the pages of a logbook. I have written a program in C# to help me write those pages; basically I fill in a lot of blanks and the program writes and saves the .html page. I have a button to open the page in IE to see if it looks alright, and I have another button which is supposed to open the file in jEdit for editing. It is this button that is giving me problems.

It opens the file in a new instance of jEdit, instead of in the running instance of jEdit. Well, actually it opens the file in both the running instance and the new instance. And the new instance has all the same files open as the running instance. Dopey.

I don't want to open a new instance of jEdit, I want the file to open in the already running instance.

If anyone has any experience with C# or the .NET framework and can tell me how to do this, I would be very grateful.

I guess I should have written the thing as a jEdit plugin to begin with, but that would have required learning how to write a plugin and relearning Java.

Thanks,
Jim
newbie
Submitted by am33n on Sunday, 21 October, 2007 - 10:17
Hello guys

I downloaded jedit to use for my java programming studies! I use mac but i have no clue how to run the program!! I dont know how to compile, where to write the java code, its a bit confusing, it doesnt look like this picture http://jedit.org/index.php?page=screenshot&image=22

P.S. im just starting my "hello world" program.

thanks
jEdit hijacked ctrl+alt+j
Submitted by wtijsma on Thursday, 18 October, 2007 - 10:59
Hi,

For some reason JEdit hijacked my ctrl+alt+j combination to start up, where can I change this (to Windows + J for example?)? It's quite an important shortcut for me in other programs, and I couldn't find it quick enough in the global settings, and didn't disable the shortcut on stopping JEdit Server Sad so I had to uninstall unfortunately.

Thank you in advance...

Wiebe Tijsma
Mode C onversion and Newbie Console Help
Submitted by woodslanding on Thursday, 18 October, 2007 - 09:14
I am using a program called MUP, which compiles music graphics from text files I have been editing in JEdit. There are currently MUP syntax highlighting files for VIM, EMACS and KATE. I'm wondering if there is any way to convert any of these files into a mode file that JEdit can use. Or if there is a good tutorial out there on the way in which these type of syntax files are set up. It's obviously a problem that has been addressed by a number of programs in a variety of ways, but it's pretty much greek to me.

Also, if there is an intro to console tutorial somewhere, I'd like to check it out. The MUP compiler runs from the command line, so I'm thinking it should be possible to get it to compile from the console in JEDIT, but I'm not at all command-line savvy.... Ideally, I'd like to just compile from a key-command.

Any help welcome!
-eric
Xinsert, can't find it...
Submitted by Moofar on Tuesday, 25 September, 2007 - 02:25
I've installed the Xinsert plugin, and I can modify its options, all the dependencies are installed, everything seems to be right, but its functionality seems to be totally missing. When selecting it on the plugins menu bar, its just 1 entry and it does nothing. Any help would be appreciated.
BASIC highlighting
Submitted by berliita on Sunday, 23 September, 2007 - 21:44
Hello.
Can JEdit highlight FreeBASIC, QBasic or any other BASIC dialect code?
How does jEdit compare to Vim?
Submitted by aaron.m on Thursday, 20 September, 2007 - 14:28
I just stumbled across jEdit yesterday, and it looks promising, but I have a few issues:

1. How do you save editing sessions? Let's say I have 10 buffers open, with different screen arrangements, etc. How do I save all of that so I don't have to re-load buffers and re-position the panes? I'm not trying to start a flame-war, but Vim does this easily.

2. Again, a comparison to Vim, but how do I easily resize all panes to be of equal size?

3. What about tabs for organizing your editing views?

I know someone's going to say, "Well, if you like Vim that much, just use it." And I do. But I like what I see of jEdit so far, and want to give it a chance.
ContextHelp for PHP
Submitted by ovidiu on Thursday, 20 September, 2007 - 11:09
Hi,

I can't get the ContextHelp plugin to work (in my case, PHP). I downloaded php_manuan_en.chm, moved it to .jedit/contexthelp/php, modified the filename accordingly in .jedit/contexthelp/php/keyword.bsh but... zilch. I select a function name, I run "Plugins -> Context Help -> Search keyword" and nothing happens.
Does anybody have an example for a valid configuration of ContextHelp? Also, is this plugin still compatible with the latest versions of jEdit? The latest plugin version is dated March 27, 2003!

Thanks.
User login
Browse archives
« May 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   108254
Context Free Art (*.cfdg)   0.31   46074
BBEdit scheme   1.0   18609
JBuilder scheme   .001   18511
ColdFusion scheme   1.0   18044
R Edit Mode - extensive version   0.1   17490
Advanced HTML edit mode   1.0   16226
Matlab Edit Mode   1.0   16088
jEdit XP icons   1.0   15248
XP icons for jEdit   1.1   14312