From 76ef74bc44e201562320906ca18d3add7084ff8b Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 27 Jul 2024 12:35:18 +1000 Subject: Feature [feature-requests:#1530]. SCI_SETCOPYSEPARATOR sets string to separate parts of multiple selection when copied. --- call/ScintillaCall.cxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'call') 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(CallPointer(Message::GetCopySeparator, 0, separator)); +} + +std::string ScintillaCall::CopySeparator() { + return CallReturnString(Message::GetCopySeparator, 0); +} + void *ScintillaCall::CharacterPointer() { return reinterpret_cast(Call(Message::GetCharacterPointer)); } -- cgit v1.2.3