Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.maddyhome.idea.vim
Class VimTypedActionHandler  view VimTypedActionHandler download VimTypedActionHandler.java

java.lang.Object
  extended bycom.maddyhome.idea.vim.VimTypedActionHandler

public class VimTypedActionHandler
extends java.lang.Object

This handler accepts all regular keystrokes and passes them on to the Vim Key handler


Field Summary
private  KeyHandler handler
           
private static Logger logger
           
private  TypedActionHandler origHandler
           
 
Constructor Summary
VimTypedActionHandler(TypedActionHandler origHandler)
          Creates an instance of the key handler
 
Method Summary
 void execute(Editor editor, char charTyped, DataContext context)
          All characters typed into an editor will get sent to this handler.
 TypedActionHandler getOriginalTypedHandler()
          Gives the original key handler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

origHandler

private TypedActionHandler origHandler

handler

private KeyHandler handler

logger

private static Logger logger
Constructor Detail

VimTypedActionHandler

public VimTypedActionHandler(TypedActionHandler origHandler)
Creates an instance of the key handler

Method Detail

getOriginalTypedHandler

public TypedActionHandler getOriginalTypedHandler()
Gives the original key handler


execute

public void execute(Editor editor,
                    char charTyped,
                    DataContext context)
All characters typed into an editor will get sent to this handler. Only letters, numbers, and punctuation are sent here. Keys like Tab, Enter, Home, Backspace, etc. and all Control-Letter etc. argType keys are not sent by Idea to this handler.