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

Quick Search    Search Deep

com.maddyhome.idea.vim.ex.handler
Class GotoLineHandler  view GotoLineHandler download GotoLineHandler.java

java.lang.Object
  extended bycom.maddyhome.idea.vim.ex.CommandHandler
      extended bycom.maddyhome.idea.vim.ex.handler.GotoLineHandler

public class GotoLineHandler
extends com.maddyhome.idea.vim.ex.CommandHandler

This handles Ex commands that just specify a range which translates to moving the cursor to the line given by the range.


Field Summary
 
Fields inherited from class com.maddyhome.idea.vim.ex.CommandHandler
argFlags, ARGUMENT_FORBIDDEN, ARGUMENT_OPTIONAL, ARGUMENT_REQUIRED, DONT_SAVE_LAST, names, optFlags, RANGE_FORBIDDEN, RANGE_IS_COUNT, RANGE_OPTIONAL, RANGE_REQUIRED, READ_ONLY, WRITABLE
 
Constructor Summary
GotoLineHandler()
          Create the handler
 
Method Summary
 boolean execute(Editor editor, DataContext context, com.maddyhome.idea.vim.ex.ExCommand cmd)
          Moves the cursor to the line entered by the user
 
Methods inherited from class com.maddyhome.idea.vim.ex.CommandHandler
getArgFlags, getNames, getOptFlags, getOptional, getRequired, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GotoLineHandler

public GotoLineHandler()
Create the handler

Method Detail

execute

public boolean execute(Editor editor,
                       DataContext context,
                       com.maddyhome.idea.vim.ex.ExCommand cmd)
Moves the cursor to the line entered by the user