From 2d54a7818e1e372f7f110e284b45c11091f39785 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 12 Oct 2011 18:54:48 +0000 Subject: [PATCH] Window: privatize coordinates conversion methods --- src/window.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/window.hh b/src/window.hh index 98e208a8a..7a45ed8a1 100644 --- a/src/window.hh +++ b/src/window.hh @@ -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;