Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /src/Editor.h [e48831] .. [2c2c30] Maximize Restore

  Switch to side-by-side view

--- a/src/Editor.h
+++ b/src/Editor.h
@@ -112,6 +112,9 @@
 		rectangular = rectangular_;
 		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);