aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r--src/CellBuffer.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h
index 065c73795..20e81def6 100644
--- a/src/CellBuffer.h
+++ b/src/CellBuffer.h
@@ -134,24 +134,24 @@ public:
~CellBuffer();
/// Retrieving positions outside the range of the buffer works and returns 0
- char CharAt(Sci::Position position) const;
- unsigned char UCharAt(Sci::Position position) const;
+ char CharAt(Sci::Position position) const noexcept;
+ unsigned char UCharAt(Sci::Position position) const noexcept;
void GetCharRange(char *buffer, Sci::Position position, Sci::Position lengthRetrieve) const;
- char StyleAt(Sci::Position position) const;
+ char StyleAt(Sci::Position position) const noexcept;
void GetStyleRange(unsigned char *buffer, Sci::Position position, Sci::Position lengthRetrieve) const;
const char *BufferPointer();
const char *RangePointer(Sci::Position position, Sci::Position rangeLength);
Sci::Position GapPosition() const;
- Sci::Position Length() const;
+ Sci::Position Length() const noexcept;
void Allocate(Sci::Position newSize);
int GetLineEndTypes() const { return utf8LineEnds; }
void SetLineEndTypes(int utf8LineEnds_);
bool ContainsLineEnd(const char *s, Sci::Position length) const;
void SetPerLine(PerLine *pl);
- Sci::Line Lines() const;
- Sci::Position LineStart(Sci::Line line) const;
- Sci::Line LineFromPosition(Sci::Position pos) const;
+ Sci::Line Lines() const noexcept;
+ Sci::Position LineStart(Sci::Line line) const noexcept;
+ Sci::Line LineFromPosition(Sci::Position pos) const noexcept;
void InsertLine(Sci::Line line, Sci::Position position, bool lineStart);
void RemoveLine(Sci::Line line);
const char *InsertString(Sci::Position position, const char *s, Sci::Position insertLength, bool &startSequence);