bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js
function(offset, options) {
			var selection = new Selection(offset, offset, false);
			this._doMove(options, selection);
			return selection.getCaret();
		}
function(offset, options) {
			var selection = new Selection(offset, offset, false);
			this._doMove(options, selection);
			return selection.getCaret();
		}
function ( offset , options ) { var selection = new Selection ( offset , offset , false ) ; this . _doMove ( options , selection ) ; return selection . getCaret ( ) ; }
Returns the next character offset after the given offset and options

@param {Number} offset the offset to start from
@param {Object} options
{ unit: the type of unit to advance to (eg "character", "word", "wordend", "wordWS", "wordendWS"),
count: the number of units to advance (negative to advance backwards) }
@returns {Number} the next character offset
Returns the next character offset after the given offset and options