fix BufferIterator::update when removing an end of line
This commit is contained in:
parent
7f425c4467
commit
2cd318e50d
|
@ -110,6 +110,8 @@ inline void BufferIterator::update(const Modification& modification)
|
|||
else
|
||||
{
|
||||
m_coord.line -= measure.line;
|
||||
if (measure.line > 0 and pos.line() == m_coord.line)
|
||||
m_coord.column += pos.column();
|
||||
if (end.line == m_coord.line)
|
||||
m_coord.column -= measure.column;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user