Skip to content

Fix mark handling in katedocument.cpp

Waqar Ahmed requested to merge work/fix-marks-regeression into master

This reverts !158 (9eebf610) which is not a good idea.

mark->line++ leads to updating the mark in m_marks and hence on the next iteration we never get the correct mark and end up leaking..

Signed-off-by: Waqar Ahmed waqar.17a@gmail.com

Edited by Waqar Ahmed

Merge request reports