[PastePlain] Introduce Paste as Plain Text module (#23645)

* [PastePlain] Introduce Paste as Plain Text module

* fix build

* add telemetry

* update settings UI

* spell

* Add navigation items to Settings and OOBE

* Add PastePlain to the Quick Access flyout

* try to fix PastePlain not being enabled from runner/settings

* load dll properly

* installer files

* Add PastePlain project name

* Use win32 APIs in the module interface instead

* Fix spellcheck

* Fix build errors

* Add success, error and invoke telemetry

* Add Settings Telemetry

* Add GPO definitions

* Fix analyzer errors

* Use static_cast instead of reinterpret_cast

* Add images to Settings

* Add note about replacing clipboard contents

* Fix learn more text

* Add link to readme

* Remove unneeded C# app

* Fix installer

* Fix spellchecker

---------

Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
This commit is contained in:
Carlos Zamora
2023-02-23 06:59:49 -08:00
committed by GitHub
parent cbf1c61c58
commit 1e1429177b
50 changed files with 1576 additions and 19 deletions

View File

@@ -279,6 +279,23 @@ namespace Microsoft.PowerToys.Settings.UI.Library
}
}
private bool pastePlain = true;
[JsonPropertyName("PastePlain")]
public bool PastePlain
{
get => pastePlain;
set
{
if (pastePlain != value)
{
LogTelemetryEvent(value);
pastePlain = value;
NotifyChange();
}
}
}
private bool measureTool = true;
[JsonPropertyName("Measure Tool")]