diff options
author | Martijn Laan <1092369+martijnlaan@users.noreply.github.com> | 2024-06-20 08:23:46 +1000 |
---|---|---|
committer | Martijn Laan <1092369+martijnlaan@users.noreply.github.com> | 2024-06-20 08:23:46 +1000 |
commit | 4040c66fc31c7e537d063c65ed1e734e974250c2 (patch) | |
tree | a19d212bcf90ba998d282f047741bc214598c64e /include | |
parent | eee34c2c5053450ec48aea8a9cbff4d5dd140b55 (diff) | |
download | scintilla-mirror-4040c66fc31c7e537d063c65ed1e734e974250c2.tar.gz |
Feature [feature-requests:#1518]. Cherry pick SCI_CUTALLOWLINE from isscint.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 3 | ||||
-rw-r--r-- | include/ScintillaCall.h | 1 | ||||
-rw-r--r-- | include/ScintillaMessages.h | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 75583a824..b51c8c2ab 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -976,6 +976,7 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP #define SCI_SETLAYOUTTHREADS 2775 #define SCI_GETLAYOUTTHREADS 2776 #define SCI_COPYALLOWLINE 2519 +#define SCI_CUTALLOWLINE 2810 #define SCI_GETCHARACTERPOINTER 2520 #define SCI_GETRANGEPOINTER 2643 #define SCI_GETGAPPOSITION 2644 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 72d2a7d41..bba11003b 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -2657,6 +2657,9 @@ get int GetLayoutThreads=2776(,) # Copy the selection, if selection empty copy the line with the caret fun void CopyAllowLine=2519(,) +# Cut the selection, if selection empty cut the line with the caret +fun void CutAllowLine=2810(,) + # 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 2f2e4f0cb..5db9c38d7 100644 --- a/include/ScintillaCall.h +++ b/include/ScintillaCall.h @@ -723,6 +723,7 @@ public: void SetLayoutThreads(int threads); int LayoutThreads(); void CopyAllowLine(); + void CutAllowLine(); void *CharacterPointer(); void *RangePointer(Position start, Position lengthRange); Position GapPosition(); diff --git a/include/ScintillaMessages.h b/include/ScintillaMessages.h index a00ed44b4..a2e91c92f 100644 --- a/include/ScintillaMessages.h +++ b/include/ScintillaMessages.h @@ -637,6 +637,7 @@ enum class Message { SetLayoutThreads = 2775, GetLayoutThreads = 2776, CopyAllowLine = 2519, + CutAllowLine = 2810, GetCharacterPointer = 2520, GetRangePointer = 2643, GetGapPosition = 2644, |