BufferView: cursor_move() takes a character argument
This commit is contained in:
1 parent
739edfd6f7
commit
2d559db7d0
6 files changed
+91
-91
No files matched your search
@@ -101,7 +101,7 @@ void BufferView::update()
|
||||
}
|
||||
}
|
||||
|
||||
bool BufferView::cursor_move(CursorMovement which, bool allow_eol)
|
||||
bool BufferView::cursor_move(CursorMovement which, uint32_t c, bool allow_eol)
|
||||
{
|
||||
bool moved = false;
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ public:
|
||||
{
|
||||
return BufferLineWalker(m_buffer, start_of_line, m_width, m_character_width_determiner);
|
||||
}
|
||||
bool cursor_move(CursorMovement which, bool allow_eol);
|
||||
bool cursor_move(CursorMovement which, uint32_t c, bool allow_eol);
|
||||
int cursor_screen_row() const { return m_cursor_screen_row; }
|
||||
int cursor_screen_column() const { return m_cursor_screen_column; }
|
||||
int cursor_virtual_column() const { return m_cursor_virtual_column; }
|
||||
|
||||
Reference in new issue
Block a user