aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Document.h b/src/Document.h
index f662dc993..4e376a75b 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -137,23 +137,23 @@ public:
firstChangeableLineAfter = -1;
}
- bool NeedsDrawing(Sci::Line line) const {
+ bool NeedsDrawing(Sci::Line line) const noexcept {
return isEnabled && (line <= firstChangeableLineBefore || line >= firstChangeableLineAfter);
}
- bool IsFoldBlockHighlighted(Sci::Line line) const {
+ bool IsFoldBlockHighlighted(Sci::Line line) const noexcept {
return isEnabled && beginFoldBlock != -1 && beginFoldBlock <= line && line <= endFoldBlock;
}
- bool IsHeadOfFoldBlock(Sci::Line line) const {
+ bool IsHeadOfFoldBlock(Sci::Line line) const noexcept {
return beginFoldBlock == line && line < endFoldBlock;
}
- bool IsBodyOfFoldBlock(Sci::Line line) const {
+ bool IsBodyOfFoldBlock(Sci::Line line) const noexcept {
return beginFoldBlock != -1 && beginFoldBlock < line && line < endFoldBlock;
}
- bool IsTailOfFoldBlock(Sci::Line line) const {
+ bool IsTailOfFoldBlock(Sci::Line line) const noexcept {
return beginFoldBlock != -1 && beginFoldBlock < line && line == endFoldBlock;
}