diff options
Diffstat (limited to 'src/Document.h')
| -rw-r--r-- | src/Document.h | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/src/Document.h b/src/Document.h index 0482c6c0e..d4a950ea5 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;  	} | 
