diff options
author | Neil <nyamatongwe@gmail.com> | 2020-03-19 09:22:10 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-03-19 09:22:10 +1100 |
commit | 63e0fd2c6b10f4736f669e90f87baf39308afc34 (patch) | |
tree | 5fed3d0d4a2d6312161b429b82a488a3ff917f4b /src/EditView.h | |
parent | 2fe586ccb1828df480fbc398b6f34e0a352d202a (diff) | |
download | scintilla-mirror-63e0fd2c6b10f4736f669e90f87baf39308afc34.tar.gz |
Minor improvements - noexcept, constexpr, cast removal.
Diffstat (limited to 'src/EditView.h')
-rw-r--r-- | src/EditView.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EditView.h b/src/EditView.h index 90771c2ba..bf62f011d 100644 --- a/src/EditView.h +++ b/src/EditView.h @@ -33,7 +33,7 @@ enum DrawPhase { drawAll = 0x1FF }; -bool ValidStyledText(const ViewStyle &vs, size_t styleOffset, const StyledText &st); +bool ValidStyledText(const ViewStyle &vs, size_t styleOffset, const StyledText &st) noexcept; int WidestLineWidth(Surface *surface, const ViewStyle &vs, int styleOffset, const StyledText &st); void DrawTextNoClipPhase(Surface *surface, PRectangle rc, const Style &style, XYPOSITION ybase, std::string_view text, DrawPhase phase); |