diff options
author | Neil <nyamatongwe@gmail.com> | 2024-07-27 12:35:18 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2024-07-27 12:35:18 +1000 |
commit | 76ef74bc44e201562320906ca18d3add7084ff8b (patch) | |
tree | 6f8ea39c723a28fb9d355eb7894833689a05c68e /call/ScintillaCall.cxx | |
parent | 12edbfc7840bc4c56d1a7933e587694e9c774aee (diff) | |
download | scintilla-mirror-76ef74bc44e201562320906ca18d3add7084ff8b.tar.gz |
Feature [feature-requests:#1530]. SCI_SETCOPYSEPARATOR sets string to separate
parts of multiple selection when copied.
Diffstat (limited to 'call/ScintillaCall.cxx')
-rw-r--r-- | call/ScintillaCall.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/call/ScintillaCall.cxx b/call/ScintillaCall.cxx index 8f48a5256..4cb1f19d4 100644 --- a/call/ScintillaCall.cxx +++ b/call/ScintillaCall.cxx @@ -2723,6 +2723,18 @@ void ScintillaCall::CutAllowLine() { Call(Message::CutAllowLine); } +void ScintillaCall::SetCopySeparator(const char *separator) { + CallString(Message::SetCopySeparator, 0, separator); +} + +int ScintillaCall::CopySeparator(char *separator) { + return static_cast<int>(CallPointer(Message::GetCopySeparator, 0, separator)); +} + +std::string ScintillaCall::CopySeparator() { + return CallReturnString(Message::GetCopySeparator, 0); +} + void *ScintillaCall::CharacterPointer() { return reinterpret_cast<void *>(Call(Message::GetCharacterPointer)); } |