mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 11:42:36 +00:00
Merge pull request #423 from taylorjonl/feature/text-based-commands
Implemented Cut, Copy, Paste and other text based actions for WPF
This commit is contained in:
@@ -933,6 +933,41 @@ namespace CefSharp.Wpf
|
||||
managedCefBrowserAdapter.LoadHtml(html, url);
|
||||
}
|
||||
|
||||
public void Undo()
|
||||
{
|
||||
managedCefBrowserAdapter.Undo();
|
||||
}
|
||||
|
||||
public void Redo()
|
||||
{
|
||||
managedCefBrowserAdapter.Redo();
|
||||
}
|
||||
|
||||
public void Cut()
|
||||
{
|
||||
managedCefBrowserAdapter.Cut();
|
||||
}
|
||||
|
||||
public void Copy()
|
||||
{
|
||||
managedCefBrowserAdapter.Copy();
|
||||
}
|
||||
|
||||
public void Paste()
|
||||
{
|
||||
managedCefBrowserAdapter.Paste();
|
||||
}
|
||||
|
||||
public void Delete()
|
||||
{
|
||||
managedCefBrowserAdapter.Delete();
|
||||
}
|
||||
|
||||
public void SelectAll()
|
||||
{
|
||||
managedCefBrowserAdapter.SelectAll();
|
||||
}
|
||||
|
||||
public void Stop()
|
||||
{
|
||||
managedCefBrowserAdapter.Stop();
|
||||
|
||||
Reference in New Issue
Block a user