fix PieceTable::Cursor::next_line()
This commit is contained in:
parent
6e5489c88e
commit
bc4c5b5c98
@ -285,12 +285,7 @@ PieceTable::Piece * PieceTable::Cursor::next_line() const
|
|||||||
{
|
{
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
p = p->next;
|
return p->next;
|
||||||
while ((!p->eol()) && (p->next != iterator.piece_table->end_piece))
|
|
||||||
{
|
|
||||||
p = p->next;
|
|
||||||
}
|
|
||||||
return p;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void PieceTable::Cursor::init_column()
|
void PieceTable::Cursor::init_column()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user