diff options
author | A-R-C-A <unknown> | 2017-04-06 20:19:23 +1000 |
---|---|---|
committer | A-R-C-A <unknown> | 2017-04-06 20:19:23 +1000 |
commit | dba2fe55b8a4ab4ac34795fe4a4b30a729c77016 (patch) | |
tree | 83e69d400b6bde138c940f995e7167d0dc3af765 /include | |
parent | 84d949ba2662648114028dc3f7470e58064bf25c (diff) | |
download | scintilla-mirror-dba2fe55b8a4ab4ac34795fe4a4b30a729c77016.tar.gz |
Added a caret line frame as an alternative visual for highlighting the caret line.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 2 | ||||
-rw-r--r-- | include/Scintilla.iface | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index dbf6bcd93..58643a8d9 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -329,6 +329,8 @@ 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_GETCARETLINEFRAME 2704 +#define SCI_SETCARETLINEFRAME 2705 #define SCI_STYLESETCHANGEABLE 2099 #define SCI_AUTOCSHOW 2100 #define SCI_AUTOCCANCEL 2101 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 341044a72..f35206990 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -731,6 +731,14 @@ get colour GetCaretLineBack=2097(,) # Set the colour of the background of the line containing the caret. set void SetCaretLineBack=2098(colour back,) +# Retrieve the caret line frame width. +# Width = 0 means this option is disabled. +get int GetCaretLineFrame=2704(,) + +# Display the caret line framed. +# Set width != 0 to enable this option and width = 0 to disable it. +set void SetCaretLineFrame=2705(int width,) + # Set a style to be changeable or not (read only). # Experimental feature, currently buggy. set void StyleSetChangeable=2099(int style, bool changeable) |