Author Topic: How do you define a key binding range?  (Read 3614 times)

crizzola

  • New Community Member
  • Posts: 1
  • Hero Points: 0
How do you define a key binding range?
« on: January 17, 2011, 06:29:19 PM »

I haven't been able to find in the slickedit user guide how to define a key binding range. I think the next version of the user guide needs to be updated to help with this.

Anyway, my VNC session overrides the default key binding for alt_gtbookmark (Ctrl-Shift-0 -> Ctrl-Shift-9). So I'm trying to rebind Alt-9 -> Alt-9 for alt_gtbookmark.

Entering "Alt-0" followed by "-> Alt-9" does not work in the binding definition dialog.

How I got there:
1. Esc gui-keybindings - Takes you to the key binding window
2. Search by command: alt_gtbookmark
3. Remove default entry
4. Select "Add..." button
5. Bind Key dialog comes up
6. Trying to figure out the Key Sequence to define the range from Alt-0 to Alt9

Using slickedit version 15.0.0.6
Build Date May 07, 2010
OS: Linux

Thanks,
Chris

hs2

  • Senior Community Member
  • Posts: 2761
  • Hero Points: 292
Re: How do you define a key binding range?
« Reply #1 on: January 17, 2011, 07:33:32 PM »
I afraid for the time being you need a SE macro file (e.g. the default vusrmacs.e) and add this in global scope for example:
Code: [Select]
defeventtab default_keys;
def  'A-S-0'-'A-S-9'= alt_gtbookmark;
HS2