diff options
author | Neil <nyamatongwe@gmail.com> | 2020-06-11 10:08:29 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-06-11 10:08:29 +1000 |
commit | a2931677c6e28aad5ddd56d82e5a8814746dc5fd (patch) | |
tree | d8c143a1ebcb4e91717d241c38ec43bf1da9e6ac /src/EditView.h | |
parent | b34e1a6efefd7b39f14daa867510b2e2d453a0bb (diff) | |
download | scintilla-mirror-a2931677c6e28aad5ddd56d82e5a8814746dc5fd.tar.gz |
Use noexcept where safe and maintainable.
Diffstat (limited to 'src/EditView.h')
-rw-r--r-- | src/EditView.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/EditView.h b/src/EditView.h index bf62f011d..6eb63a686 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); |