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.
24 lines
703 B
24 lines
703 B
4 years ago
|
using System;
|
||
|
using Monaco.Helpers;
|
||
|
using Newtonsoft.Json;
|
||
|
|
||
|
namespace Monaco.Editor
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.ieditorfindoptions.html
|
||
|
/// </summary>
|
||
|
#pragma warning disable CS1591
|
||
|
public sealed class IEditorFindOptions : IJsonable
|
||
|
{
|
||
|
[JsonProperty("autoFindInSelection")]
|
||
|
public bool AutoFindInSelection { get; set; }
|
||
|
[JsonProperty("seedSearchStringFromSelection")]
|
||
|
public bool SeedSearchStringFromSelection { get; set; } //= true;
|
||
|
|
||
|
public string ToJson()
|
||
|
{
|
||
|
return JsonConvert.SerializeObject(this);
|
||
|
}
|
||
|
}
|
||
|
#pragma warning restore CS1591
|
||
|
}
|