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
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.
Missing Run Last Macro from 4.2pre8
Submitted by Anonymous on Tuesday, 16 March, 2004 - 09:18
Hello
First I would like to say that JEdit is a wonderful editor and has features that really make the coding fun. I especially like the features that help me to reduce the necessity to manually type the same code again and let me concentrate to creativity.
But there is one thing that has bugging me for some time. I really liked the feature run last macro. It was great that I could choose macro from the menu then run it once and after that use keyboard shortcut to run it again and again When I upgraded to 4.2pre8 from 4.1 I discovered that this function had disappeared. I am a little confused - why to remove such useful functionality.
I also explored forums and mail list archives but could not find much about this. Is there a possibility to reimplement this functionality using macros - creating a macro that could access macro history, especially the last executed macro or any other way to reimplement this functionality?
with best regards,
Phade
switching from vim: is it worth it?
Submitted by Anonymous on Tuesday, 16 March, 2004 - 12:16
i have been using vim for just about a year now, and am quite happy with it. the best thing about it is that it allows you to do stuff fast, without having to muck about with the mouse. I'ts also got quite powerful regexes and macros that you can run.
if i switch to jedit, which is probably better from a programming point of view, will i still get these features? can i assign vim keys like hjkl for leftupdownright, dd for delete, etc?
thanks
Full file name with dir in window title
Submitted by Anonymous on Tuesday, 16 March, 2004 - 15:51
can anyone help with this? i need it to be used with some time tracking program and need full path of file in main window title ... help ..thanx Lukas
XSLT still gets transformation error
Submitted by Anonymous on Wednesday, 17 March, 2004 - 00:42
I've followed the instructions on moving the xalan, xercesImpl and xmlParserAPIs jar files, and adding the -D flag to the startup for my JEdit installation on Java 1.4.1_02 on RedHat Linux 8. I still get the transformation error about running with the old version of Xalan-Java. Is there something else that needs to be done? This worked fine when I ran JEdit with Java 1.3.1.
JEdit , Windows and 56.xx nvidia display drivers
Submitted by
Lup on
Wednesday, 17 March, 2004 - 01:45
I was using Jedit since a while with Windows, no major issue so far, but since i've installed 56.xx nvidia display drivers, when launching jEdit i have some display corruption.
Then i can use jEdit normally, but when i quit the program system becomes slow (menus are slow, windows draw slowly...)
I was using j2 beta 1.5, rolled back to 1.4.2_03, i still have the same problem, anyone else ? any workaround ?
the drivers seem to work perfectly well with other applications i use.
Embedding jEdit in other applications...
Submitted by Anonymous on Wednesday, 17 March, 2004 - 23:53
I am evaluating jEdit as a possible text editor for one of my applications. But I can't see any documentation on that. Could anyone point me to any earlier attempts and/or documentation that could help me.
I don't want to rewrite syntax colouring, undo/redo support, access to file system from scratch!