bundles/org.eclipse.orion.client.ui/web/orion/treeModelIterator.js
function(from, to) {
			var currentCursor = this.cursor();
			var selection = this._scan(true, from, to);
			if(!selection){
				selection = this._scan(false, from, to);
			}
			this.setCursor(currentCursor);
			return selection;
		}
function(from, to) {
			var currentCursor = this.cursor();
			var selection = this._scan(true, from, to);
			if(!selection){
				selection = this._scan(false, from, to);
			}
			this.setCursor(currentCursor);
			return selection;
		}
function ( from , to ) { var currentCursor = this . cursor ( ) ; var selection = this . _scan ( true , from , to ) ; if ( ! selection ) { selection = this . _scan ( false , from , to ) ; } this . setCursor ( currentCursor ) ; return selection ; }
Iterate from the current cursor
@param {object} from the model object that the selection range starts from. Will be included in the return array.
@param {object} to the model object that the selection range ends at. Will be included in the return array.
@returns {Array} The selection of models in the array.
Iterate from the current cursor