Buffer: add comment for clamp
This commit is contained in:
parent
711c05b81e
commit
4ae2fcffbd
|
@ -137,7 +137,8 @@ public:
|
|||
BufferIterator iterator_at(const BufferCoord& line_and_column) 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; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user