AHA! On Wed, Nov 16, 2011 at 22:17, <smckean83@gmail.com> wrote: > Reviewers: rsc, > > > > Please review this at http://codereview.appspot.com/5399050/ > > Affected files: > M src/cmd/acme/text.c > > > Index: src/cmd/acme/text.c > =================================================================== > --- a/src/cmd/acme/text.c > +++ b/src/cmd/acme/text.c > @@ -671,16 +671,14 @@ > rp = &r; > switch(r){ > case Kleft: > - if(t->q0 > 0){ > - typecommit(t); > + typecommit(t); > + if(t->q0 > 0) > textshow(t, t->q0-1, t->q0-1, TRUE); > - } > return; > case Kright: > - if(t->q1 < t->file->b.nc){ > - typecommit(t); > + typecommit(t); > + if(t->q1 < t->file->b.nc) > textshow(t, t->q1+1, t->q1+1, TRUE); > - } > return; > case Kdown: > if(t->what == Tag) > > >