jEdit Community - Resources for users of the jEdit Text Editor
Archives
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?
jedit and yellowdog linux
Submitted by Anonymous on Sunday, 14 March, 2004 - 22:52
Hey Folks,
I was wondering if anybody has had any success getting jEdit to run under yellowdog linux (a linux/ppc distro for apple computers)

I have the latest blackdown linux version installed (1.3.1) and get the same errors when I launch the jEdit Java Based installer.

The first install window comes up saying someting to the effect that "You need to answer the questions in the following screens ..." and the window has the cancel, prev/next buttons just fine

Any time the mouse moves over the content area of the Java Window, I get this error:
Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: 6213
at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:1520)
at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:1390)
at java.awt.Component.dispatchEventImpl(Component.java:2507)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Window.dispatchEventImpl(Window.java:926)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)



And any time I try to click one of the buttons, I get this:
Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: 674
at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:1520)
at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:1390)
at java.awt.Component.dispatchEventImpl(Component.java:2507)
at java.awt.Container.dispatchEventToSelf(Container.java:1233)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2449)
at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:2314)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2189)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:926)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

any and all help would be greatly appreciated Smiling

thanks,
-steve
Toggle Split (Toggle_Split.bsh v0.5 by Claudio Vicari)
Submitted by cvicari on Monday, 15 March, 2004 - 16:30
Switches the main split pane between two open views, splits the pane if it's not already splitted
+line option in command-line from windows?
Submitted by bjorn on Monday, 15 March, 2004 - 21:23
Has anyone gotten the +line option working on the command line under windows? For example, if I send a command:

C:/jEdit42/jedit.exe MyFile.java +line:4

It always treats the '+line:4' as though I am trying to open a file of that name. Other variants (e.g., -- MyFile.java...) have the same result.

Is there no way to pass in a line number on Windows if you are using the launcher?

Thanks for any help...
Can't get plug-ins to work
Submitted by Anonymous on Tuesday, 16 March, 2004 - 04:45
I have downloaded and installed a couple of plug-ins but have not been able to get even one of them to work. For example I have installed the JCompiler, the Debugger, the CodeAid plug-ins but cannot get any of these to work. eg cannot run the debugger. What I am doing wrong ?. I am running jEdit Version 4.2pre9. OS is Win NT 4. Immediate help will be appreciated.
Proof of Concept SwitchPane Plugin
Submitted by adraken on Tuesday, 16 March, 2004 - 04:59
Hi,

I've wanted jEdit to have an Alt-Tab window switcher
(like on Windows and Mac) for edit panes for a while
now. That is, you'd cycle through windows, but the
order changes based on which windows receive focus, so
you can quickly switch between 2-3 windows.

This weekend, I hacked together this proof of concept
plugin to demonstrate the idea. After bumping my head
on the various KeyEvent workarounds and AWT warts, I
finally got it to work.

http://www.stanford.edu/~adraken/SwitchPane.jar

Just drop it in your jars/ directory and restart
jEdit. Use CTRL-BACKQUOTE (Ctrl-`) to switch between
edit panes.

The keyboard shortcut is hardcoded in and there are no
actions or options. But, if you like it and would like
to spend some time polishing it, the source is in the
JAR. Go for it.

Have fun.
Dave

P.S. I had to bypass the keyboard shortcut framework
because there was no other way for the plugin to know
when you let go of the modifier key. If you're still
confused, play with the real thing (Alt-Tab) and
notice how it behaves. But because I did that, we
can't use TAB as the action key (no Ctrl-Tab) because
View.processKeyEvent consumes any KEY_PRESSED event
for TAB.

P.P.S. Lee Turner's SwitchBuffer served as a basic
template for building this plugin. Thanks.
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