mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 09:59:48 -05:00
32 lines
820 B
C#
32 lines
820 B
C#
//
|
|
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
//
|
|
|
|
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
|
|
|
|
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
|
|
{
|
|
public enum DocumentHighlightKind
|
|
{
|
|
Text = 1,
|
|
Read = 2,
|
|
Write = 3
|
|
}
|
|
|
|
public class DocumentHighlight
|
|
{
|
|
public Range Range { get; set; }
|
|
|
|
public DocumentHighlightKind Kind { get; set; }
|
|
}
|
|
|
|
public class DocumentHighlightRequest
|
|
{
|
|
public static readonly
|
|
RequestType<TextDocumentPosition, DocumentHighlight[]> Type =
|
|
RequestType<TextDocumentPosition, DocumentHighlight[]>.Create("textDocument/documentHighlight");
|
|
}
|
|
}
|
|
|