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.
30 lines
792 B
30 lines
792 B
using Newtonsoft.Json; |
|
using Monaco.Helpers; |
|
|
|
namespace Monaco.Editor |
|
{ |
|
/// <summary> |
|
/// https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.iwordatposition.html |
|
/// </summary> |
|
[JsonConverter(typeof(InterfaceToClassConverter<IWordAtPosition, WordAtPosition>))] |
|
public interface IWordAtPosition |
|
{ |
|
/// <summary> |
|
/// Column where the word ends. |
|
/// </summary> |
|
[JsonProperty("endColumn")] |
|
uint EndColumn { get; } |
|
|
|
/// <summary> |
|
/// Column where the word starts. |
|
/// </summary> |
|
[JsonProperty("startColumn")] |
|
uint StartColumn { get; } |
|
|
|
/// <summary> |
|
/// The word. |
|
/// </summary> |
|
[JsonProperty("word")] |
|
string Word { get; } |
|
} |
|
}
|
|
|