Buffer: add comment for clamp

This commit is contained in:
Maxime Coste 2011-12-05 19:21:11 +00:00
parent 711c05b81e
commit 4ae2fcffbd

View File

@ -137,7 +137,8 @@ public:
BufferIterator iterator_at(const BufferCoord& line_and_column) const; BufferIterator iterator_at(const BufferCoord& line_and_column) const;
BufferCoord line_and_column_at(const BufferIterator& iterator) const; BufferCoord line_and_column_at(const BufferIterator& iterator) const;
BufferCoord clamp(const BufferCoord& line_and_column) const; // returns nearest valid coordinates from given ones
BufferCoord clamp(const BufferCoord& line_and_column) const;
const std::string& name() const { return m_name; } const std::string& name() const { return m_name; }