Skip to content

ICursorPositionChangedEvent ​

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICursorPositionChangedEvent.html

描述光标位置已更改的事件。

ts
interface ICursorPositionChangedEvent {
    position: Position;
    reason: CursorChangeReason;
    secondaryPositions: Position[];
    source: string;
}

position ​

reason ​

secondaryPositions ​

source ​

  • 类型:string

Released under the MIT License.