diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 2 | ||||
-rw-r--r-- | include/Scintilla.iface | 6 | ||||
-rw-r--r-- | include/ScintillaCall.h | 3 | ||||
-rw-r--r-- | include/ScintillaMessages.h | 2 |
4 files changed, 13 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 8ef2532c2..719b44afd 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -980,6 +980,8 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP #define SCI_GETLAYOUTTHREADS 2776 #define SCI_COPYALLOWLINE 2519 #define SCI_CUTALLOWLINE 2810 +#define SCI_SETCOPYSEPARATOR 2811 +#define SCI_GETCOPYSEPARATOR 2812 #define SCI_GETCHARACTERPOINTER 2520 #define SCI_GETRANGEPOINTER 2643 #define SCI_GETGAPPOSITION 2644 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 85ab84324..195c87d37 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -2668,6 +2668,12 @@ fun void CopyAllowLine=2519(,) # Cut the selection, if selection empty cut the line with the caret fun void CutAllowLine=2810(,) +# Set the string to separate parts when copying a multiple selection. +set void SetCopySeparator=2811(, string separator) + +# Get the string to separate parts when copying a multiple selection. +get int GetCopySeparator=2812(, stringresult separator) + # Compact the document buffer and return a read-only pointer to the # characters in the document. get pointer GetCharacterPointer=2520(,) diff --git a/include/ScintillaCall.h b/include/ScintillaCall.h index 201e31ecc..6212a42cd 100644 --- a/include/ScintillaCall.h +++ b/include/ScintillaCall.h @@ -726,6 +726,9 @@ public: int LayoutThreads(); void CopyAllowLine(); void CutAllowLine(); + void SetCopySeparator(const char *separator); + int CopySeparator(char *separator); + std::string CopySeparator(); void *CharacterPointer(); void *RangePointer(Position start, Position lengthRange); Position GapPosition(); diff --git a/include/ScintillaMessages.h b/include/ScintillaMessages.h index ccaa2a8d6..cac6d9d62 100644 --- a/include/ScintillaMessages.h +++ b/include/ScintillaMessages.h @@ -640,6 +640,8 @@ enum class Message { GetLayoutThreads = 2776, CopyAllowLine = 2519, CutAllowLine = 2810, + SetCopySeparator = 2811, + GetCopySeparator = 2812, GetCharacterPointer = 2520, GetRangePointer = 2643, GetGapPosition = 2644, |