[NewUtility]Advanced Paste (#23)

Advanced Paste V1 implementation

---------

Co-authored-by: Stefan Markovic <stefan@janeasystems.com>
Co-authored-by: Niels Laute <niels.laute@live.nl>
Co-authored-by: Jordi Adoumie <98557455+joadoumie@users.noreply.github.com>
Co-authored-by: Stefan Markovic <57057282+stefansjfw@users.noreply.github.com>
Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
This commit is contained in:
Craig Loewen
2024-05-09 10:32:03 -04:00
committed by Jaime Bernardo
parent c601a3e3e2
commit 483f7aa464
143 changed files with 5557 additions and 755 deletions

View File

@@ -330,18 +330,18 @@ namespace Microsoft.PowerToys.Settings.UI.Library
}
}
private bool pastePlain = true;
private bool advancedPaste = true;
[JsonPropertyName("PastePlain")]
public bool PastePlain
[JsonPropertyName("AdvancedPaste")]
public bool AdvancedPaste
{
get => pastePlain;
get => advancedPaste;
set
{
if (pastePlain != value)
if (advancedPaste != value)
{
LogTelemetryEvent(value);
pastePlain = value;
advancedPaste = value;
NotifyChange();
}
}