com.raelity.jvi
Class Window

java.lang.Object
  extended by com.raelity.jvi.Window

public final class Window
extends Object

Vim references values in a structure, but we need to present a method interface, so the vim code is not preserved as we'd like.
NEEDSWORK:


Constructor Summary
Window(ViTextView editor)
           
 
Method Summary
 ViMark getMark(int i)
           
 ViMark getPCMark()
           
 ViMark getPrevPCMark()
           
 int getWCurswant()
          Get the column we'd like to be at.
 boolean getWPList()
          list mode
 int getWPScroll()
          scroll
 boolean getWSetCurswant()
          If set, then update w_curswant the next time through cursupdate() to the current virtual column.
 int mouseClickedPosition(int offset)
          A mouse click has just occured in this window.
 void pushPCMark()
           
 void setWCursor(ViFPOS p)
          Set the current location of the cursor in this window.
 void setWCurswant(int c)
          Set the column we'd like to be at.
 void setWPList(boolean f)
           
 void setWPScroll(int n)
           
 void setWSetCurswant(boolean f)
           
 void viewSizeChange()
          Like win_new_height....
 ViFPOS XXXgetWCursor()
          The current location of the cursor in this window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Window

public Window(ViTextView editor)
Method Detail

XXXgetWCursor

public ViFPOS XXXgetWCursor()
The current location of the cursor in this window.


setWCursor

public final void setWCursor(ViFPOS p)
Set the current location of the cursor in this window.


getWCurswant

public int getWCurswant()
Get the column we'd like to be at. This is used to try to stay in the same column through up/down cursor motions.


setWCurswant

public void setWCurswant(int c)
Set the column we'd like to be at.


getWSetCurswant

public boolean getWSetCurswant()
If set, then update w_curswant the next time through cursupdate() to the current virtual column.


setWSetCurswant

public void setWSetCurswant(boolean f)

getWPList

public boolean getWPList()
list mode


setWPList

public void setWPList(boolean f)

getWPScroll

public int getWPScroll()
scroll


setWPScroll

public void setWPScroll(int n)

getPCMark

public final ViMark getPCMark()

getPrevPCMark

public final ViMark getPrevPCMark()

pushPCMark

public void pushPCMark()

getMark

public final ViMark getMark(int i)

viewSizeChange

public void viewSizeChange()
Like win_new_height....


mouseClickedPosition

public int mouseClickedPosition(int offset)
A mouse click has just occured in this window. Check the position so it is not on a newline (unless in input mode)
NEEDSWORK: "signal" a change in cursor position