edu.isi.powerloom.gui.components
Class EditorKeyMap

java.lang.Object
  |
  +--edu.isi.powerloom.gui.components.EditorKeyMap

public class EditorKeyMap
extends java.lang.Object

Installs emacs-style keybindings for expression editor source pane. Also includes keybindings for completion, performing actions, etc.

Current Bindings:

KeyAction
Ctrl-SPC Start Selection
Ctrl-RETURN Execute Component Action
Ctrl-Right Arrow Complete Symbol
Ctrl-A Begin Line
Ctrl-B Backward Char
Ctrl-D Delete Next Char
Ctrl-E End Line
Ctrl-F Forward Char
Ctrl-G Cancel Selection
Ctrl-K Kill to End of Line
Ctrl-N Next Line
Ctrl-P Previous Line
Ctrl-W Cut
Ctrl-Y Paste
Meta-B Begin Word
Meta-F End Word
Meta-W Copy
Ctrl-Meta-SPC Select Forward Expression
Ctrl-Meta-B Backward Expression
Ctrl-Meta-D Down Expression
Ctrl-Meta-F Forward Expression
Ctrl-Meta-K Kill Forward Expression
Ctrl-Meta-U Up Expression

Since:
Thu Apr 04 12:25:22 2002
Author:
Eric Melz

Constructor Summary
EditorKeyMap()
           
 
Method Summary
static void setupKeyMap(javax.swing.text.JTextComponent textPane)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditorKeyMap

public EditorKeyMap()
Method Detail

setupKeyMap

public static void setupKeyMap(javax.swing.text.JTextComponent textPane)


Copyright © 2002 University of Southern California Information Sciences Institute. All Rights Reserved.