function Tooltip (view, editor) {
		this._view = view;
		this._editor = editor;
		var parent = view.getOptions("parent"); //$NON-NLS-0$
		this._create(parent ? parent.ownerDocument : document);
	}
/**
 * @name Tooltip
 * @description Tooltip support for text views
 * 
 * show() - Opens the tooltip
 * update() - Updates the content of the open tooltip
 * onHover() - Checks if the x,y coordinates are outside the current tooltip area and updates the tooltip if necessary
 * hide() - Closes the tooltip
 * isVisible() - Returns whether the tooltip is currently showing
 * 
 * The methods above ask for a tooltipInfo object, which must contain a callback function getTooltipInfo()
 * This function must return an info object with the following contents:
 * 
 * Info {
 * 	Contents {string, html element, annotation array, etc.} Contents to display, if undefined, the hover service will be asked for content
 * 	Context {source, offset, offsetStart, offsetEnd}} Information used to modify the tooltip position or contents
 * 	Position {String} One of left, right, top, bottom used to position the tooltip relative to the anchor area
 * 	AnchorArea {top, left, width, height} rectangle defining the source of the tooltip and where to position relative to
 * 	TooltipArea {top, left, width, height} rectangle to define the tooltip's exact placement rather than a relative position to the anchor
 * 	TooltipOffsetX {Number} Hint to move the tooltip position horizontally
 * 	TooltipOffsetY {Number} Hint to move the tooltip position vertically
 * 
 * @param view
 */
@name Tooltip
@description Tooltip support for text views

Opens the tooltip
update() - Updates the content of the open tooltip
onHover() - Checks if the x,y coordinates are outside the current tooltip area and updates the tooltip if necessary
hide() - Closes the tooltip
isVisible() - Returns whether the tooltip is currently showing

The methods above ask for a tooltipInfo object, which must contain a callback function getTooltipInfo()
This function must return an info object with the following contents.



@param view
@name Tooltip @description Tooltip support for text views Opens the tooltip update () - Updates the content of the open tooltip onHover () - Checks if the x y coordinates are outside the current tooltip area and updates the tooltip if necessary hide () - Closes the tooltip isVisible () - Returns whether the tooltip is currently showing The methods above ask for a tooltipInfo object which must contain a callback function getTooltipInfo () This function must return an info object with the following contents . @param view
function Tooltip (view, editor) {
		this._view = view;
		this._editor = editor;
		var parent = view.getOptions("parent"); 
		this._create(parent ? parent.ownerDocument : document);
	}
function Tooltip ( view , editor ) { this . _view = view ; this . _editor = editor ; var parent = view . getOptions ( "parent" ) ; this . _create ( parent ? parent . ownerDocument : document ) ; }
@name Tooltip
 @description Tooltip support for text views
@name Tooltip @description Tooltip support for text views
//$NON-NLS-0$