From 9162c73355b47219d24ddba152fe931fdfabbcfc Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 5 Feb 2013 09:28:07 +1100 Subject: Add allocation of extended styles. --- include/Scintilla.h | 2 ++ include/Scintilla.iface | 6 ++++++ 2 files changed, 8 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index 32956e6ba..717a6895f 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -775,6 +775,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_ANNOTATIONGETVISIBLE 2549 #define SCI_ANNOTATIONSETSTYLEOFFSET 2550 #define SCI_ANNOTATIONGETSTYLEOFFSET 2551 +#define SCI_RELEASEALLEXTENDEDSTYLES 2552 +#define SCI_ALLOCATEEXTENDEDSTYLES 2553 #define UNDO_MAY_COALESCE 1 #define SCI_ADDUNDOACTION 2560 #define SCI_CHARPOSITIONFROMPOINT 2561 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index db4adbde9..6ee29a601 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -2062,6 +2062,12 @@ set void AnnotationSetStyleOffset=2550(int style,) # Get the start of the range of style numbers used for annotations get int AnnotationGetStyleOffset=2551(,) +# Release all extended (>255) style numbers +fun void ReleaseAllExtendedStyles=2552(,) + +# Allocate some extended (>255) style numbers and return the start of the range +fun int AllocateExtendedStyles=2553(int numberStyles,) + val UNDO_MAY_COALESCE=1 # Add a container action to the undo stack -- cgit v1.2.3