Is it possible to programmatically enable caret-browsing mode in the Microsoft Edge WebView2 control?
I have tried setting the chromium command-line argument, to no avail (other arguments, such as --diagnostics, work fine).
auto wv2opts = Microsoft::WRL::Make<CoreWebView2EnvironmentOptions>();
// https://peter.sh/experiments/chromium-command-line-switches/
wv2opts->put_AdditionalBrowserArguments(L"--enable-caret-browsing");
hr = CreateCoreWebView2EnvironmentWithOptions(nullptr,nullptr,wv2opts.Get(),
Callback<ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler>(
this,&AppWindow::OnCreateEnvironmentCompleted).Get());