There is a inconsistent behavior on how the bookmark indicator is deleted when deleting a line:
The bookmark indicator is deleted when a non-empty line is deleted but it is not deleted if it is on a empty line and when the empty line is deleted.
Steps to repro:
1. Lauch the Syntax Editor sample, go to Syntax Editor - General QuickStarts\Indicators - Bookmark
2. Put the caret at empty line 5 and click the "Toggle Bookmark" toolbar button to add a bookmark on the line 5
3. Click the line selection margin at line 5 to select the line 5
4. Delete the line 5. The bookmark indicator is still there.
But if
2. Put the caret at non-empty line 6 and click the "Toggle Bookmark" toolbar button to add a bookmark on the line 6
3. Click the line selection margin at line 6 to select the line 6
4. Delete the line 6. The bookmark indicator is deleted.
How can I get a consistent behavior of deleting the bookmark when a line is deleted regardless the line is empty or not?