Punyashloka Biswal wrote: > Index: src/Text3.cpp > =================================================================== > --- src/Text3.cpp (revision 35182) > +++ src/Text3.cpp (working copy) > @@ -819,6 +819,11 @@ > case LFUN_WORD_FORWARD_SELECT: > needsUpdate |= cur.selHandle(cmd.action() == > LFUN_WORD_FORWARD_SELECT); > needsUpdate |= cursorForwardOneWord(cur); > + if (!needsUpdate && oldTopSlice == cur.top() > + && cur.boundary() == oldBoundary) { > + cur.undispatched(); > + cmd = FuncRequest(LFUN_FINISHED_FORWARD); > + } > break; > > case LFUN_WORD_LEFT: > @@ -848,6 +853,11 @@ > case LFUN_WORD_BACKWARD_SELECT: > needsUpdate |= cur.selHandle(cmd.action() == > LFUN_WORD_BACKWARD_SELECT); > needsUpdate |= cursorBackwardOneWord(cur); > + if (!needsUpdate && oldTopSlice == cur.top() > + && cur.boundary() == oldBoundary) { > + cur.undispatched(); > + cmd = FuncRequest(LFUN_FINISHED_BACKWARD); > + }
this part of code looks little bit suspicious and i would like to have a nod from somebody understanding the slice&boundary business before putting it into trunk. pavel