question: protected void clearFromCursor ( ) { if ( cursor <= 0 ) { selections . clear ( ) ; } else { while ( cursor < selections . size ( ) ) { selections . remove ( selections . size ( ) - 1 ) ; } } }
target:  Clears all cached selections from the current position on.