TextBox::textStartPos can be const.

This commit is contained in:
Mario J. Rugiero 2014-12-20 01:05:49 -03:00 committed by Mathias Gumz
parent 6aff2f7c28
commit dce4721c84

View file

@ -63,7 +63,7 @@ public:
const Font &font() const { return *m_font; }
GC gc() const { return m_gc; }
int cursorPosition() const { return m_cursor_pos; }
int textStartPos(){ return m_start_pos; }
int textStartPos() const { return m_start_pos; }
unsigned int findEmptySpaceLeft();
unsigned int findEmptySpaceRight();