You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
762 B
29 lines
762 B
4 years ago
|
using Newtonsoft.Json;
|
||
|
|
||
|
namespace Monaco.Editor
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.iwordatposition.html
|
||
|
/// </summary>
|
||
|
public sealed class WordAtPosition : IWordAtPosition
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Column where the word ends.
|
||
|
/// </summary>
|
||
|
[JsonProperty("endColumn")]
|
||
|
public uint EndColumn { get; private set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// Column where the word starts.
|
||
|
/// </summary>
|
||
|
[JsonProperty("startColumn")]
|
||
|
public uint StartColumn { get; private set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// The word.
|
||
|
/// </summary>
|
||
|
[JsonProperty("word")]
|
||
|
public string Word { get; private set; }
|
||
|
}
|
||
|
}
|