aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/EditView.h')
-rw-r--r--src/EditView.h2
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);