Hello. I want to know what is the “region_key” for “mark”.
I can get the “region_key” for “bookmarks” as follows.
bk_regions = view.get_regions("bookmarks")
The reason is I want to track where my mark is.
- mark a location
- select the surrounding text
- replace the mark location with
_completion_in_here_
, copy the text - throw that text into GPT, get the completions.