Acrobat SDK 10 bookmark creation edit mode
I have a acrobat plugin which creates bookmarks based on some criteria. I'm facing an abnormal behavior in acrobat 10. bookmarks are created correctly but if ran the same code again and again the bookmark tree gets distorted. some of the newly created bookmarks show the Edit mode rectangle on them which goes away if I click here and there in the tree. is there any way to refresh the bookmark pane so that bookmarks can render correctly. I'm using the standard call to create bookmarks like PDBookmarkAddNewChild and PDBookmarkAddNewSibling.
navigating in the tree with arrow keys or pressing the escape key removes the rectangle and the original heading shows up.

