From 1469ac92b931c4e43046964116fcc4a0ae73100c Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Tue, 5 Feb 2019 09:02:14 +1100 Subject: Feature [feature-requests:#1217]. Change API so block just for overstrike. --- doc/ScintillaDoc.html | 8 ++++---- doc/ScintillaHistory.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 1e274a138..3c6da6772 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -3213,10 +3213,10 @@ struct Sci_TextToFind {

SCI_SETCARETSTYLE(int caretStyle)
SCI_GETCARETSTYLE → int
The style of the caret can be set with SCI_SETCARETSTYLE to be a line caret - (CARETSTYLE_LINE=1, insert mode), a block caret (CARETSTYLE_BLOCK=2, insert mode), - a block caret in both insert and overtype mode (CARETSTYLE_BLOCK_ALWAYS=3) or to not draw at all - (CARETSTYLE_INVISIBLE=0, insert mode). The default value for insert mode is the line caret (CARETSTYLE_LINE=1), - for overtype mode is the bar caret. + (CARETSTYLE_LINE=1) or a block caret (CARETSTYLE_BLOCK=2) for insert mode combined with + a bar caret (CARETSTYLE_OVERSTRIKE_BAR=0) or a block caret (CARETSTYLE_OVERSTRIKE_BLOCK=16) for overtype mode, + or to not draw at all (CARETSTYLE_INVISIBLE=0). The default value for insert mode is the line caret (CARETSTYLE_LINE=1), + for overtype mode is the bar caret (CARETSTYLE_OVERSTRIKE_BAR=0). You can determine the current caret style setting using SCI_GETCARETSTYLE.

The block caret draws most combining and multibyte character sequences successfully, diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 4ce3afd68..1ca0150bf 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -564,7 +564,7 @@ Bug #1548.

  • - Block caret in both insert and overtype mode SCI_SETCARETSTYLE(CARETSTYLE_BLOCK_ALWAYS). + Block caret in overtype mode SCI_SETCARETSTYLE(caretStyle | CARETSTYLE_OVERSTRIKE_BLOCK). Feature #1217.
  • -- cgit v1.2.3