UNPKG

@kusto/monaco-kusto

Version:

CSL, KQL plugin for the Monaco Editor

8 lines (7 loc) 466 B
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api'; export declare function getCurrentCommandRange(editor: monaco.editor.ICodeEditor, cursorPosition: monaco.Position): monaco.Range; /** * Extending ICode editor to contain additional kusto-specific methods. * note that the extend method needs to be called at least once to take affect, otherwise this here code is useless. */ export declare function extend(editor: monaco.editor.ICodeEditor): void;