mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 06:17:18 +00:00
Don't expose undocumented API
This commit is contained in:
parent
b99fd99594
commit
3b96d8d54b
|
@ -71,7 +71,6 @@ export interface ICommandHandler {
|
|||
#include(vs/platform/theme/common/themeService): ThemeColor
|
||||
#include(vs/editor/common/core/editOperation): ISingleEditOperation
|
||||
#include(vs/editor/common/core/wordHelper): IWordAtPosition
|
||||
#include(vs/editor/common/tokenizationTextModelPart): ITokenizationTextModelPart, BackgroundTokenizationState
|
||||
#includeAll(vs/editor/common/model): IScrollEvent
|
||||
#include(vs/editor/common/diff/diffComputer): IChange, ICharChange, ILineChange
|
||||
#include(vs/editor/common/core/dimension): IDimension
|
||||
|
|
|
@ -1178,6 +1178,9 @@ export interface ITextModel {
|
|||
*/
|
||||
readonly guides: IGuidesTextModelPart;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
readonly tokenization: ITokenizationTextModelPart;
|
||||
}
|
||||
|
||||
|
|
|
@ -15,12 +15,6 @@ export enum AccessibilitySupport {
|
|||
Enabled = 2
|
||||
}
|
||||
|
||||
export enum BackgroundTokenizationState {
|
||||
Uninitialized = 0,
|
||||
InProgress = 1,
|
||||
Completed = 2
|
||||
}
|
||||
|
||||
export enum CompletionItemInsertTextRule {
|
||||
/**
|
||||
* Adjust whitespace/indentation of multiline insert texts to
|
||||
|
|
18
src/vs/monaco.d.ts
vendored
18
src/vs/monaco.d.ts
vendored
|
@ -1396,23 +1396,6 @@ declare namespace monaco.editor {
|
|||
readonly endColumn: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides tokenization related functionality of the text model.
|
||||
*/
|
||||
export interface ITokenizationTextModelPart {
|
||||
getLanguageId(): string;
|
||||
getLanguageIdAtPosition(lineNumber: number, column: number): string;
|
||||
setLanguageId(languageId: string): void;
|
||||
readonly backgroundTokenizationState: BackgroundTokenizationState;
|
||||
readonly onBackgroundTokenizationStateChanged: IEvent<void>;
|
||||
}
|
||||
|
||||
export enum BackgroundTokenizationState {
|
||||
Uninitialized = 0,
|
||||
InProgress = 1,
|
||||
Completed = 2
|
||||
}
|
||||
|
||||
/**
|
||||
* Vertical Lane in the overview ruler of the editor.
|
||||
*/
|
||||
|
@ -2099,7 +2082,6 @@ declare namespace monaco.editor {
|
|||
* Returns if this model is attached to an editor or not.
|
||||
*/
|
||||
isAttachedToEditor(): boolean;
|
||||
readonly tokenization: ITokenizationTextModelPart;
|
||||
}
|
||||
|
||||
export enum PositionAffinity {
|
||||
|
|
Loading…
Reference in a new issue