aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 3888d2b87..46167cf4a 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -113,6 +113,9 @@ public:
lineCopy = lineCopy_;
FixSelectionForClipboard();
}
+ void Copy(const std::string &s, int codePage_, int characterSet_, bool rectangular_, bool lineCopy_) {
+ Copy(s.c_str(), s.length()+1, codePage_, characterSet_, rectangular_, lineCopy_);
+ }
void Copy(const SelectionText &other) {
Copy(other.s, other.len, other.codePage, other.characterSet, other.rectangular, other.lineCopy);
}