TextBox::textStartPos can be const.
Mario J. Rugiero mrugiero@gmail.com
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/FbTk/TextBox.hh
→
src/FbTk/TextBox.hh
@@ -63,7 +63,7 @@ const FbString &text() const { return m_text.logical(); }
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();