jEdit Community - Resources for users of the jEdit Text Editor
Archives
Using DTD to edit and validate XML documents
Submitted by Anonymous on Monday, 8 March, 2004 - 09:29
I edit SVG documents but Jedit (4.1) don't validate them against declared dtd.
I Downloaded it in the dtds directory, but Jedit keep to find "many errors" in my file (element "..." must be declared...).
I don't either understand the "remote host", "login" "pasword" form to cache dtds...
cannot quit jedit using MacOS 10.3
Submitted by Anonymous on Monday, 8 March, 2004 - 21:59
Hi,

I'm running MacOS Panther with newest updates.
Jedit 4.2 pre9 won't quit/exit.
Launching DOS window from jEdit
Submitted by tupperduck on Tuesday, 9 March, 2004 - 02:12
(I am new to jEdit, so please bear with me)

I am learning C++ and am using jEdit (v4.1) as my editor of choice. I have noticed that the Console will not run programs requiring user input (e.g. std::cin >> menu_choice;) properly; it just continues through the program without waiting for values. Inconvenient, yes, but nothing major. These same programs function as expected when run from the Windows DOS prompt.

What I am trying to do is create a macro to run such a program in DOS. What I have so far is:

// filename parsing code, blah, blah, blah
runCommandInConsole(view,"System",runDOS);

Which works BUT as soon as the all the values are entered and the rest of the program executes, the DOS prompt window disappears and focus returns to the jEdit Console. It seems that the DOS prompt is not being spawned independently of jEdit/Console.

Looking through the documentation I tried variations using "&" to create a background process and "%detach" to create a separate process. Same result. I also tried the approach in the Launching External HTML Checker script by specifying the actual application path (C:\WINNT\system32\cmd.exe), but that runs DOS within Console (without spawing a DOS window) and I can't figure out how to send commands to it.

SO I guess my questions are:
1) Is there a way to launch the DOS prompt as an independent window?
2) Is there a way to send commands to a DOS process running in Console?

Hope that makes sense.
Thanks.
indenting a rectangular selection with any text...
Submitted by Anonymous on Tuesday, 9 March, 2004 - 11:20
Hi,

Is there a way to indent a rectangular selection with any text?
In some editors (Ultraedit for one) you can perform a zero width rectangular selection (I managed that in Jedit) and just type in the text (in Jedit, the text just appears on one line unfortunately). Is there any way to accomplish that?

Thanks,

Seb.
What's wrong with the plugins.jedit.org website?
Submitted by Anonymous on Tuesday, 9 March, 2004 - 18:22
Whenever I go to plugins.jedit.org, the page takes a while to load. When the page comes up, the left column appears in the entire screen, and the bottom of the page has a message that says:

error opening cache file '/home/groups/j/je/jedit-plugins/cache/%2Fhome%2Fgroups%2Fj%2Fje%2Fjedit-plugins%2Flib%2Fchrome%2Fcategory_list.php.cache' for writing

The entire jedit website seem to be sick over the weekend (3/6 to 3/7), but it seems to be ok now. However, the plugins home page is still having problems. The Plugin Manager in jedit seems to be working though, when I click the "Install New Plugins" button (although I haven't actually tried to install any plugins).

Does anyone know what's going on?
plugins.jedit.org broken
Submitted by thammr on Wednesday, 10 March, 2004 - 00:20
Sorry if this is the wrong forum for this but

plugins.jedit.org has been broken for several days.

Can somebody please fix it????

"error opening cache file '/home/groups/j/je/jedit-plugins/cache/%2Fhome%2Fgroups%2Fj%2Fje%2Fjedit-plugins%2Flib%2Fchrome%2Fcategory_list.php.cache' for writing"
Column selection?
Submitted by Anonymous on Wednesday, 10 March, 2004 - 14:54
Is it possible to select an entire column? -Disregarding paragraphs or other divisions in the text.
Rectangular selection is not very convenient when dealing with very large files. I'm looking fore some feature that enables me to select a portion of a line and being able to select "extend selection vertically throughout entire file", or anything similar with same effect.

Does jEdit already have such a feature or is it available as a plugin?

I would really appreciate any help on this!
Open HistoryTextField with a shortcut
Submitted by spj on Wednesday, 10 March, 2004 - 15:20
I think it's useful if you can open the history in a HistoryTextField with
a shortcut. Here my Code suggestion:

HistoryTextField.java:
protected void processKeyEvent(KeyEvent evt) {
if(evt.getID() == KeyEvent.KEY_PRESSED) {
if(evt.getKeyCode() == KeyEvent.VK_ENTER) {
else if(evt.getKeyCode() == KeyEvent.VK_DOWN && evt.isAltDown()) { // Added Line
showPopupMenu("",0,getHeight()); // Added Line
evt.consume(); // Added Line
} // Added Line
Getting started: How to compile java program?
Submitted by Anonymous on Wednesday, 10 March, 2004 - 19:10
Hi,
I am new to jedit and have been using textpad to write java programs. I can't get my helloworld application or anything to run on jedit. Is it complicated to run java programs on jedit? Please help!! Detail instructions appreciated a lot. Thanks.
Select text in quotes - can macro do this?
Submitted by paulflory on Wednesday, 10 March, 2004 - 20:14
Here's what I'd like to do:

Assign a shortcut key to a macro that selects all the text within whatever quotes my cursor happens to be sitting between.

For example, say the cursor is sitting within the following line:

"How do you go to the stockyards?"

Does anyone an idea how I could write a macro that would select everything within the quotes? This would be quite convenient for doing quick replacements.

Thanks,
Paul
Set directory for unsaved scratch file buffer
Submitted by Anonymous on Wednesday, 10 March, 2004 - 20:25
When I start working on a file, jedit creates a file called #Untitled-1# and puts it in whatever current directory I happen to be in. This sometimes causes me to have these little files scattered about on the myriad of different drives and file shares I work on. The auto save feature lets you set a 'backup' directory, but I haven't been able to figure out a way to set 'scratch file' directory.

Any insights much appreciated !
Save and restore global options?
Submitted by kenweb on Thursday, 11 March, 2004 - 00:36
I love Jedit and am installing it on all the computers I am using. I have my own global options set up. Is there a easy way to copy my existing options to a new machine after installation. Curretly I have to re-configuring the options everytime.
Select Between Quotes (Select_Between_Quotes.bsh v1.0 by Lee Turner)
Submitted by lturner on Thursday, 11 March, 2004 - 15:19
Beanshell macro to simply select all the text between two quotes (").
Distinguish between PC numeric keypad and other keys...
Submitted by Anonymous on Friday, 12 March, 2004 - 04:49
Hi,

One thing I miss from other editors is the ability to map
functions to PC numeric keypad keys. In those editors the
keypad "enter" key is different from the main "enter" key
and likewise for "/", "*", "+", "-" keys etc.

In jEdit 4.2pre9 most of the keypad keys can't be
distinguished from their main keypad counterparts.

Maybe this is a PC/JDK issue?
Mac OS X Notes w/ jedit 4.2pre9
Submitted by Anonymous on Friday, 12 March, 2004 - 07:51
Hey Folks,
I just got the copy of pre9 again tonight, I ditched it a while ago because the first thing I noticed when I started using it was that the scrolling speed was REALLY slow, so I figured I'd have to stay w/ jedit4.1 ... anyway, i just re d/led it .. the scroll speed was still sluggish, but for some reason I decided to change the look/feel in the appearence pref from Mac OS X over to Metal, and the scrolling speed problems were fixed!

I noticed that this was mentioned once or twice on the forums, but never came accross a solution, so I figured I'd let y'all know.

Also, the mac plugin now seems to be working as expected so far ..

Sorry if this was all covered before, but I'm pretty psyched about the whole deal, really ...


thanks!

-steve

ps - I'm using the latest version of Panther w/ all the updates (including the java 1.4.2 updated that caused many-a-woe...)
Sorted plugins menu, docking context menu
Submitted by qube on Friday, 12 March, 2004 - 07:54
Would it be difficult to organize the Plugins menu by categories, using same categories we find in the plugin manager 'update' and 'install' screens? Or at least have the possibility (some global option) to have the full plugin names in this menu.. I'm sure many of us have had to re-read all the plugin names to find the one we're looking for.

Also, would it be hard to popup a plugin's submenu (as seen in the Plugins menu) when right-clicking over the docked plugins (thus adding the menu rubrics to the usual 'float', 'dock', etc. rubrics)? That would be grrrreat!
Plugin to marry TaskList w/ Project Viewer?
Submitted by Anonymous on Friday, 12 March, 2004 - 23:00
I know it's been out there a long time, but I just discovered the TaskList plugin, and everything seems so rosy today ... How about a plugin that would marry the tasklist and projectviewer together so you can opt to see all the tasks for a particular Project, instead of having to go through the tasks on a file by file basis ...

That sort of über-overview would be lovely ... just lovely.

regards,
-steve
FTP-plugin kills internet connection depending on used network interface
Submitted by Anonymous on Saturday, 13 March, 2004 - 02:46
Hello,

I encountered strange Problems, when trying to save files on a remote server via FTP.

The envrioment:
- Centrino Notebook with 100MBit and WLAN network interfaces
- Win XP Prof.
- Java 1.4.2_02
- Jedit 4.1 / 4.2pre9 (problem occurs with both versions)

Everything works fine as long as I only use the WLAN to connect to the network. Saving files via FTP is no problem.

But if the notebook is connected via cable saving is not possible. Jedit shows the "1 I/O Operation in progress" message in the status bar and seems to grab up lots of memory (up to 200 MB). The whole Editor hangs for a while and does not respond to any user actions, it doesn't even display properly. Its just gray. In the same moment the internet connection dies.

After 1-2 Minutes jEdit comes back to life, the "I/O operations in progress" message disappears but the file remains marked as changed and not saved. No changes to the data on the server was made.

It is not possible to close jEdit afterwards (i have to kill it using the task manager). The worst thing is that the network connection is dead until I restart the computer. I even can't ping my internert router.

Shutting down Windows also does not work anymore after jEdit killed the connection. It just freezes during shutdown. Only way to restart is a hard reset of the machine.

I'm wondering how someting like that can happen. It just makes no sense at all.

Greetings

Jan Harder
How can I connect matching brackets with a line
Submitted by flowerjt on Saturday, 13 March, 2004 - 23:41
Hi,

I would like to set this useful function but don't know how!
Is it a plugin feature or a basic function of jEdit?
Here is a screenshot of what i mean:
http://www.jedit.org/index.php?page=screenshot&image=29

Please help...
Java Swing Keyboard Events
Submitted by adraken on Sunday, 14 March, 2004 - 03:35
I'm in the middle of developing a plugin to provide EditPane switching like the Alt-Tab behavior on Windows and Macs. The idea is that although jEdit allows you to switch to the *next* EditPane, what you really want to do is switch to the last active EditPanes.

Windows lets you hold down Alt and hit Tab repeatedly to cycle through all the windows (in a circular linked list). When you find the one you want, you let go Alt. The newly-active window gets removed from the linked list and gets placed on the head. That means that you're able to switch very quickly between recently used windows with relatively little effort.

I've been trying to emulate this behavior, and since this kind of keyboard manipulation goes beyond the simple keyboard shortcuts, I've been trying to handle these events through the KeyListener interface, using the View.setKeyEventInterceptor() function to grab events. However, I'm noticing that I'm never receiving KEY_PRESSED events, only KEY_RELEASED and KEY_TYPED events. And even when I receive the KEY_RELEASED events, I'm never getting the KEY_RELEASED events for modifier keys like Ctrl or Alt.

Does anyone know if there's anything that jEdit does to keyboard events that might make this act weird? Or is this pretty standard behavior in Swing apps?
User login
Browse archives
« March 2004 »
MoTuWeThFrSaSu
19
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   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