Reset line editor display pos when the text is reset

This commit is contained in:
Maxime Coste 2016-03-15 13:55:01 +00:00
parent e82c3410a5
commit 5fe2872904

View File

@ -441,6 +441,7 @@ public:
{
m_line = std::move(line);
m_cursor_pos = m_line.char_length();
m_display_pos = 0;
}
const String& line() const { return m_line; }