bug fix in Zerox arrow handling from rob
This commit is contained in:
parent
0ffd63f553
commit
63853aa069
@ -645,13 +645,13 @@ texttype(Text *t, Rune r)
|
|||||||
switch(r){
|
switch(r){
|
||||||
case Kleft:
|
case Kleft:
|
||||||
if(t->q0 > 0){
|
if(t->q0 > 0){
|
||||||
textcommit(t, TRUE);
|
wincommit(t->w, t);
|
||||||
textshow(t, t->q0-1, t->q0-1, TRUE);
|
textshow(t, t->q0-1, t->q0-1, TRUE);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
case Kright:
|
case Kright:
|
||||||
if(t->q1 < t->file->b.nc){
|
if(t->q1 < t->file->b.nc){
|
||||||
textcommit(t, TRUE);
|
wincommit(t->w, t);
|
||||||
textshow(t, t->q1+1, t->q1+1, TRUE);
|
textshow(t, t->q1+1, t->q1+1, TRUE);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user