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 | 1469ac92b931c4e43046964116fcc4a0ae73100c (patch) | |
| tree | 2f838871632d3accae0474302a436967992beaaa /include | |
| parent | dceb72247c99932399784780437344934260b11d (diff) | |
| download | scintilla-mirror-1469ac92b931c4e43046964116fcc4a0ae73100c.tar.gz | |
Feature [feature-requests:#1217]. Change API so block just for overstrike.
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 8128c55a1..dc0a73b7e 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -827,7 +827,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 13ba1cbef..8faae600e 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -2171,7 +2171,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,) |
