From 4eefbc39519d93c5c2857ccd61299909d021c640 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 20 Dec 2001 02:29:36 +0000 Subject: Added changeable attribute to styles that defaults to true. When it is false, text in this style is read only. --- include/Scintilla.h | 1 + include/Scintilla.iface | 3 +++ 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index 20c5f267a..2a51f84f6 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -205,6 +205,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_SETCARETLINEVISIBLE 2096 #define SCI_GETCARETLINEBACK 2097 #define SCI_SETCARETLINEBACK 2098 +#define SCI_STYLESETCHANGEABLE 2099 #define SCI_AUTOCSHOW 2100 #define SCI_AUTOCCANCEL 2101 #define SCI_AUTOCACTIVE 2102 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 9e30673d7..d83c71321 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -472,6 +472,9 @@ get colour GetCaretLineBack=2097(,) # Set the colour of the background of the line containing the caret. set void SetCaretLineBack=2098(colour back,) +# Set a style to be changeable or not (read only). +set void StyleSetChangeable=2099(int style, bool changeable) + # Display a auto-completion list. # The lenEntered parameter indicates how many characters before # the caret should be used to provide context. -- cgit v1.2.3