bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js
function Selection (start, end, caret) {
		/**
		 * The selection start offset.
		 *
		 * @name orion.editor.Selection#start
		 */
		this.start = start;
		/**
		 * The selection end offset.
		 *
		 * @name orion.editor.Selection#end
		 */
		this.end = end;
		/** @private */
		this.caret = caret; //true if the start, false if the caret is at end
		/** @private */
		this._columnX = -1;
	}
function Selection (start, end, caret) {
		/**
		 * The selection start offset.
		 *
		 * @name orion.editor.Selection#start
		 */
		this.start = start;
		/**
		 * The selection end offset.
		 *
		 * @name orion.editor.Selection#end
		 */
		this.end = end;
		/** @private */
		this.caret = caret; //true if the start, false if the caret is at end
		/** @private */
		this._columnX = -1;
	}
function Selection ( start , end , caret ) { /**
		 * The selection start offset.
		 *
		 * @name orion.editor.Selection#start
		 */ this . start = start ; /**
		 * The selection end offset.
		 *
		 * @name orion.editor.Selection#end
		 */ this . end = end ; /** @private */ this . caret = caret ; //true if the start, false if the caret is at end /** @private */ this . _columnX = - 1 ; }
Constructs a new Selection object.

@class A Selection represents a range of selected text in the view.
@name orion.editor.Selection
Constructs a new Selection object .