| 6168 | } |
| 6169 | |
| 6170 | void Editor::CopyRangeToClipboard ( int start, int end ) |
| 6171 | { |
| 6172 | start = pdoc->ClampPositionIntoDocument ( start ); |
| 6173 | end = pdoc->ClampPositionIntoDocument ( end ); |
| 6174 | SelectionText selectedText; |
| 6175 | std::string text = RangeText ( start, end ); |
| 6176 | selectedText.Copy ( text.c_str(), end - start + 1, |
| 6177 | pdoc->dbcsCodePage, vs.styles[STYLE_DEFAULT].characterSet, false, false ); |
| 6178 | CopyToClipboard ( selectedText ); |
| 6179 | } |
| 6180 | |
| 6181 | void Editor::CopyText ( int length, const char *text ) |
| 6182 | { |
nothing calls this directly
no test coverage detected