Lines Matching defs:current
43 ITEM *current;
57 current = Current(m);
72 if (Right(current) == (ITEM *)0) {
76 current = Right(current);
80 if (Left(current) == (ITEM *)0) {
84 current = Left(current);
88 if (Up(current) == (ITEM *)0) {
92 current = Up(current);
96 if (Down(current) == (ITEM *)0) {
100 current = Down(current);
109 current = Up(current);
118 current = Down(current);
126 current = Up(current);
139 current = Down(current);
148 current = IthItem(m, 0);
152 current = IthItem(m, Nitems(m)-1);
157 ret = _match(m, NULL, ¤t);
159 if (Index(current)+1 >= Nitems(m)) {
160 current = IthItem(m, 0);
162 current = IthItem(m, Index(current)+1);
168 if (Index(current)+1 >= Nitems(m)) {
170 current = IthItem(m, 0);
175 current = IthItem(m, Index(current)+1);
181 ret = _match(m, '\b', ¤t);
185 if (Index(current)-1 < 0) {
186 current = IthItem(m, Nitems(m)-1);
188 current = IthItem(m, Index(current)-1);
194 if (Index(current)-1 < 0) {
196 current = IthItem(m, Nitems(m)-1);
201 current = IthItem(m, Index(current)-1);
240 ret = _match(m, c, ¤t);
248 _chk_top(m, &top, current);
252 _affect_change(m, top, current);