diff options
author | Neil <nyamatongwe@gmail.com> | 2021-05-01 16:48:50 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-05-01 16:48:50 +1000 |
commit | 93591238af8bf8b5246adcfe7a115f443442f44e (patch) | |
tree | 94b402e2a6c39d622a49be999517ff83be9ce378 /src/EditModel.h | |
parent | 1f5a3b0b2d81351819ebb189a1ae4379e8762e75 (diff) | |
download | scintilla-mirror-93591238af8bf8b5246adcfe7a115f443442f44e.tar.gz |
Improve selection drawing code. Use InSelection enum instead of int.
Add Selection::RangeType and EditModel::LineEndInSelection to hoist code out of
EditView.
Replace SimpleAlphaRectangle with Surface::FillRectangleAligned when alpha known
to not be SC_ALPHA_NOALPHA.
Diffstat (limited to 'src/EditModel.h')
-rw-r--r-- | src/EditModel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/EditModel.h b/src/EditModel.h index 7934a0720..8d30267f0 100644 --- a/src/EditModel.h +++ b/src/EditModel.h @@ -70,6 +70,7 @@ public: void SetDefaultFoldDisplayText(const char *text); const char *GetDefaultFoldDisplayText() const noexcept; const char *GetFoldDisplayText(Sci::Line lineDoc) const noexcept; + InSelection LineEndInSelection(Sci::Line lineDoc) const; }; } |