Window: privatize coordinates conversion methods
This commit is contained in:
parent
80e7bac622
commit
2d54a7818e
|
@ -54,9 +54,6 @@ public:
|
|||
|
||||
Buffer& buffer() const { return m_buffer; }
|
||||
|
||||
BufferCoord window_to_buffer(const WindowCoord& window_pos) const;
|
||||
WindowCoord buffer_to_window(const BufferCoord& buffer_pos) const;
|
||||
|
||||
BufferIterator iterator_at(const WindowCoord& window_pos) const;
|
||||
WindowCoord line_and_column_at(const BufferIterator& iterator) const;
|
||||
|
||||
|
@ -91,6 +88,9 @@ private:
|
|||
void insert_noundo(const String& string);
|
||||
void append_noundo(const String& string);
|
||||
|
||||
BufferCoord window_to_buffer(const WindowCoord& window_pos) const;
|
||||
WindowCoord buffer_to_window(const BufferCoord& buffer_pos) const;
|
||||
|
||||
friend class IncrementalInserter;
|
||||
IncrementalInserter* m_current_inserter;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user