Created attachment 170438 [details] attachment #139963 [details] after disabling deletions-in-margin mode This is a followup to bug #115815 When a comment is added to a range of deleted text and deletions-in-margin mode is activated and deactivated then the range of the comment is lost and it’s reduced to a point of text. Steps to reproduce: 1. Open attachment #139963 [details] 2. Select the deleted word “Bilal” and add a comment on it. 3. In the Track Changes toolbar turn on and off the Deletion on Margins mode Actual results: The comment is not on the deleted word “Bilal” but at the end of it. Expected results: The comment range is retained. LibreOffice details: Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 2fb274950e5207ca55f4f52325fb522bd44024e1 CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL