jEdit Community - Resources for users of the jEdit Text Editor
Adding a shortcut to "Execute script" command of the superscript plugin.
Submitted by sinarf on Saturday, 15 May, 2010 - 14:42
I'd love to use jEdit for all my scripting work.

I installed the superscript plugin as explain here: http://groovy.codehaus.org/JEdit+Plugin
It's working fine but I couldn't find a way to add a keyboard shortcut to the "Execute script" button, and there is nothing available from the global options / shortcuts list or even in the plugin configuration.
Adding a shortcut to a command in jEdit is so basic stuff that I cannot believe it has not been done yet.

Before I try to dive into hacking the plugin to give access to the command from menus or shortcut, I thought I ask you guys if I didn't miss something?

Thanks in advance for any information.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
You cannot assign a shortcut
by Robert Schwenn on Sat, 15/05/2010 - 22:31
You cannot assign a shortcut to a button or anything else - but only to an action or a macro. They all should be listed in the "Global Options -> Shortcuts" list.

Also menu items refer to actions. If You want to know the name of the referred action, invoke the menu item and then recall the action from the action bar with the UP key. If You couldn't find any action You could try to write a macro...
 
Ok, that's basicaly what I fi
by sinarf on Mon, 17/05/2010 - 08:13
Ok, that's basicaly what I figured out.
Thanks for the heads up, now I know where to start.
User login
Browse archives
« April 2024  
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
 
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   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293