Improve documentation (for microsoft/monaco-editor#2627)

This commit is contained in:
Alex Dima 2021-08-23 09:16:01 +02:00
parent fdf4bff6c8
commit 65c28cc1cf
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
2 changed files with 4 additions and 2 deletions

View file

@ -112,7 +112,8 @@ export interface IModelDecorationOptions {
collapseOnReplaceEdit?: boolean;
/**
* Specifies the stack order of a decoration.
* A decoration with greater stack order is always in front of a decoration with a lower stack order.
* A decoration with greater stack order is always in front of a decoration with
* a lower stack order when the decorations are on the same line.
*/
zIndex?: number;
/**

3
src/vs/monaco.d.ts vendored
View file

@ -1402,7 +1402,8 @@ declare namespace monaco.editor {
isWholeLine?: boolean;
/**
* Specifies the stack order of a decoration.
* A decoration with greater stack order is always in front of a decoration with a lower stack order.
* A decoration with greater stack order is always in front of a decoration with
* a lower stack order when the decorations are on the same line.
*/
zIndex?: number;
/**