Bookmark controls can overlap each other; that is, the same text can be shared by more than one bookmark. When you assign new text to one of the overlapping bookmarks, it will contain only the new text and the bookmarks will no longer overlap. The other bookmark will now contain only the text that was not shared between the original overlapping bookmarks.
The following table shows how the sentence “This is sample text.” is shared by two overlapping bookmarks.
Bookmark | Text |
|---|
Overlapping bookmarks | [this is {sample] text.} |
Bookmark1 | This is sample |
Bookmark2 | sample text. |
If you assign the new text "This is replacement." to Bookmark1, the bookmarks are no longer overlapping and Bookmark2 retains only the text that was not originally part of Bookmark1.
Bookmark | Text |
|---|
Two separate bookmarks | [this is replacement]{ text.} |
Bookmark1 | This is replacement |
Bookmark2 | text. |
If one bookmark is fully contained within another bookmark and you change the text of the outer bookmark, the inner bookmark is not deleted. However, the inner bookmark becomes an empty bookmark that is moved to the end of the outer bookmark. The following table shows how the sentence "This is sample text." is shared by a bookmark that is contained within another bookmark.
Bookmark | Text |
|---|
Overlapping bookmarks | [this is {sample} text.] |
Bookmark1 | This is sample text. |
Bookmark2 | sample |
If you assign the new text "This is replacement." to Bookmark1, the bookmarks are no longer overlapping and Bookmark2 becomes an empty bookmark that is located at the end of Bookmark1.
Bookmark | Text |
|---|
Two separate bookmarks | [this is replacement.]{} |
Bookmark1 | This is replacement. |
Bookmark2 |
<empty>
|