aboutsummaryrefslogtreecommitdiff
path: root/dw/layout.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/layout.hh')
-rw-r--r--dw/layout.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/dw/layout.hh b/dw/layout.hh
index 36f433b5..1794179c 100644
--- a/dw/layout.hh
+++ b/dw/layout.hh
@@ -438,6 +438,11 @@ public:
platform->copySelection(text, destination);
}
+ inline void copyCurrentSelection(int destination)
+ {
+ selectionState.copy(destination);
+ }
+
inline ui::ResourceFactory *getResourceFactory ()
{
return platform->getResourceFactory ();