Do you want to: Suggest a feature
I would like to request a new API method for plugins in the document editor:
GetBookmarksInRange(range: ApiRange) -> string[]
Return all bookmark names found within the given ApiRange[]
list, ordered by their internal w:id
(document order).
Purpose:
Essential when parsing a range (e.g., a table cell or a paragraph) to:
- Collect all bookmarks inside it,
- Display or act upon them in logical document order,
Additional Information:
These additions would greatly enhance plugin development by enabling real-time, context-aware interactions with bookmarks, paragraphs, and ranges — without manual index matching or inefficient scanning.