|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.raelity.jvi.Misc
public class Misc
Constructor Summary | |
---|---|
Misc()
|
Method Summary | |
---|---|
static void |
check_cursor_col()
Make sure curwin->w_cursor.col is valid. |
static boolean |
coladvance(int wcol)
|
static boolean |
coladvance(ViFPOS fpos,
int wcol)
advance the fpos, note it may be the cursor |
static int |
coladvanceColumnIndex(int wcol,
TextUtil.MySegment txt)
|
static int |
coladvanceColumnIndex(int wcol,
TextUtil.MySegment txt,
MutableBoolean reached)
coladvance(col). |
static int |
coladvanceColumnIndex(TextUtil.MySegment txt)
|
static void |
do_put(int regname_,
int dir,
int count,
int flags)
put contents of register "regname" into the text. |
static void |
getvcol(Buffer buf,
ViFPOS fpos,
MutableInt start,
MutableInt cursor,
MutableInt end)
|
static void |
getvcol(ViTextView tv,
ViFPOS fpos,
MutableInt start,
MutableInt cursor,
MutableInt end)
Get virtual column number of pos. |
void |
lostOwnership(Clipboard clipboard,
Transferable contents)
Lost clipboard ownership, implementation of ClibboardOwner. |
static int |
op_replace(OPARG oap,
char c)
|
static int |
op_replace7(OPARG oap,
char c)
|
static int |
op_yank(OPARG oap,
boolean deleting,
boolean mess)
Yank the text between curwin->w_cursor and startpos into a yank register. |
static void |
out_flush()
This is used to do showcommand stuff. |
static String |
plural(int n)
|
static boolean |
valid_yank_reg(char regname,
boolean writing)
Check if 'regname' is a valid name of a yank register. |
static boolean |
vim_iswhite(char c)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Misc()
Method Detail |
---|
public static String plural(int n)
public static int coladvanceColumnIndex(int wcol, TextUtil.MySegment txt, MutableBoolean reached)
public static int coladvanceColumnIndex(int wcol, TextUtil.MySegment txt)
public static int coladvanceColumnIndex(TextUtil.MySegment txt)
public static boolean coladvance(int wcol)
public static boolean coladvance(ViFPOS fpos, int wcol)
public static void check_cursor_col()
Kind of screwy, using swing component cursor is always valid, but this may backup the cursor off of a newline.
public static boolean valid_yank_reg(char regname, boolean writing)
writing
- if true check for writable registerspublic static int op_replace(OPARG oap, char c)
public static int op_replace7(OPARG oap, char c)
public static int op_yank(OPARG oap, boolean deleting, boolean mess)
public static void do_put(int regname_, int dir, int count, int flags)
public void lostOwnership(Clipboard clipboard, Transferable contents)
lostOwnership
in interface ClipboardOwner
public static void getvcol(ViTextView tv, ViFPOS fpos, MutableInt start, MutableInt cursor, MutableInt end)
tv
- the textview to use for fpos.fpos
- the row and column/index of char to determin vcol forstart
- store the start vcol here, may be nullcursor
- store the cursor vcol here, may be nullend
- store the end vcol here, may be nullpublic static void getvcol(Buffer buf, ViFPOS fpos, MutableInt start, MutableInt cursor, MutableInt end)
public static boolean vim_iswhite(char c)
public static void out_flush()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |