diff options
author | nyamatongwe <unknown> | 2001-12-20 02:29:36 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-12-20 02:29:36 +0000 |
commit | 4eefbc39519d93c5c2857ccd61299909d021c640 (patch) | |
tree | 88d99ad316492def0de5e7a72da7916842bebb09 /include | |
parent | acfe7e573b8f6d875324ffc4011575200dcd0f47 (diff) | |
download | scintilla-mirror-4eefbc39519d93c5c2857ccd61299909d021c640.tar.gz |
Added changeable attribute to styles that defaults to true. When it is
false, text in this style is read only.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 3 |
2 files changed, 4 insertions, 0 deletions
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. |