diff options
| author | mitchell <unknown> | 2020-01-05 17:10:23 -0500 |
|---|---|---|
| committer | mitchell <unknown> | 2020-01-05 17:10:23 -0500 |
| commit | ca79b65eea2653ecbf62eb0f1d0caf4ff6dea601 (patch) | |
| tree | a2469638126f8a958ad6e86b6ee6b2b7eedaf036 /src/EditView.cxx | |
| parent | 51c270affe753fcfae24887ee940e8061c631d7d (diff) | |
| download | scintilla-mirror-ca79b65eea2653ecbf62eb0f1d0caf4ff6dea601.tar.gz | |
Synchronizing LongTerm3 with default.
Ideally this covers anything missed during the backport process.
Diffstat (limited to 'src/EditView.cxx')
| -rw-r--r-- | src/EditView.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx index 6850d0964..c16f25ac6 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -59,7 +59,7 @@ using namespace Scintilla; -static inline bool IsControlCharacter(int ch) { +static constexpr bool IsControlCharacter(int ch) noexcept { // iscntrl returns true for lots of chars > 127 which are displayable return ch >= 0 && ch < ' '; } @@ -1563,6 +1563,7 @@ static void DrawMarkUnderline(Surface *surface, const EditModel &model, const Vi marks >>= 1; } } + static void DrawTranslucentSelection(Surface *surface, const EditModel &model, const ViewStyle &vsDraw, const LineLayout *ll, Sci::Line line, PRectangle rcLine, int subLine, Range lineRange, int xStart) { if ((vsDraw.selAlpha != SC_ALPHA_NOALPHA) || (vsDraw.selAdditionalAlpha != SC_ALPHA_NOALPHA)) { |
