Fix scrolling BufferView past empty lines
This commit is contained in:
1 parent
d2fa28c5e1
commit
55dc13d729
2 files changed
+32
No files matched your search
@@ -401,6 +401,7 @@ void BufferView::move_forward_to_screen_position(
|
||||
std::shared_ptr<Buffer::Iterator> line, int target_row_offset,
|
||||
bool allow_eol)
|
||||
{
|
||||
*m_iterator = *line;
|
||||
for (auto it = horiz_iter(line); it.is_valid(); it++)
|
||||
{
|
||||
if ((allow_eol || (!it.is_eol())) &&
|
||||
|
||||
Reference in new issue
Block a user