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 | dd9ba78cf763ece6c5e3762ca852cd87e5be7fa2 (patch) | |
| tree | 83d9a067f19c6d699685afc895ec76ee03f0ad56 /src/EditView.h | |
| parent | 4023128077c54e37ea9c35e2ab56abf10b36c9ba (diff) | |
| download | scintilla-mirror-dd9ba78cf763ece6c5e3762ca852cd87e5be7fa2.tar.gz | |
Backport: Minor improvements - noexcept, constexpr, cast removal.
Backport of changeset 8012:48f82fb06505.
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 3addfbab8..2a2ca84d3 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,  	const char *s, int len, DrawPhase phase); | 
