From 8e37e4efe5f90c7b6157ffd513ac418db7089c2d Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 11 Mar 2010 10:21:29 +0000 Subject: Implemented multipaste as an option. --- include/Scintilla.h | 4 ++++ include/Scintilla.iface | 10 ++++++++++ 2 files changed, 14 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index a702fd90d..d1f4518fd 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -486,6 +486,10 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_SETFONTQUALITY 2611 #define SCI_GETFONTQUALITY 2612 #define SCI_SETFIRSTVISIBLELINE 2613 +#define SC_MULTIPASTE_ONCE 0 +#define SC_MULTIPASTE_EACH 1 +#define SCI_SETMULTIPASTE 2614 +#define SCI_GETMULTIPASTE 2615 #define SCI_TARGETFROMSELECTION 2287 #define SCI_LINESJOIN 2288 #define SCI_LINESSPLIT 2289 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index f2c8f1ebf..67fcc6060 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1223,6 +1223,16 @@ get int GetFontQuality=2612(,) # Scroll so that a display line is at the top of the display. set void SetFirstVisibleLine=2613(int lineDisplay,) +enu MultiPaste=SC_MULTIPASTE_ +val SC_MULTIPASTE_ONCE=0 +val SC_MULTIPASTE_EACH=1 + +# Change the effect of pasting when there are multiple selections. +set void SetMultiPaste=2614(int multiPaste,) + +# Retrieve the effect of pasting when there are multiple selections.. +get int GetMultiPaste=2615(,) + # Make the target range start and end be the same as the selection range start and end. fun void TargetFromSelection=2287(,) -- cgit v1.2.3