Please check if the PR fulfills these requirements
[x] It's submitted to right branch according to our branching model
[x] It's right issue type on title
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[ ] It does not introduce a breaking change or has description for the breaking change
Description
Fixed an issue where update history in DataManger was missing when using the setRows API.
This issue was caused by two mistakes.
To efficiently update the update history, when looking for consecutive row indices, we checked for consecutive using the object itself, not the rowIndex property of the IndexedRow object.
When removing old update history using consecutive rowIndexes of the rows being updated, the starting index was set without considering the number of previously deleted elements, resulting in incorrectly deleting old update history.
Thank you for your contribution to TOAST UI product. š š āØ
Please check if the PR fulfills these requirements
fix #xxx[,#xxx]
, where "xxx" is the issue number)Description
rowIndex
property of theIndexedRow
object.Thank you for your contribution to TOAST UI product. š š āØ