
Hi Actipro,
Using build 634, the problem is fixed when emptying a single line, whihc means the bookmark will be maintained when selecting a line content but not the whole line and deleting the line content.
But the bookmark still disapppear for the last line whose content is fully selected but not the whole line in the multiple line selection scenario, which cause inconsistent behavior too.
Steps to repro:
1. Lauch the Syntax Editor sample, go to Syntax Editor - General QuickStarts\Indicators - Bookmark
2. Put the caret at line 4 and click the "Toggle Bookmark" toolbar button to add a bookmark on the line 4
3. Select the whole line 3 and full content of line 4 (till the end, last character ".", of line 4)
4. Delete the selection
5. The line 4 becomes line 3 and empty but the bookmark disappears.
But in step 3, if only select the full content of line 4 and then delete the selection. The line 4 becomes empty but the bookmark is there as expect.
Could you fix the problem in the multiple line selection scenario to get the consistent behavior as that of emptying a single line?