DisplayAtom: add splittable methode

This commit is contained in:
Maxime Coste 2011-10-17 19:01:04 +00:00
parent 79ee27dae7
commit 2badb9d708

View File

@ -76,6 +76,8 @@ struct DisplayAtom
BufferIterator iterator_at(const DisplayCoord& coord) const; BufferIterator iterator_at(const DisplayCoord& coord) const;
DisplayCoord line_and_column_at(const BufferIterator& iterator) const; DisplayCoord line_and_column_at(const BufferIterator& iterator) const;
bool splitable() const { return m_replacement_text.empty(); }
private: private:
friend class DisplayBuffer; friend class DisplayBuffer;