diff options
| author | Zufu Liu <unknown> | 2019-02-05 09:02:14 +1100 |
|---|---|---|
| committer | Zufu Liu <unknown> | 2019-02-05 09:02:14 +1100 |
| commit | 08b7ba9c6804232efe62a7cb970013548318417f (patch) | |
| tree | a4f25d217cf3fd462b862514991b6b0f130f6c86 /include | |
| parent | 9cc096e3f7deb6f10512e30da3e589eed927fdd5 (diff) | |
| download | scintilla-mirror-08b7ba9c6804232efe62a7cb970013548318417f.tar.gz | |
Backport: Feature [feature-requests:#1217]. Change API so block just for overstrike.
Backport of changeset 7249:06b6a93d8e3f.
Diffstat (limited to 'include')
| -rw-r--r-- | include/Scintilla.h | 4 | ||||
| -rw-r--r-- | include/Scintilla.iface | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 9a7ddb1b3..cb3259842 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -829,7 +829,9 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define CARETSTYLE_INVISIBLE 0 #define CARETSTYLE_LINE 1 #define CARETSTYLE_BLOCK 2 -#define CARETSTYLE_BLOCK_ALWAYS 3 +#define CARETSTYLE_OVERSTRIKE_BAR 0 +#define CARETSTYLE_OVERSTRIKE_BLOCK 16 +#define CARETSTYLE_INS_MASK 0xF #define SCI_SETCARETSTYLE 2512 #define SCI_GETCARETSTYLE 2513 #define SCI_SETINDICATORCURRENT 2500 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index f0099d901..8efe13647 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -2178,7 +2178,9 @@ enu CaretStyle=CARETSTYLE_ val CARETSTYLE_INVISIBLE=0 val CARETSTYLE_LINE=1 val CARETSTYLE_BLOCK=2 -val CARETSTYLE_BLOCK_ALWAYS=3 +val CARETSTYLE_OVERSTRIKE_BAR=0 +val CARETSTYLE_OVERSTRIKE_BLOCK=16 +val CARETSTYLE_INS_MASK=0xF # Set the style of the caret to be drawn. set void SetCaretStyle=2512(int caretStyle,) |
