mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Refresh master with initial release/0.24 snapshot (#332)
* Initial port of release/0.24 source code * Fix additional headers * Fix a typo in launch.json
This commit is contained in:
@@ -40,57 +40,6 @@ export interface IGridIcon {
|
||||
functionality: (batchId: number, resultId: number, index: number) => void;
|
||||
}
|
||||
|
||||
/**
|
||||
* Simplified interface for a Range object returned by the Rangy javascript plugin
|
||||
*
|
||||
* @export
|
||||
* @interface IRange
|
||||
*/
|
||||
export interface IRange {
|
||||
selectNodeContents(el): void;
|
||||
/**
|
||||
* Returns any user-visible text covered under the range, using standard HTML Range API calls
|
||||
*
|
||||
* @returns {string}
|
||||
*
|
||||
* @memberOf IRange
|
||||
*/
|
||||
toString(): string;
|
||||
/**
|
||||
* Replaces the current selection with this range. Equivalent to rangy.getSelection().setSingleRange(range).
|
||||
*
|
||||
*
|
||||
* @memberOf IRange
|
||||
*/
|
||||
select(): void;
|
||||
|
||||
/**
|
||||
* Returns the `Document` element containing the range
|
||||
*
|
||||
* @returns {Document}
|
||||
*
|
||||
* @memberOf IRange
|
||||
*/
|
||||
getDocument(): Document;
|
||||
|
||||
/**
|
||||
* Detaches the range so it's no longer tracked by Rangy using DOM manipulation
|
||||
*
|
||||
*
|
||||
* @memberOf IRange
|
||||
*/
|
||||
detach(): void;
|
||||
|
||||
/**
|
||||
* Gets formatted text under a range. This is an improvement over toString() which contains unnecessary whitespac
|
||||
*
|
||||
* @returns {string}
|
||||
*
|
||||
* @memberOf IRange
|
||||
*/
|
||||
text(): string;
|
||||
}
|
||||
|
||||
export interface IGridDataSet {
|
||||
dataRows: IObservableCollection<IGridDataRow>;
|
||||
columnDefinitions: IColumnDefinition[];
|
||||
|
||||
Reference in New Issue
Block a user