Add support for retrieving the currently selected text. Implement on all backends, document and unit test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -392,11 +392,16 @@ public:
|
||||
correct HTML attribute.
|
||||
*/
|
||||
virtual void DeleteSelection() = 0;
|
||||
|
||||
/**
|
||||
Returns the currently selected text, if any.
|
||||
*/
|
||||
virtual wxString GetSelectedText() = 0;
|
||||
|
||||
/**
|
||||
Returns @true if there is a current selection.
|
||||
*/
|
||||
virtual bool HasSelection = 0;
|
||||
virtual bool HasSelection() = 0;
|
||||
|
||||
/**
|
||||
Selects the entire page.
|
||||
|
Reference in New Issue
Block a user