diff options
author | Neil <nyamatongwe@gmail.com> | 2020-03-19 10:15:00 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-03-19 10:15:00 +1100 |
commit | ab6f5ef5cea7a32880f806ff84a1d2d426e1360f (patch) | |
tree | d83e85ae275300109590362cdd498bf00b4d626c /src/EditModel.h | |
parent | 63e0fd2c6b10f4736f669e90f87baf39308afc34 (diff) | |
download | scintilla-mirror-ab6f5ef5cea7a32880f806ff84a1d2d426e1360f.tar.gz |
Use noexcept in EditModel.
Diffstat (limited to 'src/EditModel.h')
-rw-r--r-- | src/EditModel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/EditModel.h b/src/EditModel.h index 9e2f6d94d..733ccd82c 100644 --- a/src/EditModel.h +++ b/src/EditModel.h @@ -18,7 +18,7 @@ public: bool on; int period; - Caret(); + Caret() noexcept; }; class EditModel { @@ -64,8 +64,8 @@ public: virtual Point GetVisibleOriginInMain() const = 0; virtual Sci::Line LinesOnScreen() const = 0; virtual Range GetHotSpotRange() const noexcept = 0; - bool BidirectionalEnabled() const; - bool BidirectionalR2L() const; + bool BidirectionalEnabled() const noexcept; + bool BidirectionalR2L() const noexcept; void SetDefaultFoldDisplayText(const char *text); const char *GetDefaultFoldDisplayText() const noexcept; const char *GetFoldDisplayText(Sci::Line lineDoc) const; |