mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
[Dev file preview]Add wrap text setting (#16486)
* Push (not working) * Add Context menu * push * Adress feedback * Update installer * Fix build * Fix warnings
This commit is contained in:
@@ -80,6 +80,23 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
}
|
||||
}
|
||||
|
||||
private bool monacoPreviewWordWrap = true;
|
||||
|
||||
[JsonPropertyName("monaco-previewer-toggle-setting-word-wrap")]
|
||||
[JsonConverter(typeof(BoolPropertyJsonConverter))]
|
||||
public bool EnableMonacoPreviewWordWrap
|
||||
{
|
||||
get => monacoPreviewWordWrap;
|
||||
set
|
||||
{
|
||||
if (value != monacoPreviewWordWrap)
|
||||
{
|
||||
LogTelemetryEvent(value);
|
||||
monacoPreviewWordWrap = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private bool enablePdfPreview = true;
|
||||
|
||||
[JsonPropertyName("pdf-previewer-toggle-setting")]
|
||||
|
||||
Reference in New Issue
Block a user