MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / Copy

Method Copy

scintilla/src/Editor.h:102–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected