aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-06-11 10:08:29 +1000
committerNeil <nyamatongwe@gmail.com>2020-06-11 10:08:29 +1000
commit877def4f243e1ef5eb39a6132f3969844e00be95 (patch)
tree5041a5f52f7d38c026d594f53d3fabc813205221 /src/EditView.h
parentc8136baf0e923ea16cb5e75d75539ca61129925a (diff)
downloadscintilla-mirror-877def4f243e1ef5eb39a6132f3969844e00be95.tar.gz
Backport: Use noexcept where safe and maintainable.
Backport of changeset 8300:266c8247814e.
Diffstat (limited to 'src/EditView.h')
-rw-r--r--src/EditView.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/EditView.h b/src/EditView.h
index 2a2ca84d3..5f2950dc5 100644
--- a/src/EditView.h
+++ b/src/EditView.h
@@ -102,10 +102,10 @@ public:
bool LinesOverlap() const noexcept;
void ClearAllTabstops() noexcept;
- XYPOSITION NextTabstopPos(Sci::Line line, XYPOSITION x, XYPOSITION tabWidth) const;
- bool ClearTabstops(Sci::Line line);
+ XYPOSITION NextTabstopPos(Sci::Line line, XYPOSITION x, XYPOSITION tabWidth) const noexcept;
+ bool ClearTabstops(Sci::Line line) noexcept;
bool AddTabstop(Sci::Line line, int x);
- int GetNextTabstop(Sci::Line line, int x) const;
+ int GetNextTabstop(Sci::Line line, int x) const noexcept;
void LinesAddedOrRemoved(Sci::Line lineOfPos, Sci::Line linesAdded);
void DropGraphics(bool freeObjects);