| 100 | characterSet = 0; |
| 101 | } |
| 102 | void Copy(const char *s_, int len_, int codePage_, int characterSet_, bool rectangular_, bool lineCopy_) { |
| 103 | delete []s; |
| 104 | s = 0; |
| 105 | s = new char[len_]; |
| 106 | len = len_; |
| 107 | for (int i = 0; i < len_; i++) { |
| 108 | s[i] = s_[i]; |
| 109 | } |
| 110 | codePage = codePage_; |
| 111 | characterSet = characterSet_; |
| 112 | rectangular = rectangular_; |
| 113 | lineCopy = lineCopy_; |
| 114 | FixSelectionForClipboard(); |
| 115 | } |
| 116 | void Copy(const SelectionText &other) { |
| 117 | Copy(other.s, other.len, other.codePage, other.characterSet, other.rectangular, other.lineCopy); |
| 118 | } |
nothing calls this directly
no outgoing calls
no test coverage detected