Add start of selection api, support for HasSelection, SelectAll and DeleteSelection along with documentation. Implement for IE and WebKitGTK and add stubs for OSX WebKit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -381,6 +381,27 @@ public:
|
||||
Loads a history item.
|
||||
*/
|
||||
virtual void LoadHistoryItem(wxSharedPtr<wxWebHistoryItem> item) = 0;
|
||||
|
||||
/**
|
||||
@name Selection
|
||||
*/
|
||||
|
||||
/**
|
||||
Deletes the current selection. Note that for @c wxWEB_VIEW_BACKEND_WEBKIT
|
||||
the selection must be editable, either through SetEditable or the
|
||||
correct HTML attribute.
|
||||
*/
|
||||
virtual void DeleteSelection() = 0;
|
||||
|
||||
/**
|
||||
Returns @true if there is a current selection.
|
||||
*/
|
||||
virtual bool HasSelection = 0;
|
||||
|
||||
/**
|
||||
Selects the entire page.
|
||||
*/
|
||||
virtual void SelectAll() = 0;
|
||||
|
||||
/**
|
||||
@name Undo / Redo
|
||||
|
Reference in New Issue
Block a user